net.minecraft.world.level.dimension

public record DimensionType

ebp
net.minecraft.world.level.dimension.DimensionType
net.minecraft.class_2874
net.minecraft.unmapped.C_oxijnccf
net.minecraft.world.dimension.DimensionType
net.minecraft.world.dimension.DimensionType
net.minecraft.src.C_2175_

Field summary

Modifier and TypeField
private final OptionalLong
l
fixedTime
comp_641
f_oslxdjvx
fixedTime
fixedTime
f_63854_
private final boolean
m
hasSkyLight
comp_642
f_sntuajfu
hasSkyLight
hasSkyLight
f_223549_
private final boolean
n
hasCeiling
comp_643
f_ktrqqmye
hasCeiling
hasCeiling
f_63856_
private final boolean
o
ultraWarm
comp_644
f_ocwuqzjl
ultrawarm
ultraWarm
f_63857_
private final boolean
p
natural
comp_645
f_vrlzepdd
natural
natural
f_63858_
private final double
q
coordinateScale
comp_646
f_nirqrruq
coordinateScale
coordinateScale
f_63859_
private final boolean
r
bedWorks
comp_648
f_bcecvbdh
bedWorks
bedWorks
f_63862_
private final boolean
s
respawnAnchorWorks
comp_649
f_rykbxwzz
respawnAnchorWorks
respawnAnchorWorks
f_63863_
private final int
t
minY
comp_651
f_jlzhdrnp
minY
minY
f_156647_
private final int
u
height
comp_652
f_xbhtvssb
height
height
f_156648_
private final int
v
logicalHeight
comp_653
f_ivuvsukm
logicalHeight
logicalHeight
f_63865_
private final TagKey<Block>
w
infiniburn
comp_654
f_zxepzgfy
infiniburn
infiniburn
f_63836_
private final ResourceLocation
x
effectsLocation
comp_655
f_woerqpsf
effects
effectsLocation
f_63837_
private final float
y
ambientLight
comp_656
f_ckygwuem
ambientLight
ambientLight
f_63838_
private final DimensionType$MonsterSettings
z
monsterSettings
comp_847
f_palzzbuw
monsterSettings
monsterSettings
f_223550_
public static final int
a
BITS_FOR_Y
field_28133
f_lxemnxqx
SIZE_BITS_Y
SIZE_BITS_Y
f_156649_
public static final int
b
MIN_HEIGHT
field_33411
f_qnycowon
field_33411
MIN_HEIGHT
f_156650_
public static final int
c
Y_SIZE
field_28134
f_iilfmdxv
MAX_HEIGHT
Y_SIZE
f_156651_
public static final int
d
MAX_Y
field_28135
f_eyjygtak
MAX_COLUMN_HEIGHT
MAX_Y
f_156652_
public static final int
e
MIN_Y
field_28136
f_exnsbfbw
MIN_HEIGHT
MIN_Y
f_156653_
public static final int
f
WAY_ABOVE_MAX_Y
field_35478
f_yopgdmky
field_35478
FAR_ABOVE_MAX_Y
f_188293_
public static final int
g
WAY_BELOW_MIN_Y
field_35479
f_hmvxmnvw
field_35479
FAR_BELOW_MIN_Y
f_188294_
public static final com.mojang.serialization.Codec<DimensionType>
h
DIRECT_CODEC
field_24757
f_iulsvlis
CODEC
CODEC
f_63843_
public static final StreamCodec<RegistryFriendlyByteBuf, Holder<DimensionType>>
i
STREAM_CODEC
field_51951
f_fngmfjli
PACKET_CODEC
PACKET_CODEC
f_337068_
private static final int
A
MOON_PHASES
field_31440
f_mfsbixmi
field_31440
MOON_PHASES
f_156654_
public static final float[]
j
MOON_BRIGHTNESS_PER_PHASE
field_24752
f_wcytkhzw
MOON_SIZES
MOON_SIZES
f_63844_
public static final com.mojang.serialization.Codec<Holder<DimensionType>>
k
CODEC
field_24756
f_cdpesyot
REGISTRY_CODEC
REGISTRY_CODEC
f_63853_

Constructor summary

ModifierConstructor
public (OptionalLong fixedTime, boolean hasSkylight, boolean hasCeiling, boolean ultrawarm, boolean natural, double coordinateScale, boolean bedWorks, boolean piglinSafe, int minY, int height, int logicalHeight, TagKey<Block> infiniburn, ResourceLocation effects, float ambientLight, DimensionType$MonsterSettings monsterSettings)

Method summary

