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
Modifier and TypeFieldDescriptionstatic final int
private final boolean[]
static final int
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
(CompoundTag p_191979_) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addAdditionalSaveData
(StructurePieceSerializationContext p_191989_, CompoundTag p_191990_) void
postProcess
(WorldGenLevel p_191981_, StructureFeatureManager p_191982_, ChunkGenerator p_191983_, Random p_191984_, BoundingBox p_191985_, ChunkPos p_191986_, BlockPos p_191987_) Methods inherited from class net.minecraft.world.level.levelgen.structure.ScatteredFeaturePiece
updateAverageGroundHeight, updateHeightPositionToLowestGroundHeight
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, getRotation, getType, getWorldPos, getWorldX, getWorldY, getWorldZ, isCloseToChunk, isInterior, isReplaceableByStructures, makeBoundingBox, maybeGenerateBlock, move, placeBlock, reorient, setOrientation
-
Field Details
-
WIDTH
public static final int WIDTH- See Also:
-
DEPTH
public static final int DEPTH- See Also:
-
hasPlacedChest
private final boolean[] hasPlacedChest
-
-
Constructor Details
-
DesertPyramidPiece
-
DesertPyramidPiece
-
-
Method Details
-
addAdditionalSaveData
protected void addAdditionalSaveData(StructurePieceSerializationContext p_191989_, CompoundTag p_191990_) - Overrides:
addAdditionalSaveData
in classScatteredFeaturePiece
-
postProcess
public void postProcess(WorldGenLevel p_191981_, StructureFeatureManager p_191982_, ChunkGenerator p_191983_, Random p_191984_, BoundingBox p_191985_, ChunkPos p_191986_, BlockPos p_191987_) - Specified by:
postProcess
in classStructurePiece
-