Expand description
End city. Vanilla’s EndCityPieces: recursive template-based piece generation
(base → towers → bridges → house towers/ships/fat towers), depth ≤ 8.
Structs§
- EndCity
Piece - End-city piece (template name, world template-origin, rotation).
- EndCity
Structure - Registered under
"minecraft:end_city". Consumes rotation RNG first, then probes a rotation-dependent 5×5lowestY(reject <60). Biome-checks at the final position. - Shared
State 🔒 - Mirrors vanilla’s
TOWER_BRIDGE_GENERATOR.shipCreated.
Enums§
- Section
Kind 🔒 - Produces child pieces for a given section-generator kind.
Constants§
Functions§
- add_
piece 🔒 - Vanilla’s
addPiece. With pivot=ZERO and mirror=NONE,calculateConnectedPositionreduces torotate(offset, parent.rotation)added to the parent’s template position. - generate_
fat_ 🔒tower - generate_
house_ 🔒tower - generate_
tower 🔒 - generate_
tower_ 🔒bridge - make_
end_ 🔒city_ structure_ piece - piece_
bb 🔒 - recursive_
children 🔒 - start_
house_ tower - Entry point. Mirrors vanilla’s
EndCityPieces.startHouseTower. - template_
size 🔒