Class OceanMonumentStructure
java.lang.Object
net.minecraft.world.level.levelgen.structure.Structure
net.minecraft.world.level.levelgen.structure.structures.OceanMonumentStructure
-
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
<OceanMonumentStructure> Fields inherited from class net.minecraft.world.level.levelgen.structure.Structure
DIRECT_CODEC
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static StructurePiece
createTopPiece
(ChunkPos p_228961_, WorldgenRandom p_228962_) findGenerationPoint
(Structure.GenerationContext p_228964_) private static void
generatePieces
(StructurePiecesBuilder p_228969_, Structure.GenerationContext p_228970_) static PiecesContainer
regeneratePiecesAfterLoad
(ChunkPos p_228957_, long p_228958_, PiecesContainer p_228959_) 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
-
OceanMonumentStructure
-
-
Method Details
-
findGenerationPoint
public Optional<Structure.GenerationStub> findGenerationPoint(Structure.GenerationContext p_228964_) - Specified by:
findGenerationPoint
in classStructure
-
createTopPiece
-
generatePieces
private static void generatePieces(StructurePiecesBuilder p_228969_, Structure.GenerationContext p_228970_) -
regeneratePiecesAfterLoad
public static PiecesContainer regeneratePiecesAfterLoad(ChunkPos p_228957_, long p_228958_, PiecesContainer p_228959_) -
type
-