net.minecraft.world.level.dimension

public record DimensionType

dwy
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
private final OptionalLong
l
fixedTime
comp_641
fixedTime
f_63854_
private final boolean
m
hasSkyLight
comp_642
hasSkyLight
f_223549_
private final boolean
n
hasCeiling
comp_643
hasCeiling
f_63856_
private final boolean
o
ultraWarm
comp_644
ultrawarm
f_63857_
private final boolean
p
natural
comp_645
natural
f_63858_
private final double
q
coordinateScale
comp_646
coordinateScale
f_63859_
private final boolean
r
bedWorks
comp_648
bedWorks
f_63862_
private final boolean
s
respawnAnchorWorks
comp_649
respawnAnchorWorks
f_63863_
private final int
t
minY
comp_651
minY
f_156647_
private final int
u
height
comp_652
height
f_156648_
private final int
v
logicalHeight
comp_653
logicalHeight
f_63865_
private final TagKey<Block>
w
infiniburn
comp_654
infiniburn
f_63836_
private final ResourceLocation
x
effectsLocation
comp_655
effects
f_63837_
private final float
y
ambientLight
comp_656
ambientLight
f_63838_
private final DimensionType$MonsterSettings
z
monsterSettings
comp_847
monsterSettings
f_223550_
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 int
f
WAY_ABOVE_MAX_Y
field_35478
field_35478
f_188293_
public static final int
g
WAY_BELOW_MIN_Y
field_35479
field_35479
f_188294_
public static final com.mojang.serialization.Codec<DimensionType>
h
DIRECT_CODEC
field_24757
CODEC
f_63843_
public static final StreamCodec<RegistryFriendlyByteBuf, Holder<DimensionType>>
i
STREAM_CODEC
field_51951
PACKET_CODEC
f_337068_
private static final int
A
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 com.mojang.serialization.Codec<Holder<DimensionType>>
k
CODEC
field_24756
REGISTRY_CODEC
f_63853_

Constructor summary

ModifierConstructor
public (OptionalLong fixedTime, boolean hasSkylight, boolean ultraWarm, boolean ultrawarm, boolean coordinateScale, double coordinateScale, boolean minY, boolean piglinSafe, int logicalHeight, int infiniburn, int effectsLocation, TagKey<Block> ambientLight, ResourceLocation monsterSettings, float arg13, DimensionType$MonsterSettings arg14)

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)
worldFromDimensionNbt(com.mojang.serialization.Dynamic<?> nbt)
m_63911_(com.mojang.serialization.Dynamic<?> p_63912_)
public static double
a(dwy arg0, dwy 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 static Path
a(akq<dcw> arg0, Path arg1)
getStorageFolder(ResourceKey<Level> arg0, Path arg1)
method_12488(class_5321<class_1937> arg0, Path arg1)
getSaveDirectory(RegistryKey<World> worldRef, Path worldDirectory)
m_196975_(C_5264_<C_1596_> p_196976_, Path p_196977_)
public boolean
a()
hasFixedTime()
method_29960()
hasFixedTime()
m_63967_()
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 boolean
b()
piglinSafe()
method_44220()
piglinSafe()
m_63960_()
public boolean
c()
hasRaids()
method_44221()
hasRaids()
m_63963_()
public IntProvider
d()
monsterSpawnLightTest()
method_44222()
monsterSpawnLightTest()
m_223569_()
public int
e()
monsterSpawnBlockLightLimit()
method_44223()
monsterSpawnBlockLightLimit()
m_223570_()
public OptionalLong
f()
fixedTime()
comp_641()
fixedTime()
f_63854_()
public boolean
g()
hasSkyLight()
comp_642()
hasSkyLight()
f_223549_()
public boolean
h()
hasCeiling()
comp_643()
hasCeiling()
f_63856_()
public boolean
i()
ultraWarm()
comp_644()
ultrawarm()
f_63857_()
public boolean
j()
natural()
comp_645()
natural()
f_63858_()
public double
k()
coordinateScale()
comp_646()
coordinateScale()
f_63859_()
public boolean
l()
bedWorks()
comp_648()
bedWorks()
f_63862_()
public boolean
m()
respawnAnchorWorks()
comp_649()
respawnAnchorWorks()
f_63863_()
public int
n()
minY()
comp_651()
minY()
f_156647_()
public int
o()
height()
comp_652()
height()
f_156648_()
public int
p()
logicalHeight()
comp_653()
logicalHeight()
f_63865_()
public TagKey<Block>
q()
infiniburn()
comp_654()
infiniburn()
f_63836_()
public ResourceLocation
r()
effectsLocation()
comp_655()
effects()
f_63837_()
public float
s()
ambientLight()
comp_656()
ambientLight()
f_63838_()
public DimensionType$MonsterSettings
t()
monsterSettings()
comp_847()
monsterSettings()
f_223550_()