public final class ChunkGeneratorType extends Object
| 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.MapCodec<ChunkGeneratorType> |
field_24780 |
static com.mojang.serialization.Codec<Supplier<ChunkGeneratorType>> |
field_24781 |
private NoiseConfig |
field_24782 |
private int |
field_24785 |
private boolean |
field_24786 |
private Optional<Identifier> |
field_24787 |
static ChunkGeneratorType |
field_26355 |
static ChunkGeneratorType |
field_26356 |
static ChunkGeneratorType |
field_26357 |
static ChunkGeneratorType |
field_26358 |
static ChunkGeneratorType |
field_26359 |
static ChunkGeneratorType |
field_26360 |
| 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<Identifier> 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 chunkGeneratorType) |
NoiseConfig |
method_28559() |
int |
method_28561() |
protected boolean |
method_28562()
Deprecated.
|
private static ChunkGeneratorType |
method_30641(StructuresConfig structuresConfig,
BlockState blockState,
BlockState blockState2,
Identifier identifier) |
private static ChunkGeneratorType |
method_30642(StructuresConfig structuresConfig,
BlockState blockState,
BlockState blockState2,
Identifier identifier,
boolean bool,
boolean bool2) |
private static ChunkGeneratorType |
method_30643(StructuresConfig structuresConfig,
boolean bool,
Identifier identifier) |
private static ChunkGeneratorType |
method_30644(ChunkGeneratorType chunkGeneratorType) |
public static final com.mojang.serialization.MapCodec<ChunkGeneratorType> field_24780
public static final com.mojang.serialization.Codec<Supplier<ChunkGeneratorType>> field_24781
public static final ChunkGeneratorType field_26355
public static final ChunkGeneratorType field_26356
public static final ChunkGeneratorType field_26357
public static final ChunkGeneratorType field_26358
public static final ChunkGeneratorType field_26359
public static final ChunkGeneratorType field_26360
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<Identifier> 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<Identifier> 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 chunkGeneratorType)
private static ChunkGeneratorType method_30644(ChunkGeneratorType chunkGeneratorType)
private static ChunkGeneratorType method_30642(StructuresConfig structuresConfig, BlockState blockState, BlockState blockState2, Identifier identifier, boolean bool, boolean bool2)
private static ChunkGeneratorType method_30641(StructuresConfig structuresConfig, BlockState blockState, BlockState blockState2, Identifier identifier)
private static ChunkGeneratorType method_30643(StructuresConfig structuresConfig, boolean bool, Identifier identifier)