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.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
(StructureManager p_191998_, CompoundTag p_191999_) IglooPiece
(StructureManager p_71244_, ResourceLocation p_71245_, BlockPos p_71246_, Rotation p_71247_, int p_71248_) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addAdditionalSaveData
(StructurePieceSerializationContext p_192009_, CompoundTag p_192010_) protected void
handleDataMarker
(String p_71260_, BlockPos p_71261_, ServerLevelAccessor p_71262_, Random p_71263_, BoundingBox p_71264_) private static BlockPos
makePosition
(ResourceLocation p_162453_, BlockPos p_162454_, int p_162455_) private static StructurePlaceSettings
makeSettings
(Rotation p_162447_, ResourceLocation p_162448_) void
postProcess
(WorldGenLevel p_192001_, StructureFeatureManager p_192002_, ChunkGenerator p_192003_, Random p_192004_, BoundingBox p_192005_, ChunkPos p_192006_, BlockPos p_192007_) Methods inherited from class net.minecraft.world.level.levelgen.structure.TemplateStructurePiece
getRotation, makeTemplateLocation, move
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
-
IglooPiece
public IglooPiece(StructureManager p_71244_, ResourceLocation p_71245_, BlockPos p_71246_, Rotation p_71247_, int p_71248_) -
IglooPiece
-
-
Method Details
-
makeSettings
-
makePosition
-
addAdditionalSaveData
protected void addAdditionalSaveData(StructurePieceSerializationContext p_192009_, CompoundTag p_192010_) - Overrides:
addAdditionalSaveData
in classTemplateStructurePiece
-
handleDataMarker
protected void handleDataMarker(String p_71260_, BlockPos p_71261_, ServerLevelAccessor p_71262_, Random p_71263_, BoundingBox p_71264_) - Specified by:
handleDataMarker
in classTemplateStructurePiece
-
postProcess
public void postProcess(WorldGenLevel p_192001_, StructureFeatureManager p_192002_, ChunkGenerator p_192003_, Random p_192004_, BoundingBox p_192005_, ChunkPos p_192006_, BlockPos p_192007_) - Overrides:
postProcess
in classTemplateStructurePiece
-