Package net.minecraft.world.gen
Class DimensionSettings
java.lang.Object
net.minecraft.world.gen.DimensionSettings
-
Field Summary
Modifier and TypeFieldDescriptionstatic final RegistryKey<DimensionSettings>
private final int
private final int
private static final DimensionSettings
static final RegistryKey<DimensionSettings>
static final com.mojang.serialization.Codec<Supplier<DimensionSettings>>
private final BlockState
private final BlockState
static final com.mojang.serialization.Codec<DimensionSettings>
private final boolean
static final RegistryKey<DimensionSettings>
static final RegistryKey<DimensionSettings>
static final RegistryKey<DimensionSettings>
private final NoiseSettings
static final RegistryKey<DimensionSettings>
private final int
private final DimensionStructuresSettings
-
Constructor Summary
ConstructorDescriptionDimensionSettings
(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
Modifier and TypeMethodDescriptionstatic DimensionSettings
boolean
Deprecated.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_) int
int
private static DimensionSettings
nether
(DimensionStructuresSettings p_242741_0_, BlockState p_242741_1_, BlockState p_242741_2_, ResourceLocation p_242741_3_) private static DimensionSettings
overworld
(DimensionStructuresSettings p_242743_0_, boolean p_242743_1_, ResourceLocation p_242743_2_) private static DimensionSettings
register
(RegistryKey<DimensionSettings> p_242745_0_, DimensionSettings p_242745_1_) int
seaLevel()
boolean
stable
(RegistryKey<DimensionSettings> p_242744_1_)
-
Field Details
-
DIRECT_CODEC
-
CODEC
-
structureSettings
-
noiseSettings
-
defaultBlock
-
defaultFluid
-
bedrockRoofPosition
private final int bedrockRoofPosition -
bedrockFloorPosition
private final int bedrockFloorPosition -
seaLevel
private final int seaLevel -
disableMobGeneration
private final boolean disableMobGeneration -
OVERWORLD
-
AMPLIFIED
-
NETHER
-
END
-
CAVES
-
FLOATING_ISLANDS
-
BUILTIN_OVERWORLD
-
-
Constructor Details
-
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 Details
-
structureSettings
-
noiseSettings
-
getDefaultBlock
-
getDefaultFluid
-
getBedrockRoofPosition
public int getBedrockRoofPosition() -
getBedrockFloorPosition
public int getBedrockFloorPosition() -
seaLevel
public int seaLevel() -
disableMobGeneration
Deprecated. -
stable
-
register
private static DimensionSettings register(RegistryKey<DimensionSettings> p_242745_0_, DimensionSettings p_242745_1_) -
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_)
-