net.minecraft.world.level.dimension

public class DimensionType

cry
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
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 ResourceLocation
h
OVERWORLD_EFFECTS
field_26752
OVERWORLD_ID
f_63840_
public static final ResourceLocation
i
NETHER_EFFECTS
field_26753
THE_NETHER_ID
f_63841_
public static final ResourceLocation
j
END_EFFECTS
field_26754
THE_END_ID
f_63842_
public static final com.mojang.serialization.Codec<DimensionType>
k
DIRECT_CODEC
field_24757
CODEC
f_63843_
private static final int
v
MOON_PHASES
field_31440
field_31440
f_156654_
public static final float[]
l
MOON_BRIGHTNESS_PER_PHASE
field_24752
MOON_SIZES
f_63844_
public static final ResourceKey<DimensionType>
m
OVERWORLD_LOCATION
field_24753
OVERWORLD_REGISTRY_KEY
f_63845_
public static final ResourceKey<DimensionType>
n
NETHER_LOCATION
field_24754
THE_NETHER_REGISTRY_KEY
f_63846_
public static final ResourceKey<DimensionType>
o
END_LOCATION
field_24755
THE_END_REGISTRY_KEY
f_63847_
protected static final DimensionType
p
DEFAULT_OVERWORLD
field_25407
OVERWORLD
f_63848_
protected static final DimensionType
q
DEFAULT_NETHER
field_25408
THE_NETHER
f_63849_
protected static final DimensionType
r
DEFAULT_END
field_25409
THE_END
f_63850_
public static final ResourceKey<DimensionType>
s
OVERWORLD_CAVES_LOCATION
field_25610
OVERWORLD_CAVES_REGISTRY_KEY
f_63851_
protected static final DimensionType
t
DEFAULT_OVERWORLD_CAVES
field_25611
OVERWORLD_CAVES
f_63852_
public static final com.mojang.serialization.Codec<Holder<DimensionType>>
u
CODEC
field_24756
REGISTRY_CODEC
f_63853_
private final OptionalLong
w
fixedTime
field_24761
fixedTime
f_63854_
private final boolean
x
hasSkylight
field_13073
hasSkyLight
f_63855_
private final boolean
y
hasCeiling
field_24504
hasCeiling
f_63856_
private final boolean
z
ultraWarm
field_24505
ultrawarm
f_63857_
private final boolean
A
natural
field_24762
natural
f_63858_
private final double
B
coordinateScale
field_26706
coordinateScale
f_63859_
private final boolean
C
createDragonFight
field_24764
hasEnderDragonFight
f_63860_
private final boolean
D
piglinSafe
field_25612
piglinSafe
f_63861_
private final boolean
E
bedWorks
field_25613
bedWorks
f_63862_
private final boolean
F
respawnAnchorWorks
field_25614
respawnAnchorWorks
f_63863_
private final boolean
G
hasRaids
field_25615
hasRaids
f_63864_
private final int
H
minY
field_25616
minimumY
f_156647_
private final int
I
height
field_28131
height
f_156648_
private final int
J
logicalHeight
field_28132
logicalHeight
f_63865_
private final TagKey<Block>
K
infiniburn
field_25617
infiniburn
f_63836_
private final ResourceLocation
L
effectsLocation
field_26751
effects
f_63837_
private final float
M
ambientLight
field_24766
ambientLight
f_63838_
private final transient float[]
N
brightnessRamp
field_24767
brightnessByLightLevel
f_63839_

Constructor summary

ModifierConstructor
private (OptionalLong fixedTime, boolean hasSkylight, boolean hasCeiling, boolean ultrawarm, boolean natural, double coordinateScale, boolean piglinSafe, boolean bedWorks, boolean respawnAnchorWorks, boolean hasRaids, int minimumY, int height, int logicalHeight, TagKey<Block> p_204469_, ResourceLocation effects, float ambientLight)
private (OptionalLong fixedTime, boolean hasSkylight, boolean hasCeiling, boolean ultrawarm, boolean natural, double coordinateScale, boolean hasEnderDragonFight, boolean piglinSafe, boolean bedWorks, boolean respawnAnchorWorks, boolean hasRaids, int minimumY, int height, int logicalHeight, TagKey<Block> p_204487_, ResourceLocation effects, float ambientLight)

Method summary

