Class OceanRuinStructure
java.lang.Object
net.minecraft.world.level.levelgen.structure.Structure
net.minecraft.world.level.levelgen.structure.structures.OceanRuinStructure
-
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 TypeFieldDescriptionfinal OceanRuinStructure.Type
final float
static final com.mojang.serialization.Codec<OceanRuinStructure>
final float
Fields inherited from class net.minecraft.world.level.levelgen.structure.Structure
DIRECT_CODEC
-
Constructor Summary
ConstructorDescriptionOceanRuinStructure
(Structure.StructureSettings p_229060_, OceanRuinStructure.Type p_229061_, float p_229062_, float p_229063_) -
Method Summary
Modifier and TypeMethodDescriptionfindGenerationPoint
(Structure.GenerationContext p_229065_) private void
generatePieces
(StructurePiecesBuilder p_229070_, Structure.GenerationContext p_229071_) type()
Methods inherited from class net.minecraft.world.level.levelgen.structure.Structure
adjustBoundingBox, afterPlace, biomes, generate, getLowestY, getLowestY, getLowestYIn5by5BoxOffset7Blocks, getModifiedStructureSettings, modifiableStructureInfo, onTopOfChunkCenter, settingsCodec, simpleCodec, spawnOverrides, step, terrainAdaptation
-
Field Details
-
CODEC
-
biomeTemp
-
largeProbability
public final float largeProbability -
clusterProbability
public final float clusterProbability
-
-
Constructor Details
-
OceanRuinStructure
public OceanRuinStructure(Structure.StructureSettings p_229060_, OceanRuinStructure.Type p_229061_, float p_229062_, float p_229063_)
-
-
Method Details
-
findGenerationPoint
public Optional<Structure.GenerationStub> findGenerationPoint(Structure.GenerationContext p_229065_) - Specified by:
findGenerationPoint
in classStructure
-
generatePieces
private void generatePieces(StructurePiecesBuilder p_229070_, Structure.GenerationContext p_229071_) -
type
-