net.minecraft.world.level.dimension

public class DimensionType

cnu
net.minecraft.world.level.dimension.DimensionType
net.minecraft.class_2874
net.minecraft.unmapped.C_oxijnccf
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
f_156649_
public static final int
b
MIN_HEIGHT
field_33411
f_qnycowon
field_33411
f_156650_
public static final int
c
Y_SIZE
field_28134
f_iilfmdxv
MAX_HEIGHT
f_156651_
public static final int
d
MAX_Y
field_28135
f_eyjygtak
MAX_COLUMN_HEIGHT
f_156652_
public static final int
e
MIN_Y
field_28136
f_exnsbfbw
MIN_HEIGHT
f_156653_
public static final ResourceLocation
f
OVERWORLD_EFFECTS
field_26752
f_itaiwzyt
OVERWORLD_ID
f_63840_
public static final ResourceLocation
g
NETHER_EFFECTS
field_26753
f_imkkupwl
THE_NETHER_ID
f_63841_
public static final ResourceLocation
h
END_EFFECTS
field_26754
f_wnrkuyhr
THE_END_ID
f_63842_
public static final com.mojang.serialization.Codec<DimensionType>
i
DIRECT_CODEC
field_24757
f_iulsvlis
CODEC
f_63843_
private static final int
t
MOON_PHASES
field_31440
f_mfsbixmi
field_31440
f_156654_
public static final float[]
j
MOON_BRIGHTNESS_PER_PHASE
field_24752
f_wcytkhzw
MOON_SIZES
f_63844_
public static final ResourceKey<DimensionType>
k
OVERWORLD_LOCATION
field_24753
f_sbyvrrhn
OVERWORLD_REGISTRY_KEY
f_63845_
public static final ResourceKey<DimensionType>
l
NETHER_LOCATION
field_24754
f_ataxqhvm
THE_NETHER_REGISTRY_KEY
f_63846_
public static final ResourceKey<DimensionType>
m
END_LOCATION
field_24755
f_drplyonl
THE_END_REGISTRY_KEY
f_63847_
protected static final DimensionType
n
DEFAULT_OVERWORLD
field_25407
f_qroblick
OVERWORLD
f_63848_
protected static final DimensionType
o
DEFAULT_NETHER
field_25408
f_wizvneyd
THE_NETHER
f_63849_
protected static final DimensionType
p
DEFAULT_END
field_25409
f_ifzukirc
THE_END
f_63850_
public static final ResourceKey<DimensionType>
q
OVERWORLD_CAVES_LOCATION
field_25610
f_cczegips
OVERWORLD_CAVES_REGISTRY_KEY
f_63851_
protected static final DimensionType
r
DEFAULT_OVERWORLD_CAVES
field_25611
f_xwjfraje
OVERWORLD_CAVES
f_63852_
public static final com.mojang.serialization.Codec<Supplier<DimensionType>>
s
CODEC
field_24756
f_cdpesyot
REGISTRY_CODEC
f_63853_
private final OptionalLong
u
fixedTime
field_24761
f_oslxdjvx
fixedTime
f_63854_
private final boolean
v
hasSkylight
field_13073
f_kqwnujbn
hasSkyLight
f_63855_
private final boolean
w
hasCeiling
field_24504
f_ktrqqmye
hasCeiling
f_63856_
private final boolean
x
ultraWarm
field_24505
f_ocwuqzjl
ultrawarm
f_63857_
private final boolean
y
natural
field_24762
f_vrlzepdd
natural
f_63858_
private final double
z
coordinateScale
field_26706
f_nirqrruq
coordinateScale
f_63859_
private final boolean
A
createDragonFight
field_24764
f_dtbeiorw
hasEnderDragonFight
f_63860_
private final boolean
B
piglinSafe
field_25612
f_pclmmodh
piglinSafe
f_63861_
private final boolean
C
bedWorks
field_25613
f_bcecvbdh
bedWorks
f_63862_
private final boolean
D
respawnAnchorWorks
field_25614
f_rykbxwzz
respawnAnchorWorks
f_63863_
private final boolean
E
hasRaids
field_25615
f_kpltwezk
hasRaids
f_63864_
private final int
F
minY
field_25616
f_jlzhdrnp
minimumY
f_156647_
private final int
G
height
field_28131
f_xbhtvssb
height
f_156648_
private final int
H
logicalHeight
field_28132
f_ivuvsukm
logicalHeight
f_63865_
private final BiomeZoomer
I
biomeZoomer
field_20658
f_aokdfpvj
biomeAccessType
f_63835_
private final ResourceLocation
J
infiniburn
field_25617
f_zxepzgfy
infiniburn
f_63836_
private final ResourceLocation
K
effectsLocation
field_26751
f_woerqpsf
skyProperties
f_63837_
private final float
L
ambientLight
field_24766
f_ckygwuem
ambientLight
f_63838_
private final transient float[]
M
brightnessRamp
field_24767
f_mfihgoge
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, ResourceLocation infiniburn, ResourceLocation skyProperties, 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, BiomeZoomer biomeAccessType, ResourceLocation infiniburn, ResourceLocation skyProperties, float ambientLight)