Modifier and TypeMethod
private static com.mojang.serialization.DataResult<DimensionType>
a(cry arg0)
guardY(DimensionType arg0)
method_32923(class_2874 arg0)
checkHeight(DimensionType type)
m_156718_(C_2175_ p_156719_)
public static DimensionType
a(OptionalLong arg0, boolean arg1, boolean arg2, boolean arg3, boolean arg4, double arg5, boolean arg6, boolean arg7, boolean arg8, boolean arg9, boolean arg10, int arg11, int arg12, int arg13, aif<cdq> arg14, yt arg15, float arg16)
create(OptionalLong arg0, boolean arg1, boolean arg2, boolean arg3, boolean arg4, double arg5, boolean arg6, boolean arg7, boolean arg8, boolean arg9, boolean arg10, int arg11, int arg12, int arg13, TagKey<Block> arg14, ResourceLocation arg15, float arg16)
method_32922(OptionalLong arg0, boolean arg1, boolean arg2, boolean arg3, boolean arg4, double arg5, boolean arg6, boolean arg7, boolean arg8, boolean arg9, boolean arg10, int arg11, int arg12, int arg13, class_6862<class_2248> arg14, class_2960 arg15, float arg16)
create(OptionalLong fixedTime, boolean hasSkylight, boolean hasCeiling, boolean ultrawarm, boolean natural, double coordinateScale, boolean hasEnderDragonFight, boolean piglinSafe, boolean bedWorks, boolean respawnAnchorWorks, boolean hasRaids, int minimumY, int height, int logicalHeight, TagKey<Block> arg14, Identifier effects, float ambientLight)
m_204497_(OptionalLong p_204498_, boolean p_204499_, boolean p_204500_, boolean p_204501_, boolean p_204502_, double p_204503_, boolean p_204505_, boolean p_204506_, boolean p_204507_, boolean p_204508_, boolean p_204509_, int p_204510_, int p_204511_, int p_204512_, C_203208_<C_1706_> p_204513_, C_5265_ p_204514_, float arg16)
private static float[]
a(float arg0)
fillBrightnessRamp(float arg0)
method_28515(float arg0)
computeBrightnessByLightLevel(float ambientLight)
m_63900_(float p_63901_)
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 RegistryAccess$Writable
a(hc$e arg0)
registerBuiltin(RegistryAccess$Writable arg0)
method_28523(class_5455$class_6893 arg0)
addRegistryDefaults(DynamicRegistryManager$Mutable registryManager)
m_204488_(C_4706_$C_203243_ p_204489_)
public static Registry<LevelStem>
a(hc arg0, long arg1)
defaultDimensions(RegistryAccess arg0, long arg1)
method_39540(class_5455 arg0, long arg1)
createDefaultDimensionOptions(DynamicRegistryManager registryManager, long seed)
m_204490_(C_4706_ p_204491_, long p_204492_)
public static Registry<LevelStem>
a(hc arg0, long arg1, boolean arg2)
defaultDimensions(RegistryAccess arg0, long arg1, boolean arg2)
method_28517(class_5455 arg0, long arg1, boolean arg2)
createDefaultDimensionOptions(DynamicRegistryManager registryManager, long seed, boolean arg2)
m_204493_(C_4706_ p_204494_, long p_204495_, boolean arg2)
public static double
a(cry arg0, cry 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(ys<cav> 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()
hasSkyLight()
method_12491()
hasSkyLight()
m_63935_()
public boolean
b()
hasCeiling()
method_27998()
hasCeiling()
m_63946_()
public boolean
c()
ultraWarm()
method_27999()
isUltrawarm()
m_63951_()
public boolean
d()
natural()
method_28537()
isNatural()
m_63956_()
public double
e()
coordinateScale()
method_31110()
getCoordinateScale()
m_63959_()
public boolean
f()
piglinSafe()
method_29955()
isPiglinSafe()
m_63960_()
public boolean
g()
bedWorks()
method_29956()
isBedWorking()
m_63961_()
public boolean
h()
respawnAnchorWorks()
method_29957()
isRespawnAnchorWorking()
m_63962_()
public boolean
i()
hasRaids()
method_29958()
hasRaids()
m_63963_()
public int
j()
minY()
method_29959()
getMinimumY()
m_156732_()
public int
k()
height()
method_32924()
getHeight()
m_156733_()
public int
l()
logicalHeight()
method_32925()
getLogicalHeight()
m_63964_()
public boolean
m()
createDragonFight()
method_28540()
hasEnderDragonFight()
m_63965_()
public boolean
n()
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 float
a(int arg0)
brightness(int arg0)
method_28516(int arg0)
getBrightness(int lightLevel)
m_63902_(int arg0)
public TagKey<Block>
o()
infiniburn()
method_29961()
getInfiniburnBlocks()
m_204517_()
public ResourceLocation
p()
effectsLocation()
method_31181()
getEffects()
m_63969_()