Expand description
Stronghold piece generation. Vanillaβs StrongholdPieces recursive BFS;
produces bounding boxes only (no blocks).
StructsΒ§
- Piece π
- Piece
Weight π - State π
- Stronghold
Generated Piece - One generated stronghold piece.
- Stronghold
Structure - Registered under
"minecraft:stronghold". Biome check at chunk center, surface Y.
EnumsΒ§
- PT π
- Stronghold
Piece Data - Vanilla stronghold piece runtime state needed by
postProcess. - Stronghold
Small Door Type - Vanilla
StrongholdPiece.SmallDoorType.
ConstantsΒ§
- HORIZONTAL_
DIRS π - LOWEST_
Y π - MAX_
DEPTH π - MAX_
DISTANCE π
FunctionsΒ§
- add_
children π - create_
piece π - find_
box π - fwd π
- gen_
and_ πadd - generate_
piece π - generate_
pieces - All stronghold pieces for a chunk. Vanilla calls
setOrientation(direction)on every stronghold piece, and threadsgenDepththrough the DFS via each subclassβscreatePiecehelper. - is_ok π
- left π
- orient_
box π - Vanillaβs
BoundingBox.orientBox. - random_
horizontal π - right π
- weights π