Package net.minecraft.world.dimension
Class DimensionType
java.lang.Object
net.minecraft.world.dimension.DimensionType
public class DimensionType extends Object
-
Field Summary
-
Constructor Summary
Constructors Modifier Constructor Description protectedDimensionType(OptionalLong fixedTime, boolean hasSkylight, boolean hasCeiling, boolean ultrawarm, boolean natural, boolean shrunk, boolean hasEnderDragonFight, boolean piglinSafe, boolean bedWorks, boolean respawnAnchorWorks, boolean hasRaids, int logicalHeight, BiomeAccessType biomeAccessType, Identifier infiniburn, float ambientLight)protectedDimensionType(OptionalLong fixedTime, boolean hasSkylight, boolean hasCeiling, boolean ultrawarm, boolean natural, boolean shrunk, boolean piglinSafe, boolean bedWorks, boolean respawnAnchorWorks, boolean hasRaids, int logicalHeight, Identifier infiniburn, float ambientLight) -
Method Summary
-
Field Details
-
CODEC
-
field_24752
public static final float[] field_24752 -
OVERWORLD_REGISTRY_KEY
-
THE_NETHER_REGISTRY_KEY
-
THE_END_REGISTRY_KEY
-
OVERWORLD
-
THE_NETHER
-
THE_END
-
OVERWORLD_CAVES_REGISTRY_KEY
-
OVERWORLD_CAVES
-
field_24756
-
fixedTime
-
hasSkyLight
private final boolean hasSkyLight -
hasCeiling
private final boolean hasCeiling -
ultrawarm
private final boolean ultrawarm -
natural
private final boolean natural -
shrunk
private final boolean shrunk -
hasEnderDragonFight
private final boolean hasEnderDragonFight -
piglinSafe
private final boolean piglinSafe -
bedWorks
private final boolean bedWorks -
respawnAnchorWorks
private final boolean respawnAnchorWorks -
hasRaids
private final boolean hasRaids -
logicalHeight
private final int logicalHeight -
biomeAccessType
-
infiniburn
-
ambientLight
private final float ambientLight -
field_24767
private final transient float[] field_24767
-
-
Constructor Details
-
DimensionType
protected DimensionType(OptionalLong fixedTime, boolean hasSkylight, boolean hasCeiling, boolean ultrawarm, boolean natural, boolean shrunk, boolean piglinSafe, boolean bedWorks, boolean respawnAnchorWorks, boolean hasRaids, int logicalHeight, Identifier infiniburn, float ambientLight) -
DimensionType
protected DimensionType(OptionalLong fixedTime, boolean hasSkylight, boolean hasCeiling, boolean ultrawarm, boolean natural, boolean shrunk, boolean hasEnderDragonFight, boolean piglinSafe, boolean bedWorks, boolean respawnAnchorWorks, boolean hasRaids, int logicalHeight, BiomeAccessType biomeAccessType, Identifier infiniburn, float ambientLight)
-
-
Method Details
-
getOverworldDimensionType
-
getOverworldCavesDimensionType
-
method_28515
private static float[] method_28515(float float2) -
method_28521
@Deprecated public static com.mojang.serialization.DataResult<RegistryKey<World>> method_28521(com.mojang.serialization.Dynamic<?> dynamic)Deprecated. -
addRegistryDefaults
public static RegistryTracker.Modifiable addRegistryDefaults(RegistryTracker.Modifiable registryTracker) -
createEndGenerator
-
createNetherGenerator
-
method_28517
-
getSuffix
Deprecated. -
getSaveDirectory
-
hasSkyLight
public boolean hasSkyLight() -
hasCeiling
public boolean hasCeiling() -
isUltrawarm
public boolean isUltrawarm() -
isNatural
public boolean isNatural() -
isShrunk
public boolean isShrunk() -
isPiglinSafe
public boolean isPiglinSafe() -
isBedWorking
public boolean isBedWorking() -
isRespawnAnchorWorking
public boolean isRespawnAnchorWorking() -
hasRaids
public boolean hasRaids() -
getLogicalHeight
public int getLogicalHeight() -
hasEnderDragonFight
public boolean hasEnderDragonFight() -
getBiomeAccessType
-
hasFixedTime
public boolean hasFixedTime() -
method_28528
public float method_28528(long long2) -
method_28531
public int method_28531(long long2) -
method_28516
public float method_28516(int int2) -
getInfiniburnBlocks
-