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(ServerLevel p_162441_, CompoundTag p_162442_)
IglooPiece(StructureManager p_71244_, ResourceLocation p_71245_, BlockPos p_71246_, Rotation p_71247_, int p_71248_)
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
addAdditionalSaveData(ServerLevel p_162444_, CompoundTag p_162445_)
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_)
boolean
postProcess(WorldGenLevel p_71250_, StructureFeatureManager p_71251_, ChunkGenerator p_71252_, Random p_71253_, BoundingBox p_71254_, ChunkPos p_71255_, BlockPos p_71256_)
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, createChest, createChest, createDispenser, createTag, fillColumnDown, 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
private static BlockPos makePosition(ResourceLocation p_162453_, BlockPos p_162454_, int p_162455_) -
addAdditionalSaveData
- 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 boolean postProcess(WorldGenLevel p_71250_, StructureFeatureManager p_71251_, ChunkGenerator p_71252_, Random p_71253_, BoundingBox p_71254_, ChunkPos p_71255_, BlockPos p_71256_)- Overrides:
postProcess
in classTemplateStructurePiece
-