Package net.minecraft.world.gen.chunk
Class ChunkGeneratorType
java.lang.Object
net.minecraft.world.gen.chunk.ChunkGeneratorType
public final class ChunkGeneratorType extends Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classChunkGeneratorType.Preset -
Field Summary
Fields Modifier and Type Field Description private intbedrockCeilingYprivate intbedrockFloorYprivate StructuresConfigconfigprivate BlockStatedefaultBlockprivate BlockStatedefaultFluidstatic com.mojang.serialization.Codec<ChunkGeneratorType>field_24780static com.mojang.serialization.Codec<ChunkGeneratorType>field_24781private NoiseConfigfield_24782private intfield_24785private booleanfield_24786private Optional<ChunkGeneratorType.Preset>field_24787 -
Constructor Summary
Constructors Modifier Constructor Description privateChunkGeneratorType(StructuresConfig config, NoiseConfig noiseConfig, BlockState defaultBlock, BlockState defaultFluid, int int2, int int3, int int4, boolean bool)privateChunkGeneratorType(StructuresConfig config, NoiseConfig noiseConfig, BlockState defaultBlock, BlockState defaultFluid, int int2, int int3, int int4, boolean bool, Optional<ChunkGeneratorType.Preset> optional) -
Method Summary
Modifier and Type Method Description intgetBedrockCeilingY()Returns the Y level of the bedrock ceiling.intgetBedrockFloorY()Returns the Y level of the bedrock floor.StructuresConfiggetConfig()BlockStategetDefaultBlock()BlockStategetDefaultFluid()booleanmethod_28555(ChunkGeneratorType.Preset preset)NoiseConfigmethod_28559()intmethod_28561()protected booleanmethod_28562()Deprecated.
-
Field Details
-
field_24780
-
field_24781
-
config
-
field_24782
-
defaultBlock
-
defaultFluid
-
bedrockCeilingY
private final int bedrockCeilingY -
bedrockFloorY
private final int bedrockFloorY -
field_24785
private final int field_24785 -
field_24786
private final boolean field_24786 -
field_24787
-
-
Constructor Details
-
ChunkGeneratorType
private ChunkGeneratorType(StructuresConfig config, NoiseConfig noiseConfig, BlockState defaultBlock, BlockState defaultFluid, int int2, int int3, int int4, boolean bool) -
ChunkGeneratorType
private ChunkGeneratorType(StructuresConfig config, NoiseConfig noiseConfig, BlockState defaultBlock, BlockState defaultFluid, int int2, int int3, int int4, boolean bool, Optional<ChunkGeneratorType.Preset> optional)
-
-
Method Details
-
getConfig
-
method_28559
-
getDefaultBlock
-
getDefaultFluid
-
getBedrockCeilingY
public int getBedrockCeilingY()Returns the Y level of the bedrock ceiling.If a number less than 1 is returned, the ceiling will not be generated.
-
getBedrockFloorY
public int getBedrockFloorY()Returns the Y level of the bedrock floor.If a number greater than 255 is returned, the floor will not be generated.
-
method_28561
public int method_28561() -
method_28562
Deprecated. -
method_28555
-