Package net.minecraft.world.gen
Class DimensionSettings
- java.lang.Object
-
- net.minecraft.world.gen.DimensionSettings
-
public final class DimensionSettings extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static RegistryKey<DimensionSettings>
AMPLIFIED
private int
bedrockFloorPosition
private int
bedrockRoofPosition
private static DimensionSettings
BUILTIN_OVERWORLD
static RegistryKey<DimensionSettings>
CAVES
static com.mojang.serialization.Codec<java.util.function.Supplier<DimensionSettings>>
CODEC
private BlockState
defaultBlock
private BlockState
defaultFluid
static com.mojang.serialization.Codec<DimensionSettings>
DIRECT_CODEC
private boolean
disableMobGeneration
static RegistryKey<DimensionSettings>
END
static RegistryKey<DimensionSettings>
FLOATING_ISLANDS
static RegistryKey<DimensionSettings>
NETHER
private NoiseSettings
noiseSettings
static RegistryKey<DimensionSettings>
OVERWORLD
private int
seaLevel
private DimensionStructuresSettings
structureSettings
-
Constructor Summary
Constructors Constructor Description DimensionSettings(DimensionStructuresSettings p_i231905_1_, NoiseSettings p_i231905_2_, BlockState p_i231905_3_, BlockState p_i231905_4_, int p_i231905_5_, int p_i231905_6_, int p_i231905_7_, boolean p_i231905_8_)
-
Method Summary
-
-
-
Field Detail
-
DIRECT_CODEC
public static final com.mojang.serialization.Codec<DimensionSettings> DIRECT_CODEC
-
CODEC
public static final com.mojang.serialization.Codec<java.util.function.Supplier<DimensionSettings>> CODEC
-
structureSettings
private final DimensionStructuresSettings structureSettings
-
noiseSettings
private final NoiseSettings noiseSettings
-
defaultBlock
private final BlockState defaultBlock
-
defaultFluid
private final BlockState defaultFluid
-
bedrockRoofPosition
private final int bedrockRoofPosition
-
bedrockFloorPosition
private final int bedrockFloorPosition
-
seaLevel
private final int seaLevel
-
disableMobGeneration
private final boolean disableMobGeneration
-
OVERWORLD
public static final RegistryKey<DimensionSettings> OVERWORLD
-
AMPLIFIED
public static final RegistryKey<DimensionSettings> AMPLIFIED
-
NETHER
public static final RegistryKey<DimensionSettings> NETHER
-
END
public static final RegistryKey<DimensionSettings> END
-
CAVES
public static final RegistryKey<DimensionSettings> CAVES
-
FLOATING_ISLANDS
public static final RegistryKey<DimensionSettings> FLOATING_ISLANDS
-
BUILTIN_OVERWORLD
private static final DimensionSettings BUILTIN_OVERWORLD
-
-
Constructor Detail
-
DimensionSettings
public DimensionSettings(DimensionStructuresSettings p_i231905_1_, NoiseSettings p_i231905_2_, BlockState p_i231905_3_, BlockState p_i231905_4_, int p_i231905_5_, int p_i231905_6_, int p_i231905_7_, boolean p_i231905_8_)
-
-
Method Detail
-
structureSettings
public DimensionStructuresSettings structureSettings()
-
noiseSettings
public NoiseSettings noiseSettings()
-
getDefaultBlock
public BlockState getDefaultBlock()
-
getDefaultFluid
public BlockState getDefaultFluid()
-
getBedrockRoofPosition
public int getBedrockRoofPosition()
-
getBedrockFloorPosition
public int getBedrockFloorPosition()
-
seaLevel
public int seaLevel()
-
disableMobGeneration
@Deprecated public boolean disableMobGeneration()
Deprecated.
-
stable
public boolean stable(RegistryKey<DimensionSettings> p_242744_1_)
-
register
private static DimensionSettings register(RegistryKey<DimensionSettings> p_242745_0_, DimensionSettings p_242745_1_)
-
bootstrap
public static DimensionSettings bootstrap()
-
end
private static DimensionSettings end(DimensionStructuresSettings p_242742_0_, BlockState p_242742_1_, BlockState p_242742_2_, ResourceLocation p_242742_3_, boolean p_242742_4_, boolean p_242742_5_)
-
nether
private static DimensionSettings nether(DimensionStructuresSettings p_242741_0_, BlockState p_242741_1_, BlockState p_242741_2_, ResourceLocation p_242741_3_)
-
overworld
private static DimensionSettings overworld(DimensionStructuresSettings p_242743_0_, boolean p_242743_1_, ResourceLocation p_242743_2_)
-
-