Class IglooPieces.IglooPiece
java.lang.Object
net.minecraft.world.level.levelgen.structure.StructurePiece
net.minecraft.world.level.levelgen.structure.TemplateStructurePiece
net.minecraft.world.level.levelgen.structure.structures.IglooPieces.IglooPiece
- Enclosing class:
- IglooPieces
-
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
ConstructorDescriptionIglooPiece
(StructureTemplateManager p_227561_, CompoundTag p_227562_) IglooPiece
(StructureTemplateManager p_227555_, ResourceLocation p_227556_, BlockPos p_227557_, Rotation p_227558_, int p_227559_) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addAdditionalSaveData
(StructurePieceSerializationContext p_227579_, CompoundTag p_227580_) protected void
handleDataMarker
(String p_227582_, BlockPos p_227583_, ServerLevelAccessor p_227584_, RandomSource p_227585_, BoundingBox p_227586_) private static BlockPos
makePosition
(ResourceLocation p_227564_, BlockPos p_227565_, int p_227566_) private static StructurePlaceSettings
makeSettings
(Rotation p_227576_, ResourceLocation p_227577_) void
postProcess
(WorldGenLevel p_227568_, StructureManager p_227569_, ChunkGenerator p_227570_, RandomSource p_227571_, BoundingBox p_227572_, ChunkPos p_227573_, BlockPos p_227574_) Methods inherited from class net.minecraft.world.level.levelgen.structure.TemplateStructurePiece
getRotation, makeTemplateLocation, move, placeSettings, 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
-
IglooPiece
public IglooPiece(StructureTemplateManager p_227555_, ResourceLocation p_227556_, BlockPos p_227557_, Rotation p_227558_, int p_227559_) -
IglooPiece
-
-
Method Details
-
makeSettings
-
makePosition
-
addAdditionalSaveData
protected void addAdditionalSaveData(StructurePieceSerializationContext p_227579_, CompoundTag p_227580_) - Overrides:
addAdditionalSaveData
in classTemplateStructurePiece
-
handleDataMarker
protected void handleDataMarker(String p_227582_, BlockPos p_227583_, ServerLevelAccessor p_227584_, RandomSource p_227585_, BoundingBox p_227586_) - Specified by:
handleDataMarker
in classTemplateStructurePiece
-
postProcess
public void postProcess(WorldGenLevel p_227568_, StructureManager p_227569_, ChunkGenerator p_227570_, RandomSource p_227571_, BoundingBox p_227572_, ChunkPos p_227573_, BlockPos p_227574_) - Overrides:
postProcess
in classTemplateStructurePiece
-