public final class ChunkGeneratorType extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ChunkGeneratorType.Preset |
| Modifier and Type | Field and Description |
|---|---|
private int |
bedrockCeilingY |
private int |
bedrockFloorY |
private StructuresConfig |
config |
private BlockState |
defaultBlock |
private BlockState |
defaultFluid |
static com.mojang.serialization.Codec<ChunkGeneratorType> |
field_24780 |
static com.mojang.serialization.Codec<ChunkGeneratorType> |
field_24781 |
private NoiseConfig |
field_24782 |
private int |
field_24785 |
private boolean |
field_24786 |
private Optional<ChunkGeneratorType.Preset> |
field_24787 |
| Modifier | Constructor and Description |
|---|---|
private |
ChunkGeneratorType(StructuresConfig config,
NoiseConfig noiseConfig,
BlockState defaultBlock,
BlockState defaultFluid,
int int2,
int int3,
int int4,
boolean bool) |
private |
ChunkGeneratorType(StructuresConfig config,
NoiseConfig noiseConfig,
BlockState defaultBlock,
BlockState defaultFluid,
int int2,
int int3,
int int4,
boolean bool,
Optional<ChunkGeneratorType.Preset> optional) |
| Modifier and Type | Method and Description |
|---|---|
int |
getBedrockCeilingY()
Returns the Y level of the bedrock ceiling.
|
int |
getBedrockFloorY()
Returns the Y level of the bedrock floor.
|
StructuresConfig |
getConfig() |
BlockState |
getDefaultBlock() |
BlockState |
getDefaultFluid() |
boolean |
method_28555(ChunkGeneratorType.Preset preset) |
NoiseConfig |
method_28559() |
int |
method_28561() |
protected boolean |
method_28562()
Deprecated.
|
public static final com.mojang.serialization.Codec<ChunkGeneratorType> field_24780
public static final com.mojang.serialization.Codec<ChunkGeneratorType> field_24781
private final StructuresConfig config
private final NoiseConfig field_24782
private final BlockState defaultBlock
private final BlockState defaultFluid
private final int bedrockCeilingY
private final int bedrockFloorY
private final int field_24785
private final boolean field_24786
private final Optional<ChunkGeneratorType.Preset> field_24787
private ChunkGeneratorType(StructuresConfig config, NoiseConfig noiseConfig, BlockState defaultBlock, BlockState defaultFluid, int int2, int int3, int int4, boolean bool)
private ChunkGeneratorType(StructuresConfig config, NoiseConfig noiseConfig, BlockState defaultBlock, BlockState defaultFluid, int int2, int int3, int int4, boolean bool, Optional<ChunkGeneratorType.Preset> optional)
public StructuresConfig getConfig()
public NoiseConfig method_28559()
public BlockState getDefaultBlock()
public BlockState getDefaultFluid()
public int getBedrockCeilingY()
If a number less than 1 is returned, the ceiling will not be generated.
public int getBedrockFloorY()
If a number greater than 255 is returned, the floor will not be generated.
public int method_28561()
@Deprecated protected boolean method_28562()
public boolean method_28555(ChunkGeneratorType.Preset preset)