net.minecraft.world.level.dimension

public record DimensionType

dcb
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
k
fixedTime
comp_641
fixedTime
f_63854_
private final boolean
l
hasSkyLight
comp_642
hasSkyLight
f_223549_
private final boolean
m
hasCeiling
comp_643
hasCeiling
f_63856_
private final boolean
n
ultraWarm
comp_644
ultrawarm
f_63857_
private final boolean
o
natural
comp_645
natural
f_63858_
private final double
p
coordinateScale
comp_646
coordinateScale
f_63859_
private final boolean
q
bedWorks
comp_648
bedWorks
f_63862_
private final boolean
r
respawnAnchorWorks
comp_649
respawnAnchorWorks
f_63863_
private final int
s
minY
comp_651
minY
f_156647_
private final int
t
height
comp_652
height
f_156648_
private final int
u
logicalHeight
comp_653
logicalHeight
f_63865_
private final TagKey<Block>
v
infiniburn
comp_654
infiniburn
f_63836_
private final ResourceLocation
w
effectsLocation
comp_655
effects
f_63837_
private final float
x
ambientLight
comp_656
ambientLight
f_63838_
private final DimensionType$MonsterSettings
y
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_
private static final int
z
MOON_PHASES
field_31440
field_31440
f_156654_
public static final float[]
i
MOON_BRIGHTNESS_PER_PHASE
field_24752
MOON_SIZES
f_63844_
public static final com.mojang.serialization.Codec<Holder<DimensionType>>
j
CODEC
field_24756
REGISTRY_CODEC
f_63853_

Constructor summary

ModifierConstructor
public (OptionalLong fixedTime, boolean hasSkylight, boolean f_63857_, boolean ultrawarm, boolean f_63859_, double coordinateScale, boolean f_156647_, boolean piglinSafe, int f_63865_, int f_63836_, int f_63837_, TagKey<Block> f_63838_, ResourceLocation f_223550_, 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(dcb arg0, dcb 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(ace<cjw> 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_()