Expand description
Mineshaft. Vanilla’s MineshaftPieces DFS: each child’s addChildren runs
immediately after creation, before processing the next sibling.
Structs§
- Mineshaft
Piece Data - One mineshaft piece in the generated tree.
- Mineshaft
Piece Payload - Placement payload shared by mineshaft start generation, persistence, and feature-stage procedural placement.
- Mineshaft
Result - Result of mineshaft generation.
- Mineshaft
Structure - Registered under
"minecraft:mineshaft". - Piece
Info 🔒 - Pieces 🔒
Enums§
- Dir 🔒
- Mineshaft
Piece Kind - Piece-specific mineshaft placement state.
- Mineshaft
Type - Mineshaft variant type.
- Piece
Type - Mineshaft piece kind — produced by the DFS and mapped back to vanilla’s
StructurePieceTyperegistry IDs for save-format parity.
Constants§
Functions§
- corridor_
add_ 🔒children - corridor_
num_ 🔒sections - corridor_
payload 🔒 - create_
room_ 🔒bb - crossing_
add_ 🔒children - crossing_
payload 🔒 - find_
generation_ point - Generates mineshaft pieces and returns the biome check position + piece data.
- generate_
and_ 🔒add - move_bb 🔒
- offset_
piece_ 🔒kind - push_
piece 🔒 - room_
add_ 🔒children - stairs_
add_ 🔒children - stairs_
payload 🔒 - try_
add_ 🔒corridor - try_
add_ 🔒crossing - try_
add_ 🔒stairs - union_
bb 🔒