Class BuriedTreasureStructure
java.lang.Object
net.minecraft.world.level.levelgen.structure.Structure
net.minecraft.world.level.levelgen.structure.structures.BuriedTreasureStructure
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.level.levelgen.structure.Structure
Structure.GenerationContext, Structure.GenerationStub, Structure.StructureSettings
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec
<BuriedTreasureStructure> Fields inherited from class net.minecraft.world.level.levelgen.structure.Structure
DIRECT_CODEC
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfindGenerationPoint
(Structure.GenerationContext p_227387_) private static void
generatePieces
(StructurePiecesBuilder p_227392_, Structure.GenerationContext p_227393_) type()
Methods inherited from class net.minecraft.world.level.levelgen.structure.Structure
adjustBoundingBox, afterPlace, biomes, findValidGenerationPoint, generate, getLowestY, getLowestY, getLowestYIn5by5BoxOffset7Blocks, getMeanFirstOccupiedHeight, getModifiedStructureSettings, modifiableStructureInfo, onTopOfChunkCenter, settingsCodec, simpleCodec, spawnOverrides, step, terrainAdaptation
-
Field Details
-
CODEC
-
-
Constructor Details
-
BuriedTreasureStructure
-
-
Method Details
-
findGenerationPoint
public Optional<Structure.GenerationStub> findGenerationPoint(Structure.GenerationContext p_227387_) - Specified by:
findGenerationPoint
in classStructure
-
generatePieces
private static void generatePieces(StructurePiecesBuilder p_227392_, Structure.GenerationContext p_227393_) -
type
-