Modifier and TypeMethod
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)
m_raqrpdsz(com.mojang.serialization.Dynamic<?> arg0)
worldFromDimensionNbt(com.mojang.serialization.Dynamic<?> nbt)
worldFromDimensionNbt(com.mojang.serialization.Dynamic<?> nbt)
m_63911_(com.mojang.serialization.Dynamic<?> p_63912_)
public static double
a(ebp arg0, ebp arg1)
getTeleportationScale(DimensionType arg0, DimensionType arg1)
method_31109(class_2874 arg0, class_2874 arg1)
m_txmcpmrx(C_oxijnccf arg0, C_oxijnccf arg1)
getCoordinateScaleFactor(DimensionType fromDimension, DimensionType toDimension)
getCoordinateScaleFactor(DimensionType fromDimension, DimensionType toDimension)
m_63908_(C_2175_ p_63909_, C_2175_ p_63910_)
public static Path
a(aly<dhh> arg0, Path arg1)
getStorageFolder(ResourceKey<Level> arg0, Path arg1)
method_12488(class_5321<class_1937> arg0, Path arg1)
m_hfwhfkji(C_xhhleach<C_cdctfzbn> arg0, Path arg1)
getSaveDirectory(RegistryKey<World> worldRef, Path worldDirectory)
getSaveDirectory(RegistryKey<World> worldRef, Path worldDirectory)
m_196975_(C_5264_<C_1596_> p_196976_, Path p_196977_)
public boolean
a()
hasFixedTime()
method_29960()
m_svtdnzmm()
hasFixedTime()
hasFixedTime()
m_63967_()
public float
a(long arg0)
timeOfDay(long arg0)
method_28528(long arg0)
m_uvdjounx(long arg0)
getSkyAngle(long time)
getSkyAngle(long time)
m_63904_(long arg0)
public int
b(long arg0)
moonPhase(long arg0)
method_28531(long arg0)
m_bvmwwece(long arg0)
getMoonPhase(long time)
getMoonPhase(long time)
m_63936_(long arg0)
public boolean
b()
piglinSafe()
method_44220()
m_vzorrwuq()
piglinSafe()
isPiglinSafe()
m_63960_()
public boolean
c()
hasRaids()
method_44221()
m_fcjfwdgg()
hasRaids()
hasRaids()
m_63963_()
public IntProvider
d()
monsterSpawnLightTest()
method_44222()
m_kphcfmrd()
monsterSpawnLightTest()
getMonsterSpawnLightLevel()
m_223569_()
public int
e()
monsterSpawnBlockLightLimit()
method_44223()
m_qgqulile()
monsterSpawnBlockLightLimit()
getMonsterSpawnBlockLightLimit()
m_223570_()
public OptionalLong
f()
fixedTime()
comp_641()
m_kphkolwt()
fixedTime()
fixedTime()
f_63854_()
public boolean
g()
hasSkyLight()
comp_642()
m_umhfeubo()
hasSkyLight()
hasSkyLight()
f_223549_()
public boolean
h()
hasCeiling()
comp_643()
m_hqnnzwft()
hasCeiling()
hasCeiling()
f_63856_()
public boolean
i()
ultraWarm()
comp_644()
m_meojxnac()
ultrawarm()
ultraWarm()
f_63857_()
public boolean
j()
natural()
comp_645()
m_rtgbuliy()
natural()
natural()
f_63858_()
public double
k()
coordinateScale()
comp_646()
m_eitmaoto()
coordinateScale()
coordinateScale()
f_63859_()
public boolean
l()
bedWorks()
comp_648()
m_qivvzltf()
bedWorks()
bedWorks()
f_63862_()
public boolean
m()
respawnAnchorWorks()
comp_649()
m_ejhwgict()
respawnAnchorWorks()
respawnAnchorWorks()
f_63863_()
public int
n()
minY()
comp_651()
m_lcjwyybs()
minY()
minY()
f_156647_()
public int
o()
height()
comp_652()
m_rucgsjun()
height()
height()
f_156648_()
public int
p()
logicalHeight()
comp_653()
m_zjkwbydw()
logicalHeight()
logicalHeight()
f_63865_()
public TagKey<Block>
q()
infiniburn()
comp_654()
m_tvbmsqde()
infiniburn()
infiniburn()
f_63836_()
public ResourceLocation
r()
effectsLocation()
comp_655()
m_fttmuzhe()
effects()
effectsLocation()
f_63837_()
public float
s()
ambientLight()
comp_656()
m_ktijzmbk()
ambientLight()
ambientLight()
f_63838_()
public DimensionType$MonsterSettings
t()
monsterSettings()
comp_847()
m_ehffcrrz()
monsterSettings()
monsterSettings()
f_223550_()