Class EndCityPieces.EndCityPiece
java.lang.Object
net.minecraft.world.level.levelgen.structure.StructurePiece
net.minecraft.world.level.levelgen.structure.TemplateStructurePiece
net.minecraft.world.level.levelgen.structure.structures.EndCityPieces.EndCityPiece
- Enclosing class:
- EndCityPieces
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.level.levelgen.structure.StructurePiece
StructurePiece.BlockSelector
-
Field Summary
Fields inherited from class net.minecraft.world.level.levelgen.structure.TemplateStructurePiece
placeSettings, template, templateName, templatePosition
Fields inherited from class net.minecraft.world.level.levelgen.structure.StructurePiece
boundingBox, CAVE_AIR, genDepth
-
Constructor Summary
ConstructorDescriptionEndCityPiece
(StructureTemplateManager p_227491_, String p_227492_, BlockPos p_227493_, Rotation p_227494_, boolean p_227495_) EndCityPiece
(StructureTemplateManager p_227497_, CompoundTag p_227498_) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addAdditionalSaveData
(StructurePieceSerializationContext p_227500_, CompoundTag p_227501_) protected void
handleDataMarker
(String p_227505_, BlockPos p_227506_, ServerLevelAccessor p_227507_, RandomSource p_227508_, BoundingBox p_227509_) private static ResourceLocation
makeResourceLocation
(String p_227503_) private static StructurePlaceSettings
makeSettings
(boolean p_227514_, Rotation p_227515_) protected ResourceLocation
Methods inherited from class net.minecraft.world.level.levelgen.structure.TemplateStructurePiece
getRotation, move, placeSettings, postProcess, template, templatePosition
Methods inherited from class net.minecraft.world.level.levelgen.structure.StructurePiece
addChildren, canBeReplaced, createBoundingBox, createChest, createChest, createDispenser, createTag, fillColumnDown, findCollisionPiece, generateAirBox, generateBox, generateBox, generateBox, generateBox, generateMaybeBox, generateUpperHalfSphere, getBlock, getBoundingBox, getGenDepth, getLocatorPosition, getMirror, getOrientation, getRandomHorizontalDirection, getType, getWorldPos, getWorldX, getWorldY, getWorldZ, isCloseToChunk, isInterior, isReplaceableByStructures, makeBoundingBox, maybeGenerateBlock, placeBlock, reorient, setGenDepth, setOrientation
-
Constructor Details
-
EndCityPiece
public EndCityPiece(StructureTemplateManager p_227491_, String p_227492_, BlockPos p_227493_, Rotation p_227494_, boolean p_227495_) -
EndCityPiece
-
-
Method Details
-
makeSettings
-
makeTemplateLocation
- Overrides:
makeTemplateLocation
in classTemplateStructurePiece
-
makeResourceLocation
-
addAdditionalSaveData
protected void addAdditionalSaveData(StructurePieceSerializationContext p_227500_, CompoundTag p_227501_) - Overrides:
addAdditionalSaveData
in classTemplateStructurePiece
-
handleDataMarker
protected void handleDataMarker(String p_227505_, BlockPos p_227506_, ServerLevelAccessor p_227507_, RandomSource p_227508_, BoundingBox p_227509_) - Specified by:
handleDataMarker
in classTemplateStructurePiece
-