Method summary

Modifier and TypeMethod
private static com.mojang.serialization.DataResult<DimensionType>
b(cnu arg0)
guardY(DimensionType arg0)
method_32923(class_2874 arg0)
m_aflsfitv(C_oxijnccf 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, bxt arg14, ww arg15, ww arg16, float arg17)
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, BiomeZoomer arg14, ResourceLocation arg15, ResourceLocation arg16, float arg17)
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_4545 arg14, class_2960 arg15, class_2960 arg16, float arg17)
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_qflfwbls arg14, C_ncpywfca arg15, C_ncpywfca arg16, float arg17)
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, BiomeAccessType biomeAccessType, Identifier infiniburn, Identifier skyProperties, float ambientLight)
m_156699_(OptionalLong p_156700_, boolean p_156701_, boolean p_156702_, boolean p_156703_, boolean p_156704_, double p_156705_, boolean p_156707_, boolean p_156708_, boolean p_156709_, boolean p_156710_, boolean p_156711_, int p_156712_, int p_156713_, int p_156714_, C_1654_ p_156715_, C_5265_ p_156716_, C_5265_ p_156717_, float arg17)
private static float[]
a(float arg0)
fillBrightnessRamp(float arg0)
method_28515(float arg0)
m_nhxoauab(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)
m_raqrpdsz(com.mojang.serialization.Dynamic<?> arg0)
worldFromDimensionNbt(com.mojang.serialization.Dynamic<?> nbt)
m_63911_(com.mojang.serialization.Dynamic<?> p_63912_)
public static RegistryAccess$RegistryHolder
a(gx$b arg0)
registerBuiltin(RegistryAccess$RegistryHolder arg0)
method_28523(class_5455$class_5457 arg0)
m_goquikia(C_wqxmvzdq$C_olezqsef arg0)
addRegistryDefaults(DynamicRegistryManager$Impl registryManager)
m_63926_(C_4706_$C_4708_ p_63927_)
private static ChunkGenerator
a(gw<bxo> arg0, gw<cpu> arg1, long arg2)
defaultEndGenerator(Registry<Biome> arg0, Registry<NoiseGeneratorSettings> arg1, long arg2)
method_28533(class_2378<class_1959> arg0, class_2378<class_5284> arg1, long arg2)
m_vvsqdstc(C_tqxyjqsk<C_orlkpefs> arg0, C_tqxyjqsk<C_lwpfhits> arg1, long arg2)
createEndGenerator(Registry<Biome> biomeRegistry, Registry<ChunkGeneratorSettings> chunkGeneratorSettingsRegistry, long seed)
m_63917_(C_4705_<C_1629_> p_63918_, C_4705_<C_2194_> p_63919_, long p_63920_)
private static ChunkGenerator
b(gw<bxo> arg0, gw<cpu> arg1, long arg2)
defaultNetherGenerator(Registry<Biome> arg0, Registry<NoiseGeneratorSettings> arg1, long arg2)
method_28535(class_2378<class_1959> arg0, class_2378<class_5284> arg1, long arg2)
m_zikrtoyo(C_tqxyjqsk<C_orlkpefs> arg0, C_tqxyjqsk<C_lwpfhits> arg1, long arg2)
createNetherGenerator(Registry<Biome> biomeRegistry, Registry<ChunkGeneratorSettings> chunkGeneratorSettingsRegistry, long seed)
m_63942_(C_4705_<C_1629_> p_63943_, C_4705_<C_2194_> p_63944_, long p_63945_)
public static MappedRegistry<LevelStem>
a(gw<cnu> arg0, gw<bxo> arg1, gw<cpu> arg2, long arg3)
defaultDimensions(Registry<DimensionType> arg0, Registry<Biome> arg1, Registry<NoiseGeneratorSettings> arg2, long arg3)
method_28517(class_2378<class_2874> arg0, class_2378<class_1959> arg1, class_2378<class_5284> arg2, long arg3)
m_dpbqitbz(C_tqxyjqsk<C_oxijnccf> arg0, C_tqxyjqsk<C_orlkpefs> arg1, C_tqxyjqsk<C_lwpfhits> arg2, long arg3)
createDefaultDimensionOptions(Registry<DimensionType> dimensionRegistry, Registry<Biome> biomeRegistry, Registry<ChunkGeneratorSettings> chunkGeneratorSettingsRegistry, long seed)
m_63921_(C_4705_<C_2175_> p_63922_, C_4705_<C_1629_> p_63923_, C_4705_<C_2194_> p_63924_, long p_63925_)
public static double
a(cnu arg0, cnu 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)
m_63908_(C_2175_ p_63909_, C_2175_ p_63910_)
public String
a()
getFileSuffix()
method_12489()
m_nfcocvzp()
getSuffix()
m_63899_()
getSuffix()
public static File
a(wv<bwp> arg0, File arg1)
getStorageFolder(ResourceKey<Level> arg0, File arg1)
method_12488(class_5321<class_1937> arg0, File arg1)
m_hfwhfkji(C_xhhleach<C_cdctfzbn> arg0, File arg1)
getSaveDirectory(RegistryKey<World> worldRef, File root)
m_63932_(C_5264_<C_1596_> p_63933_, File p_63934_)
public boolean
b()
hasSkyLight()
method_12491()
m_umhfeubo()
hasSkyLight()
m_63935_()
hasSkyLight()
public boolean
c()
hasCeiling()
method_27998()
m_hqnnzwft()
hasCeiling()
m_63946_()
hasCeiling()
public boolean
d()
ultraWarm()
method_27999()
m_meojxnac()
isUltrawarm()
m_63951_()
isNether()
public boolean
e()
natural()
method_28537()
m_rtgbuliy()
isNatural()
m_63956_()
isNatural()
public double
f()
coordinateScale()
method_31110()
m_eitmaoto()
getCoordinateScale()
m_63959_()
getCoordinateScale()
public boolean
g()
piglinSafe()
method_29955()
m_vzorrwuq()
isPiglinSafe()
m_63960_()
isPiglinSafe()
public boolean
h()
bedWorks()
method_29956()
m_qivvzltf()
isBedWorking()
m_63961_()
isBedWorks()
public boolean
i()
respawnAnchorWorks()
method_29957()
m_ejhwgict()
isRespawnAnchorWorking()
m_63962_()
isRespawnAnchorWorks()
public boolean
j()
hasRaids()
method_29958()
m_fcjfwdgg()
hasRaids()
m_63963_()
hasRaids()
public int
k()
minY()
method_29959()
m_lcjwyybs()
getMinimumY()
m_156732_()
getMinY()
public int
l()
height()
method_32924()
m_rucgsjun()
getHeight()
m_156733_()
getHeight()
public int
m()
logicalHeight()
method_32925()
m_zjkwbydw()
getLogicalHeight()
m_63964_()
getLogicalHeight()
public boolean
n()
createDragonFight()
method_28540()
m_nqwjhvtj()
hasEnderDragonFight()
m_63965_()
isCreateDragonBattle()
public BiomeZoomer
o()
getBiomeZoomer()
method_22415()
m_jjyekzpj()
getBiomeAccessType()
m_63966_()
getGenLayerZoomer()
public boolean
p()
hasFixedTime()
method_29960()
m_svtdnzmm()
hasFixedTime()
m_63967_()
isFixedTime()
public float
a(long arg0)
timeOfDay(long arg0)
method_28528(long arg0)
m_uvdjounx(long arg0)
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)
m_63936_(long arg0)
public float
a(int arg0)
brightness(int arg0)
method_28516(int arg0)
m_uikvzuaj(int arg0)
getBrightness(int lightLevel)
m_63902_(int arg0)
public Tag<Block>
q()
infiniburn()
method_29961()
m_tvbmsqde()
getInfiniburnBlocks()
m_63968_()
public ResourceLocation
r()
effectsLocation()
method_31181()
m_fttmuzhe()
getSkyProperties()
m_63969_()
public boolean
a(cnu arg0)
equalTo(DimensionType arg0)
method_31108(class_2874 arg0)
m_bgnxhrpi(C_oxijnccf arg0)
equals(DimensionType dimensionType)
m_63906_(C_2175_ arg0)