Class EndCityPieces.CityTemplate
java.lang.Object
net.minecraft.world.gen.feature.structure.StructurePiece
net.minecraft.world.gen.feature.structure.TemplateStructurePiece
net.minecraft.world.gen.feature.structure.EndCityPieces.CityTemplate
- Enclosing class:
- EndCityPieces
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.gen.feature.structure.StructurePiece
StructurePiece.BlockSelector
-
Field Summary
Modifier and TypeFieldDescriptionprivate final boolean
private final Rotation
private final String
Fields inherited from class net.minecraft.world.gen.feature.structure.TemplateStructurePiece
placeSettings, template, templatePosition
Fields inherited from class net.minecraft.world.gen.feature.structure.StructurePiece
boundingBox, CAVE_AIR, genDepth
-
Constructor Summary
ConstructorDescriptionCityTemplate
(TemplateManager p_i47214_1_, String p_i47214_2_, BlockPos p_i47214_3_, Rotation p_i47214_4_, boolean p_i47214_5_) CityTemplate
(TemplateManager p_i50598_1_, CompoundNBT p_i50598_2_) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addAdditionalSaveData
(CompoundNBT p_143011_1_) protected void
handleDataMarker
(String p_186175_1_, BlockPos p_186175_2_, IServerWorld p_186175_3_, Random p_186175_4_, MutableBoundingBox p_186175_5_) private void
loadTemplate
(TemplateManager p_191085_1_) Methods inherited from class net.minecraft.world.gen.feature.structure.TemplateStructurePiece
getRotation, move, postProcess, setup
Methods inherited from class net.minecraft.world.gen.feature.structure.StructurePiece
addChildren, createChest, createChest, createDispenser, createTag, edgesLiquid, fillColumnDown, findCollisionPiece, generateAirBox, generateBox, generateBox, generateMaybeBox, generateUpperHalfSphere, getBlock, getBoundingBox, getGenDepth, getOrientation, getType, getWorldX, getWorldY, getWorldZ, isCloseToChunk, isInterior, maybeGenerateBlock, placeBlock, reorient, setOrientation
-
Field Details
-
templateName
-
rotation
-
overwrite
private final boolean overwrite
-
-
Constructor Details
-
CityTemplate
public CityTemplate(TemplateManager p_i47214_1_, String p_i47214_2_, BlockPos p_i47214_3_, Rotation p_i47214_4_, boolean p_i47214_5_) -
CityTemplate
-
-
Method Details
-
loadTemplate
-
addAdditionalSaveData
- Overrides:
addAdditionalSaveData
in classTemplateStructurePiece
-
handleDataMarker
protected void handleDataMarker(String p_186175_1_, BlockPos p_186175_2_, IServerWorld p_186175_3_, Random p_186175_4_, MutableBoundingBox p_186175_5_) - Specified by:
handleDataMarker
in classTemplateStructurePiece
-