Class DesertPyramidStructure
java.lang.Object
net.minecraft.world.level.levelgen.structure.Structure
net.minecraft.world.level.levelgen.structure.SinglePieceStructure
net.minecraft.world.level.levelgen.structure.structures.DesertPyramidStructure
-
Nested Class Summary
Nested classes/interfaces inherited from class SinglePieceStructure
SinglePieceStructure.PieceConstructorNested classes/interfaces inherited from class Structure
Structure.GenerationContext, Structure.GenerationStub, Structure.StructureSettings -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec<DesertPyramidStructure> Fields inherited from class Structure
DIRECT_CODEC -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidafterPlace(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, PiecesContainer pieces) private static voidplaceSuspiciousSand(BoundingBox chunkBB, WorldGenLevel level, BlockPos blockPos) type()Methods inherited from class SinglePieceStructure
findGenerationPointMethods inherited from class Structure
adjustBoundingBox, biomes, findValidGenerationPoint, generate, getLowestY, getLowestY, getLowestYIn5by5BoxOffset7Blocks, getMeanFirstOccupiedHeight, getModifiedStructureSettings, modifiableStructureInfo, onTopOfChunkCenter, settingsCodec, simpleCodec, spawnOverrides, step, terrainAdaptation
-
Field Details
-
CODEC
-
-
Constructor Details
-
DesertPyramidStructure
-
-
Method Details
-
afterPlace
public void afterPlace(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, PiecesContainer pieces) - Overrides:
afterPlacein classStructure
-
placeSuspiciousSand
private static void placeSuspiciousSand(BoundingBox chunkBB, WorldGenLevel level, BlockPos blockPos) -
type
-