Class DesertPyramidPiece
java.lang.Object
net.minecraft.world.level.levelgen.structure.StructurePiece
net.minecraft.world.level.levelgen.structure.ScatteredFeaturePiece
net.minecraft.world.level.levelgen.structure.DesertPyramidPiece
-
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.ScatteredFeaturePiece
depth, height, heightPosition, width
Fields inherited from class net.minecraft.world.level.levelgen.structure.StructurePiece
boundingBox, CAVE_AIR, genDepth
-
Constructor Summary
ConstructorDescriptionDesertPyramidPiece(Random p_71086_, int p_71087_, int p_71088_)
DesertPyramidPiece(ServerLevel p_162410_, CompoundTag p_162411_)
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
addAdditionalSaveData(ServerLevel p_162413_, CompoundTag p_162414_)
boolean
postProcess(WorldGenLevel p_71090_, StructureFeatureManager p_71091_, ChunkGenerator p_71092_, Random p_71093_, BoundingBox p_71094_, ChunkPos p_71095_, BlockPos p_71096_)
Methods inherited from class net.minecraft.world.level.levelgen.structure.ScatteredFeaturePiece
updateAverageGroundHeight
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, getRotation, getType, getWorldPos, getWorldX, getWorldY, getWorldZ, isCloseToChunk, isInterior, isReplaceableByStructures, makeBoundingBox, maybeGenerateBlock, move, placeBlock, reorient, setOrientation
-
Field Details
-
hasPlacedChest
private final boolean[] hasPlacedChest
-
-
Constructor Details
-
DesertPyramidPiece
-
DesertPyramidPiece
-
-
Method Details
-
addAdditionalSaveData
- Overrides:
addAdditionalSaveData
in classScatteredFeaturePiece
-
postProcess
public boolean postProcess(WorldGenLevel p_71090_, StructureFeatureManager p_71091_, ChunkGenerator p_71092_, Random p_71093_, BoundingBox p_71094_, ChunkPos p_71095_, BlockPos p_71096_)- Specified by:
postProcess
in classStructurePiece
-