net.minecraft.world.level.dimension

public class DimensionType

cnu
net.minecraft.world.level.dimension.DimensionType
net.minecraft.class_2874
net.minecraft.world.dimension.DimensionType
net.minecraft.src.C_2175_
net.minecraft.world.level.dimension.DimensionManager

Field summary

Modifier and TypeField
public static final int
a
BITS_FOR_Y
field_28133
SIZE_BITS_Y
f_156649_
public static final int
b
MIN_HEIGHT
field_33411
field_33411
f_156650_
public static final int
c
Y_SIZE
field_28134
MAX_HEIGHT
f_156651_
public static final int
d
MAX_Y
field_28135
MAX_COLUMN_HEIGHT
f_156652_
public static final int
e
MIN_Y
field_28136
MIN_HEIGHT
f_156653_
public static final ResourceLocation
f
OVERWORLD_EFFECTS
field_26752
OVERWORLD_ID
f_63840_
public static final ResourceLocation
g
NETHER_EFFECTS
field_26753
THE_NETHER_ID
f_63841_
public static final ResourceLocation
h
END_EFFECTS
field_26754
THE_END_ID
f_63842_
public static final com.mojang.serialization.Codec<DimensionType>
i
DIRECT_CODEC
field_24757
CODEC
f_63843_
private static final int
t
MOON_PHASES
field_31440
field_31440
f_156654_
public static final float[]
j
MOON_BRIGHTNESS_PER_PHASE
field_24752
MOON_SIZES
f_63844_
public static final ResourceKey<DimensionType>
k
OVERWORLD_LOCATION
field_24753
OVERWORLD_REGISTRY_KEY
f_63845_
public static final ResourceKey<DimensionType>
l
NETHER_LOCATION
field_24754
THE_NETHER_REGISTRY_KEY
f_63846_
public static final ResourceKey<DimensionType>
m
END_LOCATION
field_24755
THE_END_REGISTRY_KEY
f_63847_
protected static final DimensionType
n
DEFAULT_OVERWORLD
field_25407
OVERWORLD
f_63848_
protected static final DimensionType
o
DEFAULT_NETHER
field_25408
THE_NETHER
f_63849_
protected static final DimensionType
p
DEFAULT_END
field_25409
THE_END
f_63850_
public static final ResourceKey<DimensionType>
q
OVERWORLD_CAVES_LOCATION
field_25610
OVERWORLD_CAVES_REGISTRY_KEY
f_63851_
protected static final DimensionType
r
DEFAULT_OVERWORLD_CAVES
field_25611
OVERWORLD_CAVES
f_63852_
public static final com.mojang.serialization.Codec<Supplier<DimensionType>>
s
CODEC
field_24756
REGISTRY_CODEC
f_63853_
private final OptionalLong
u
fixedTime
field_24761
fixedTime
f_63854_
private final boolean
v
hasSkylight
field_13073
hasSkyLight
f_63855_
private final boolean
w
hasCeiling
field_24504
hasCeiling
f_63856_
private final boolean
x
ultraWarm
field_24505
ultrawarm
f_63857_
private final boolean
y
natural
field_24762
natural
f_63858_
private final double
z
coordinateScale
field_26706
coordinateScale
f_63859_
private final boolean
A
createDragonFight
field_24764
hasEnderDragonFight
f_63860_
private final boolean
B
piglinSafe
field_25612
piglinSafe
f_63861_
private final boolean
C
bedWorks
field_25613
bedWorks
f_63862_
private final boolean
D
respawnAnchorWorks
field_25614
respawnAnchorWorks
f_63863_
private final boolean
E
hasRaids
field_25615
hasRaids
f_63864_
private final int
F
minY
field_25616
minimumY
f_156647_
private final int
G
height
field_28131
height
f_156648_
private final int
H
logicalHeight
field_28132
logicalHeight
f_63865_
private final BiomeZoomer
I
biomeZoomer
field_20658
biomeAccessType
f_63835_
private final ResourceLocation
J
infiniburn
field_25617
infiniburn
f_63836_
private final ResourceLocation
K
effectsLocation
field_26751
skyProperties
f_63837_
private final float
L
ambientLight
field_24766
ambientLight
f_63838_
private final transient float[]
M
brightnessRamp
field_24767
brightnessByLightLevel
f_63839_

Constructor summary

