net.minecraft.world.level.dimension

public record DimensionType

ebq
net.minecraft.world.level.dimension.DimensionType
net.minecraft.class_2874
net.minecraft.world.dimension.DimensionType
net.minecraft.world.level.dimension.DimensionManager

Field summary

Modifier and TypeField
private final OptionalLong
l
fixedTime
comp_641
fixedTime
private final boolean
m
hasSkyLight
comp_642
hasSkyLight
private final boolean
n
hasCeiling
comp_643
hasCeiling
private final boolean
o
ultraWarm
comp_644
ultrawarm
private final boolean
p
natural
comp_645
natural
private final double
q
coordinateScale
comp_646
coordinateScale
private final boolean
r
bedWorks
comp_648
bedWorks
private final boolean
s
respawnAnchorWorks
comp_649
respawnAnchorWorks
private final int
t
minY
comp_651
minY
private final int
u
height
comp_652
height
private final int
v
logicalHeight
comp_653
logicalHeight
private final TagKey<Block>
w
infiniburn
comp_654
infiniburn
private final ResourceLocation
x
effectsLocation
comp_655
effects
private final float
y
ambientLight
comp_656
ambientLight
private final DimensionType$MonsterSettings
z
monsterSettings
comp_847
monsterSettings
public static final int
a
BITS_FOR_Y
field_28133
SIZE_BITS_Y
public static final int
b
MIN_HEIGHT
field_33411
field_33411
public static final int
c
Y_SIZE
field_28134
MAX_HEIGHT
public static final int
d
MAX_Y
field_28135
MAX_COLUMN_HEIGHT
public static final int
e
MIN_Y
field_28136
MIN_HEIGHT
public static final int
f
WAY_ABOVE_MAX_Y
field_35478
field_35478
public static final int
g
WAY_BELOW_MIN_Y
field_35479
field_35479
public static final com.mojang.serialization.Codec<DimensionType>
h
DIRECT_CODEC
field_24757
CODEC
public static final StreamCodec<RegistryFriendlyByteBuf, Holder<DimensionType>>
i
STREAM_CODEC
field_51951
PACKET_CODEC
private static final int
A
MOON_PHASES
field_31440
field_31440
public static final float[]
j
MOON_BRIGHTNESS_PER_PHASE
field_24752
MOON_SIZES
public static final com.mojang.serialization.Codec<Holder<DimensionType>>
k
CODEC
field_24756
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)
worldFromDimensionNbt(com.mojang.serialization.Dynamic<?> nbt)
public static double
a(ebq arg0, ebq arg1)
getTeleportationScale(DimensionType arg0, DimensionType arg1)
method_31109(class_2874 arg0, class_2874 arg1)
getCoordinateScaleFactor(DimensionType fromDimension, DimensionType toDimension)
public static Path
a(aly<dhi> arg0, Path arg1)
getStorageFolder(ResourceKey<Level> arg0, Path arg1)
method_12488(class_5321<class_1937> arg0, Path arg1)
getSaveDirectory(RegistryKey<World> worldRef, Path worldDirectory)
public boolean
a()
hasFixedTime()
method_29960()
hasFixedTime()
public float
a(long arg0)
timeOfDay(long arg0)
method_28528(long arg0)
getSkyAngle(long time)
public int
b(long arg0)
moonPhase(long arg0)
method_28531(long arg0)
getMoonPhase(long time)
public boolean
b()
piglinSafe()
method_44220()
piglinSafe()
public boolean
c()
hasRaids()
method_44221()
hasRaids()
public IntProvider
d()
monsterSpawnLightTest()
method_44222()
monsterSpawnLightTest()
public int
e()
monsterSpawnBlockLightLimit()
method_44223()
monsterSpawnBlockLightLimit()
public OptionalLong
f()
fixedTime()
comp_641()
fixedTime()
public boolean
g()
hasSkyLight()
comp_642()
hasSkyLight()
public boolean
h()
hasCeiling()
comp_643()
hasCeiling()
public boolean
i()
ultraWarm()
comp_644()
ultrawarm()
public boolean
j()
natural()
comp_645()
natural()
public double
k()
coordinateScale()
comp_646()
coordinateScale()
public boolean
l()
bedWorks()
comp_648()
bedWorks()
public boolean
m()
respawnAnchorWorks()
comp_649()
respawnAnchorWorks()
public int
n()
minY()
comp_651()
minY()
public int
o()
height()
comp_652()
height()
public int
p()
logicalHeight()
comp_653()
logicalHeight()
public TagKey<Block>
q()
infiniburn()
comp_654()
infiniburn()
public ResourceLocation
r()
effectsLocation()
comp_655()
effects()
public float
s()
ambientLight()
comp_656()
ambientLight()
public DimensionType$MonsterSettings
t()
monsterSettings()
comp_847()
monsterSettings()