public final class ChunkGeneratorSettings extends Object
| Modifier and Type | Field and Description |
|---|---|
static RegistryKey<ChunkGeneratorSettings> |
AMPLIFIED |
private int |
bedrockCeilingY |
private int |
bedrockFloorY |
static RegistryKey<ChunkGeneratorSettings> |
CAVES |
private BlockState |
defaultBlock |
private BlockState |
defaultFluid |
static RegistryKey<ChunkGeneratorSettings> |
END |
static com.mojang.serialization.Codec<ChunkGeneratorSettings> |
field_24780 |
private static ChunkGeneratorSettings |
field_26707 |
static RegistryKey<ChunkGeneratorSettings> |
FLOATING_ISLANDS |
private GenerationShapeConfig |
generationShapeConfig |
private boolean |
mobGenerationDisabled |
static RegistryKey<ChunkGeneratorSettings> |
NETHER |
static RegistryKey<ChunkGeneratorSettings> |
OVERWORLD |
static com.mojang.serialization.Codec<Supplier<ChunkGeneratorSettings>> |
REGISTRY_CODEC |
private int |
seaLevel |
private StructuresConfig |
structuresConfig |
| Modifier | Constructor and Description |
|---|---|
private |
ChunkGeneratorSettings(StructuresConfig structuresConfig,
GenerationShapeConfig generationShapeConfig,
BlockState defaultBlock,
BlockState defaultFluid,
int bedrockCeilingY,
int bedrockFloorY,
int seaLevel,
boolean mobGenerationDisabled) |
public static final com.mojang.serialization.Codec<ChunkGeneratorSettings> field_24780
public static final com.mojang.serialization.Codec<Supplier<ChunkGeneratorSettings>> REGISTRY_CODEC
public static final RegistryKey<ChunkGeneratorSettings> OVERWORLD
public static final RegistryKey<ChunkGeneratorSettings> AMPLIFIED
public static final RegistryKey<ChunkGeneratorSettings> NETHER
public static final RegistryKey<ChunkGeneratorSettings> END
public static final RegistryKey<ChunkGeneratorSettings> CAVES
public static final RegistryKey<ChunkGeneratorSettings> FLOATING_ISLANDS
private static final ChunkGeneratorSettings field_26707
private final StructuresConfig structuresConfig
private final GenerationShapeConfig generationShapeConfig
private final BlockState defaultBlock
private final BlockState defaultFluid
private final int bedrockCeilingY
private final int bedrockFloorY
private final int seaLevel
private final boolean mobGenerationDisabled
private ChunkGeneratorSettings(StructuresConfig structuresConfig, GenerationShapeConfig generationShapeConfig, BlockState defaultBlock, BlockState defaultFluid, int bedrockCeilingY, int bedrockFloorY, int seaLevel, boolean mobGenerationDisabled)
public StructuresConfig getStructuresConfig()
public GenerationShapeConfig getGenerationShapeConfig()
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 getSeaLevel()
@Deprecated protected boolean isMobGenerationDisabled()
public boolean isIdEqual(RegistryKey<ChunkGeneratorSettings> registryKey)
private static ChunkGeneratorSettings register(RegistryKey<ChunkGeneratorSettings> registryKey, ChunkGeneratorSettings chunkGeneratorSettings)
public static ChunkGeneratorSettings method_31111()
private static ChunkGeneratorSettings method_30642(StructuresConfig structuresConfig, BlockState blockState, BlockState blockState2, Identifier identifier, boolean bool, boolean bool2)
private static ChunkGeneratorSettings method_30641(StructuresConfig structuresConfig, BlockState blockState, BlockState blockState2, Identifier identifier)
private static ChunkGeneratorSettings method_30643(StructuresConfig structuresConfig, boolean bool, Identifier identifier)