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.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
(StructureManager p_71199_, String p_71200_, BlockPos p_71201_, Rotation p_71202_, boolean p_71203_) EndCityPiece
(StructureManager p_191992_, CompoundTag p_191993_) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addAdditionalSaveData
(StructurePieceSerializationContext p_191995_, CompoundTag p_191996_) protected void
handleDataMarker
(String p_71210_, BlockPos p_71211_, ServerLevelAccessor p_71212_, Random p_71213_, BoundingBox p_71214_) private static ResourceLocation
makeResourceLocation
(String p_162425_) private static StructurePlaceSettings
makeSettings
(boolean p_162430_, Rotation p_162431_) protected ResourceLocation
Methods inherited from class net.minecraft.world.level.levelgen.structure.TemplateStructurePiece
getRotation, move, postProcess
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, getNoiseEffect, getOrientation, getRandomHorizontalDirection, getType, getWorldPos, getWorldX, getWorldY, getWorldZ, isCloseToChunk, isInterior, isReplaceableByStructures, makeBoundingBox, maybeGenerateBlock, placeBlock, reorient, setOrientation
-
Constructor Details
-
EndCityPiece
public EndCityPiece(StructureManager p_71199_, String p_71200_, BlockPos p_71201_, Rotation p_71202_, boolean p_71203_) -
EndCityPiece
-
-
Method Details
-
makeSettings
-
makeTemplateLocation
- Overrides:
makeTemplateLocation
in classTemplateStructurePiece
-
makeResourceLocation
-
addAdditionalSaveData
protected void addAdditionalSaveData(StructurePieceSerializationContext p_191995_, CompoundTag p_191996_) - Overrides:
addAdditionalSaveData
in classTemplateStructurePiece
-
handleDataMarker
protected void handleDataMarker(String p_71210_, BlockPos p_71211_, ServerLevelAccessor p_71212_, Random p_71213_, BoundingBox p_71214_) - Specified by:
handleDataMarker
in classTemplateStructurePiece
-