net.minecraft.world.level.dimension

public record DimensionType

eee
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

Field summary

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

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)
public static double
a(eee arg0, eee 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)
public static Path
a(alf<dja> 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)
public boolean
a()
hasFixedTime()
method_29960()
m_svtdnzmm()
hasFixedTime()
hasFixedTime()
public float
a(long arg0)
timeOfDay(long arg0)
method_28528(long arg0)
m_uvdjounx(long arg0)
getSkyAngle(long time)
getSkyAngle(long time)
public int
b(long arg0)
moonPhase(long arg0)
method_28531(long arg0)
m_bvmwwece(long arg0)
getMoonPhase(long time)
getMoonPhase(long time)
public boolean
b()
piglinSafe()
method_44220()
m_vzorrwuq()
piglinSafe()
isPiglinSafe()
public boolean
c()
hasRaids()
method_44221()
m_fcjfwdgg()
hasRaids()
hasRaids()
public IntProvider
d()
monsterSpawnLightTest()
method_44222()
m_kphcfmrd()
monsterSpawnLightTest()
getMonsterSpawnLightLevel()
public int
e()
monsterSpawnBlockLightLimit()
method_44223()
m_qgqulile()
monsterSpawnBlockLightLimit()
getMonsterSpawnBlockLightLimit()
public OptionalLong
f()
fixedTime()
comp_641()
m_kphkolwt()
fixedTime()
fixedTime()
public boolean
g()
hasSkyLight()
comp_642()
m_umhfeubo()
hasSkyLight()
hasSkyLight()
public boolean
h()
hasCeiling()
comp_643()
m_hqnnzwft()
hasCeiling()
hasCeiling()
public boolean
i()
ultraWarm()
comp_644()
m_meojxnac()
ultrawarm()
ultraWarm()
public boolean
j()
natural()
comp_645()
m_rtgbuliy()
natural()
natural()
public double
k()
coordinateScale()
comp_646()
m_eitmaoto()
coordinateScale()
coordinateScale()
public boolean
l()
bedWorks()
comp_648()
m_qivvzltf()
bedWorks()
bedWorks()
public boolean
m()
respawnAnchorWorks()
comp_649()
m_ejhwgict()
respawnAnchorWorks()
respawnAnchorWorks()
public int
n()
minY()
comp_651()
m_lcjwyybs()
minY()
minY()
public int
o()
height()
comp_652()
m_rucgsjun()
height()
height()
public int
p()
logicalHeight()
comp_653()
m_zjkwbydw()
logicalHeight()
logicalHeight()
public TagKey<Block>
q()
infiniburn()
comp_654()
m_tvbmsqde()
infiniburn()
infiniburn()
public ResourceLocation
r()
effectsLocation()
comp_655()
m_fttmuzhe()
effects()
effectsLocation()
public float
s()
ambientLight()
comp_656()
m_ktijzmbk()
ambientLight()
ambientLight()
public DimensionType$MonsterSettings
t()
monsterSettings()
comp_847()
m_ehffcrrz()
monsterSettings()
monsterSettings()