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.structures.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
(CompoundTag p_227403_) DesertPyramidPiece
(RandomSource p_227399_, int p_227400_, int p_227401_) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addAdditionalSaveData
(StructurePieceSerializationContext p_227413_, CompoundTag p_227414_) private void
addCellar
(WorldGenLevel p_272769_, BoundingBox p_273155_) private void
addCellarRoom
(BlockPos p_272733_, WorldGenLevel p_273390_, BoundingBox p_273517_) private void
addCellarStairs
(BlockPos p_272997_, WorldGenLevel p_272699_, BoundingBox p_273559_) private void
placeCollapsedRoof
(WorldGenLevel p_273438_, BoundingBox p_273058_, int p_272638_, int p_272826_, int p_273026_, int p_272750_, int p_272639_) private void
placeCollapsedRoofPiece
(WorldGenLevel p_272965_, int p_272618_, int p_273415_, int p_273110_, BoundingBox p_272645_) private void
placeSand
(int p_273469_, int p_272983_, int p_273325_, BoundingBox p_272909_) private void
placeSandBox
(BoundingBox p_272934_, int p_273391_, int p_273481_, int p_273347_, int p_273463_, int p_272814_, int p_273011_) void
postProcess
(WorldGenLevel p_227405_, StructureManager p_227406_, ChunkGenerator p_227407_, RandomSource p_227408_, BoundingBox p_227409_, ChunkPos p_227410_, BlockPos p_227411_) 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, getOrientation, getRandomHorizontalDirection, getRotation, getType, getWorldPos, getWorldX, getWorldY, getWorldZ, isCloseToChunk, isInterior, isReplaceableByStructures, makeBoundingBox, maybeGenerateBlock, move, placeBlock, reorient, setGenDepth, setOrientation
-
Field Details
-
WIDTH
public static final int WIDTH- See Also:
-
DEPTH
public static final int DEPTH- See Also:
-
hasPlacedChest
private final boolean[] hasPlacedChest -
potentialSuspiciousSandWorldPositions
-
-
Constructor Details
-
DesertPyramidPiece
-
DesertPyramidPiece
-
-
Method Details
-
addAdditionalSaveData
protected void addAdditionalSaveData(StructurePieceSerializationContext p_227413_, CompoundTag p_227414_) - Overrides:
addAdditionalSaveData
in classScatteredFeaturePiece
-
postProcess
public void postProcess(WorldGenLevel p_227405_, StructureManager p_227406_, ChunkGenerator p_227407_, RandomSource p_227408_, BoundingBox p_227409_, ChunkPos p_227410_, BlockPos p_227411_) - Specified by:
postProcess
in classStructurePiece
-
addCellar
-
addCellarStairs
-
addCellarRoom
-
placeSand
-
placeSandBox
private void placeSandBox(BoundingBox p_272934_, int p_273391_, int p_273481_, int p_273347_, int p_273463_, int p_272814_, int p_273011_) -
placeCollapsedRoofPiece
private void placeCollapsedRoofPiece(WorldGenLevel p_272965_, int p_272618_, int p_273415_, int p_273110_, BoundingBox p_272645_) -
placeCollapsedRoof
private void placeCollapsedRoof(WorldGenLevel p_273438_, BoundingBox p_273058_, int p_272638_, int p_272826_, int p_273026_, int p_272750_, int p_272639_) -
getPotentialSuspiciousSandWorldPositions
-