net.minecraft.world.level.dimension

public class DimensionType

cry
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
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
f_lxemnxqx
SIZE_BITS_Y
SIZE_BITS_Y
f_156649_
public static final int
b
MIN_HEIGHT
field_33411
f_qnycowon
field_33411
f_qnycowon
f_156650_
public static final int
c
Y_SIZE
field_28134
f_iilfmdxv
MAX_HEIGHT
MAX_HEIGHT
f_156651_
public static final int
d
MAX_Y
field_28135
f_eyjygtak
MAX_COLUMN_HEIGHT
MAX_COLUMN_HEIGHT
f_156652_
public static final int
e
MIN_Y
field_28136
f_exnsbfbw
MIN_HEIGHT
MIN_HEIGHT
f_156653_
public static final int
f
WAY_ABOVE_MAX_Y
field_35478
f_yopgdmky
field_35478
f_yopgdmky
f_188293_
public static final int
g
WAY_BELOW_MIN_Y
field_35479
f_hmvxmnvw
field_35479
f_hmvxmnvw
f_188294_
public static final ResourceLocation
h
OVERWORLD_EFFECTS
field_26752
f_itaiwzyt
OVERWORLD_ID
OVERWORLD_ID
f_63840_
public static final ResourceLocation
i
NETHER_EFFECTS
field_26753
f_imkkupwl
THE_NETHER_ID
THE_NETHER_ID
f_63841_
public static final ResourceLocation
j
END_EFFECTS
field_26754
f_wnrkuyhr
THE_END_ID
THE_END_ID
f_63842_
public static final com.mojang.serialization.Codec<DimensionType>
k
DIRECT_CODEC
field_24757
f_iulsvlis
CODEC
CODEC
f_63843_
private static final int
v
MOON_PHASES
field_31440
f_mfsbixmi
field_31440
f_mfsbixmi
f_156654_
public static final float[]
l
MOON_BRIGHTNESS_PER_PHASE
field_24752
f_wcytkhzw
MOON_SIZES
MOON_SIZES
f_63844_
public static final ResourceKey<DimensionType>
m
OVERWORLD_LOCATION
field_24753
f_sbyvrrhn
OVERWORLD_REGISTRY_KEY
OVERWORLD_REGISTRY_KEY
f_63845_
public static final ResourceKey<DimensionType>
n
NETHER_LOCATION
field_24754
f_ataxqhvm
THE_NETHER_REGISTRY_KEY
THE_NETHER_REGISTRY_KEY
f_63846_
public static final ResourceKey<DimensionType>
o
END_LOCATION
field_24755
f_drplyonl
THE_END_REGISTRY_KEY
THE_END_REGISTRY_KEY
f_63847_
protected static final DimensionType
p
DEFAULT_OVERWORLD
field_25407
f_qroblick
OVERWORLD
OVERWORLD
f_63848_
protected static final DimensionType
q
DEFAULT_NETHER
field_25408
f_wizvneyd
THE_NETHER
THE_NETHER
f_63849_
protected static final DimensionType
r
DEFAULT_END
field_25409
f_ifzukirc
THE_END
THE_END
f_63850_
public static final ResourceKey<DimensionType>
s
OVERWORLD_CAVES_LOCATION
field_25610
f_cczegips
OVERWORLD_CAVES_REGISTRY_KEY
OVERWORLD_CAVES_REGISTRY_KEY
f_63851_
protected static final DimensionType
t
DEFAULT_OVERWORLD_CAVES
field_25611
f_xwjfraje
OVERWORLD_CAVES
OVERWORLD_CAVES
f_63852_
public static final com.mojang.serialization.Codec<Holder<DimensionType>>
u
CODEC
field_24756
f_cdpesyot
REGISTRY_CODEC
REGISTRY_CODEC
f_63853_
private final OptionalLong
w
fixedTime
field_24761
f_oslxdjvx
fixedTime
fixedTime
f_63854_
private final boolean
x
hasSkylight
field_13073
f_kqwnujbn
hasSkyLight
hasSkyLight
f_63855_
private final boolean
y
hasCeiling
field_24504
f_ktrqqmye
hasCeiling
hasCeiling
f_63856_
private final boolean
z
ultraWarm
field_24505
f_ocwuqzjl
ultrawarm
ultrawarm
f_63857_
private final boolean
A
natural
field_24762
f_vrlzepdd
natural
natural
f_63858_
private final double
B
coordinateScale
field_26706
f_nirqrruq
coordinateScale
coordinateScale
f_63859_
private final boolean
C
createDragonFight
field_24764
f_dtbeiorw
hasEnderDragonFight
hasEnderDragonFight
f_63860_
private final boolean
D
piglinSafe
field_25612
f_pclmmodh
piglinSafe
piglinSafe
f_63861_
private final boolean
E
bedWorks
field_25613
f_bcecvbdh
bedWorks
bedWorks
f_63862_
private final boolean
F
respawnAnchorWorks
field_25614
f_rykbxwzz
respawnAnchorWorks
respawnAnchorWorks
f_63863_
private final boolean
G
hasRaids
field_25615
f_kpltwezk
hasRaids
hasRaids
f_63864_
private final int
H
minY
field_25616
f_jlzhdrnp
minimumY
minimumY
f_156647_
private final int
I
height
field_28131
f_xbhtvssb
height
height
f_156648_
private final int
J
logicalHeight
field_28132
f_ivuvsukm
logicalHeight
logicalHeight
f_63865_
private final TagKey<Block>
K
infiniburn
field_25617
f_zxepzgfy
infiniburn
infiniburn
f_63836_
private final ResourceLocation
L
effectsLocation
field_26751
f_woerqpsf
effects
skyProperties
f_63837_
private final float
M
ambientLight
field_24766
f_ckygwuem
ambientLight
ambientLight
f_63838_
private final transient float[]
N
brightnessRamp
field_24767
f_mfihgoge
brightnessByLightLevel
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)
m_aflsfitv(C_oxijnccf arg0)
checkHeight(DimensionType type)
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)
m_tfyjship(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, C_ednuhnnn<C_mmxmpdoq> arg14, C_ncpywfca 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)
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 infiniburn, 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)
m_nhxoauab(float arg0)
computeBrightnessByLightLevel(float ambientLight)
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)
m_raqrpdsz(com.mojang.serialization.Dynamic<?> arg0)
worldFromDimensionNbt(com.mojang.serialization.Dynamic<?> nbt)
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)
m_goquikia(C_wqxmvzdq$C_qndozwiw arg0)
addRegistryDefaults(DynamicRegistryManager$Mutable registryManager)
addRegistryDefaults(DynamicRegistryManager$Writable arg0)
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)
m_gijjhmpj(C_wqxmvzdq arg0, long arg1)
createDefaultDimensionOptions(DynamicRegistryManager registryManager, long seed)
m_gijjhmpj(DynamicRegistryManager arg0, long arg1)
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)
m_ysorabyd(C_wqxmvzdq arg0, long arg1, boolean arg2)
createDefaultDimensionOptions(DynamicRegistryManager registryManager, long seed, boolean arg2)
m_ysorabyd(DynamicRegistryManager arg0, long arg1, 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)
m_txmcpmrx(C_oxijnccf arg0, C_oxijnccf arg1)
getCoordinateScaleFactor(DimensionType fromDimension, DimensionType toDimension)
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)
m_hfwhfkji(C_xhhleach<C_cdctfzbn> arg0, Path arg1)
getSaveDirectory(RegistryKey<World> worldRef, Path worldDirectory)
getSaveDirectory(RegistryKey<World> worldRef, Path worldDirectory)
m_196975_(C_5264_<C_1596_> p_196976_, Path p_196977_)
public boolean
a()
hasSkyLight()
method_12491()
m_umhfeubo()
hasSkyLight()
hasSkyLight()
m_63935_()
public boolean
b()
hasCeiling()
method_27998()
m_hqnnzwft()
hasCeiling()
hasCeiling()
m_63946_()
public boolean
c()
ultraWarm()
method_27999()
m_meojxnac()
isUltrawarm()
isUltrawarm()
m_63951_()
public boolean
d()
natural()
method_28537()
m_rtgbuliy()
isNatural()
isNatural()
m_63956_()
public double
e()
coordinateScale()
method_31110()
m_eitmaoto()
getCoordinateScale()
getCoordinateScale()
m_63959_()
public boolean
f()
piglinSafe()
method_29955()
m_vzorrwuq()
isPiglinSafe()
isPiglinSafe()
m_63960_()
public boolean
g()
bedWorks()
method_29956()
m_qivvzltf()
isBedWorking()
isBedWorking()
m_63961_()
public boolean
h()
respawnAnchorWorks()
method_29957()
m_ejhwgict()
isRespawnAnchorWorking()
isRespawnAnchorWorking()
m_63962_()
public boolean
i()
hasRaids()
method_29958()
m_fcjfwdgg()
hasRaids()
hasRaids()
m_63963_()
public int
j()
minY()
method_29959()
m_lcjwyybs()
getMinimumY()
getMinimumY()
m_156732_()
public int
k()
height()
method_32924()
m_rucgsjun()
getHeight()
getHeight()
m_156733_()
public int
l()
logicalHeight()
method_32925()
m_zjkwbydw()
getLogicalHeight()
getLogicalHeight()
m_63964_()
public boolean
m()
createDragonFight()
method_28540()
m_nqwjhvtj()
hasEnderDragonFight()
hasEnderDragonFight()
m_63965_()
public boolean
n()
hasFixedTime()
method_29960()
m_svtdnzmm()
hasFixedTime()
hasFixedTime()
m_63967_()
public float
a(long arg0)
timeOfDay(long arg0)
method_28528(long arg0)
m_uvdjounx(long arg0)
getSkyAngle(long time)
getSkyAngle(long time)
m_63904_(long arg0)
public int
b(long arg0)
moonPhase(long arg0)
method_28531(long arg0)
m_bvmwwece(long arg0)
getMoonPhase(long time)
getMoonPhase(long time)
m_63936_(long arg0)
public float
a(int arg0)
brightness(int arg0)
method_28516(int arg0)
m_uikvzuaj(int arg0)
getBrightness(int lightLevel)
getBrightness(int lightLevel)
m_63902_(int arg0)
public TagKey<Block>
o()
infiniburn()
method_29961()
m_tvbmsqde()
getInfiniburnBlocks()
getInfiniburnBlocks()
m_204517_()
public ResourceLocation
p()
effectsLocation()
method_31181()
m_fttmuzhe()
getEffects()
getSkyProperties()
m_63969_()