ModifierConstructor
private (OptionalLong fixedTime, boolean hasSkylight, boolean hasCeiling, boolean ultrawarm, boolean natural, double coordinateScale, boolean piglinSafe, boolean bedWorks, boolean respawnAnchorWorks, boolean hasRaids, int minimumY, int height, int logicalHeight, ResourceLocation infiniburn, ResourceLocation skyProperties, float ambientLight)
private (OptionalLong fixedTime, boolean hasSkylight, boolean hasCeiling, boolean ultrawarm, boolean natural, double coordinateScale, boolean hasEnderDragonFight, boolean piglinSafe, boolean bedWorks, boolean respawnAnchorWorks, boolean hasRaids, int minimumY, int height, int logicalHeight, BiomeZoomer biomeAccessType, ResourceLocation infiniburn, ResourceLocation skyProperties, float ambientLight)

Method summary

Modifier and TypeMethod
private static com.mojang.serialization.DataResult<DimensionType>
b(cnu arg0)
guardY(DimensionType arg0)
method_32923(class_2874 arg0)
checkHeight(DimensionType type)
m_156718_(C_2175_ p_156719_)
public static DimensionType
a(OptionalLong arg0, boolean arg1, boolean arg2, boolean arg3, boolean arg4, double arg5, boolean arg6, boolean arg7, boolean arg8, boolean arg9, boolean arg10, int arg11, int arg12, int arg13, bxt arg14, ww arg15, ww arg16, float arg17)
create(OptionalLong arg0, boolean arg1, boolean arg2, boolean arg3, boolean arg4, double arg5, boolean arg6, boolean arg7, boolean arg8, boolean arg9, boolean arg10, int arg11, int arg12, int arg13, BiomeZoomer arg14, ResourceLocation arg15, ResourceLocation arg16, float arg17)
method_32922(OptionalLong arg0, boolean arg1, boolean arg2, boolean arg3, boolean arg4, double arg5, boolean arg6, boolean arg7, boolean arg8, boolean arg9, boolean arg10, int arg11, int arg12, int arg13, class_4545 arg14, class_2960 arg15, class_2960 arg16, float arg17)
create(OptionalLong fixedTime, boolean hasSkylight, boolean hasCeiling, boolean ultrawarm, boolean natural, double coordinateScale, boolean hasEnderDragonFight, boolean piglinSafe, boolean bedWorks, boolean respawnAnchorWorks, boolean hasRaids, int minimumY, int height, int logicalHeight, BiomeAccessType biomeAccessType, Identifier infiniburn, Identifier skyProperties, float ambientLight)
m_156699_(OptionalLong p_156700_, boolean p_156701_, boolean p_156702_, boolean p_156703_, boolean p_156704_, double p_156705_, boolean p_156707_, boolean p_156708_, boolean p_156709_, boolean p_156710_, boolean p_156711_, int p_156712_, int p_156713_, int p_156714_, C_1654_ p_156715_, C_5265_ p_156716_, C_5265_ p_156717_, float arg17)
private static float[]
a(float arg0)
fillBrightnessRamp(float arg0)
method_28515(float arg0)
computeBrightnessByLightLevel(float ambientLight)
m_63900_(float p_63901_)
public static com.mojang.serialization.DataResult<ResourceKey<Level>>
a(com.mojang.serialization.Dynamic<?> arg0)
parseLegacy(com.mojang.serialization.Dynamic<?> arg0)
method_28521(com.mojang.serialization.Dynamic<?> arg0)
worldFromDimensionNbt(com.mojang.serialization.Dynamic<?> nbt)
m_63911_(com.mojang.serialization.Dynamic<?> p_63912_)
public static RegistryAccess$RegistryHolder
a(gx$b arg0)
registerBuiltin(RegistryAccess$RegistryHolder arg0)
method_28523(class_5455$class_5457 arg0)
addRegistryDefaults(DynamicRegistryManager$Impl registryManager)
m_63926_(C_4706_$C_4708_ p_63927_)
private static ChunkGenerator
a(gw<bxo> arg0, gw<cpu> arg1, long arg2)
defaultEndGenerator(Registry<Biome> arg0, Registry<NoiseGeneratorSettings> arg1, long arg2)
method_28533(class_2378<class_1959> arg0, class_2378<class_5284> arg1, long arg2)
createEndGenerator(Registry<Biome> biomeRegistry, Registry<ChunkGeneratorSettings> chunkGeneratorSettingsRegistry, long seed)
m_63917_(C_4705_<C_1629_> p_63918_, C_4705_<C_2194_> p_63919_, long p_63920_)
private static ChunkGenerator
b(gw<bxo> arg0, gw<cpu> arg1, long arg2)
defaultNetherGenerator(Registry<Biome> arg0, Registry<NoiseGeneratorSettings> arg1, long arg2)
method_28535(class_2378<class_1959> arg0, class_2378<class_5284> arg1, long arg2)
createNetherGenerator(Registry<Biome> biomeRegistry, Registry<ChunkGeneratorSettings> chunkGeneratorSettingsRegistry, long seed)
m_63942_(C_4705_<C_1629_> p_63943_, C_4705_<C_2194_> p_63944_, long p_63945_)
public static MappedRegistry<LevelStem>
a(gw<cnu> arg0, gw<bxo> arg1, gw<cpu> arg2, long arg3)
defaultDimensions(Registry<DimensionType> arg0, Registry<Biome> arg1, Registry<NoiseGeneratorSettings> arg2, long arg3)
method_28517(class_2378<class_2874> arg0, class_2378<class_1959> arg1, class_2378<class_5284> arg2, long arg3)
createDefaultDimensionOptions(Registry<DimensionType> dimensionRegistry, Registry<Biome> biomeRegistry, Registry<ChunkGeneratorSettings> chunkGeneratorSettingsRegistry, long seed)
m_63921_(C_4705_<C_2175_> p_63922_, C_4705_<C_1629_> p_63923_, C_4705_<C_2194_> p_63924_, long p_63925_)
public static double
a(cnu arg0, cnu arg1)
getTeleportationScale(DimensionType arg0, DimensionType arg1)
method_31109(class_2874 arg0, class_2874 arg1)
getCoordinateScaleFactor(DimensionType fromDimension, DimensionType toDimension)
m_63908_(C_2175_ p_63909_, C_2175_ p_63910_)
public String
a()
getFileSuffix()
method_12489()
getSuffix()
m_63899_()
getSuffix()
public static File
a(wv<bwp> arg0, File arg1)
getStorageFolder(ResourceKey<Level> arg0, File arg1)
method_12488(class_5321<class_1937> arg0, File arg1)
getSaveDirectory(RegistryKey<World> worldRef, File root)
m_63932_(C_5264_<C_1596_> p_63933_, File p_63934_)
public boolean
b()
hasSkyLight()
method_12491()
hasSkyLight()
m_63935_()
hasSkyLight()
public boolean
c()
hasCeiling()
method_27998()
hasCeiling()
m_63946_()
hasCeiling()
public boolean
d()
ultraWarm()
method_27999()
isUltrawarm()
m_63951_()
isNether()
public boolean
e()
natural()
method_28537()
isNatural()
m_63956_()
isNatural()
public double
f()
coordinateScale()
method_31110()
getCoordinateScale()
m_63959_()
getCoordinateScale()
public boolean
g()
piglinSafe()
method_29955()
isPiglinSafe()
m_63960_()
isPiglinSafe()
public boolean
h()
bedWorks()
method_29956()
isBedWorking()
m_63961_()
isBedWorks()
public boolean
i()
respawnAnchorWorks()
method_29957()
isRespawnAnchorWorking()
m_63962_()
isRespawnAnchorWorks()
public boolean
j()
hasRaids()
method_29958()
hasRaids()
m_63963_()
hasRaids()
public int
k()
minY()
method_29959()
getMinimumY()
m_156732_()
getMinY()
public int
l()
height()
method_32924()
getHeight()
m_156733_()
getHeight()
public int
m()
logicalHeight()
method_32925()
getLogicalHeight()
m_63964_()
getLogicalHeight()
public boolean
n()
createDragonFight()
method_28540()
hasEnderDragonFight()
m_63965_()
isCreateDragonBattle()
public BiomeZoomer
o()
getBiomeZoomer()
method_22415()
getBiomeAccessType()
m_63966_()
getGenLayerZoomer()
public boolean
p()
hasFixedTime()
method_29960()
hasFixedTime()
m_63967_()
isFixedTime()
public float
a(long arg0)
timeOfDay(long arg0)
method_28528(long arg0)
getSkyAngle(long time)
m_63904_(long arg0)
public int
b(long arg0)
moonPhase(long arg0)
method_28531(long arg0)
getMoonPhase(long time)
m_63936_(long arg0)
public float
a(int arg0)
brightness(int arg0)
method_28516(int arg0)
getBrightness(int lightLevel)
m_63902_(int arg0)
public Tag<Block>
q()
infiniburn()
method_29961()
getInfiniburnBlocks()
m_63968_()
public ResourceLocation
r()
effectsLocation()
method_31181()
getSkyProperties()
m_63969_()
public boolean
a(cnu arg0)
equalTo(DimensionType arg0)
method_31108(class_2874 arg0)
equals(DimensionType dimensionType)
m_63906_(C_2175_ arg0)