net.minecraft.world.level.dimension

public class DimensionType

crg
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 int
f
WAY_ABOVE_MAX_Y
field_35478
f_yopgdmky
field_35478
f_188293_
public static final int
g
WAY_BELOW_MIN_Y
field_35479
f_hmvxmnvw
field_35479
f_188294_
public static final ResourceLocation
h
OVERWORLD_EFFECTS
field_26752
f_itaiwzyt
OVERWORLD_ID
f_63840_
public static final ResourceLocation
i
NETHER_EFFECTS
field_26753
f_imkkupwl
THE_NETHER_ID
f_63841_
public static final ResourceLocation
j
END_EFFECTS
field_26754
f_wnrkuyhr
THE_END_ID
f_63842_
public static final com.mojang.serialization.Codec<DimensionType>
k
DIRECT_CODEC
field_24757
f_iulsvlis
CODEC
f_63843_
private static final int
v
MOON_PHASES
field_31440
f_mfsbixmi
field_31440
f_156654_
public static final float[]
l
MOON_BRIGHTNESS_PER_PHASE
field_24752
f_wcytkhzw
MOON_SIZES
f_63844_
public static final ResourceKey<DimensionType>
m
OVERWORLD_LOCATION
field_24753
f_sbyvrrhn
OVERWORLD_REGISTRY_KEY
f_63845_
public static final ResourceKey<DimensionType>
n
NETHER_LOCATION
field_24754
f_ataxqhvm
THE_NETHER_REGISTRY_KEY
f_63846_
public static final ResourceKey<DimensionType>
o
END_LOCATION
field_24755
f_drplyonl
THE_END_REGISTRY_KEY
f_63847_
protected static final DimensionType
p
DEFAULT_OVERWORLD
field_25407
f_qroblick
OVERWORLD
f_63848_
protected static final DimensionType
q
DEFAULT_NETHER
field_25408
f_wizvneyd
THE_NETHER
f_63849_
protected static final DimensionType
r
DEFAULT_END
field_25409
f_ifzukirc
THE_END
f_63850_
public static final ResourceKey<DimensionType>
s
OVERWORLD_CAVES_LOCATION
field_25610
f_cczegips
OVERWORLD_CAVES_REGISTRY_KEY
f_63851_
protected static final DimensionType
t
DEFAULT_OVERWORLD_CAVES
field_25611
f_xwjfraje
OVERWORLD_CAVES
f_63852_
public static final com.mojang.serialization.Codec<Supplier<DimensionType>>
u
CODEC
field_24756
f_cdpesyot
REGISTRY_CODEC
f_63853_
private final OptionalLong
w
fixedTime
field_24761
f_oslxdjvx
fixedTime
f_63854_
private final boolean
x
hasSkylight
field_13073
f_kqwnujbn
hasSkyLight
f_63855_
private final boolean
y
hasCeiling
field_24504
f_ktrqqmye
hasCeiling
f_63856_
private final boolean
z
ultraWarm
field_24505
f_ocwuqzjl
ultrawarm
f_63857_
private final boolean
A
natural
field_24762
f_vrlzepdd
natural
f_63858_
private final double
B
coordinateScale
field_26706
f_nirqrruq
coordinateScale
f_63859_
private final boolean
C
createDragonFight
field_24764
f_dtbeiorw
hasEnderDragonFight
f_63860_
private final boolean
D
piglinSafe
field_25612
f_pclmmodh
piglinSafe
f_63861_
private final boolean
E
bedWorks
field_25613
f_bcecvbdh
bedWorks
f_63862_
private final boolean
F
respawnAnchorWorks
field_25614
f_rykbxwzz
respawnAnchorWorks
f_63863_
private final boolean
G
hasRaids
field_25615
f_kpltwezk
hasRaids
f_63864_
private final int
H
minY
field_25616
f_jlzhdrnp
minimumY
f_156647_
private final int
I
height
field_28131
f_xbhtvssb
height
f_156648_
private final int
J
logicalHeight
field_28132
f_ivuvsukm
logicalHeight
f_63865_
private final ResourceLocation
K
infiniburn
field_25617
f_zxepzgfy
infiniburn
f_63836_
private final ResourceLocation
L
effectsLocation
field_26751
f_woerqpsf
effects
f_63837_
private final float
M
ambientLight
field_24766
f_ckygwuem
ambientLight
f_63838_
private final transient float[]
N
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 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, ResourceLocation infiniburn, ResourceLocation effects, float ambientLight)

Method summary

Modifier and TypeMethod
private static com.mojang.serialization.DataResult<DimensionType>
b(crg 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, yh arg14, yh 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, ResourceLocation 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_2960 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_ncpywfca 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, Identifier infiniburn, Identifier effects, float ambientLight)
m_188324_(OptionalLong p_188325_, boolean p_188326_, boolean p_188327_, boolean p_188328_, boolean p_188329_, double p_188330_, boolean p_188332_, boolean p_188333_, boolean p_188334_, boolean p_188335_, boolean p_188336_, int p_188337_, int p_188338_, int p_188339_, C_5265_ p_188340_, C_5265_ p_188341_, float arg16)
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
a(gy arg0)
registerBuiltin(RegistryAccess arg0)
method_28523(class_5455 arg0)
m_goquikia(C_wqxmvzdq arg0)
addRegistryDefaults(DynamicRegistryManager registryManager)
m_188315_(C_4706_ p_188316_)
public static MappedRegistry<LevelStem>
a(gy arg0, long arg1)
defaultDimensions(RegistryAccess arg0, long arg1)
method_39540(class_5455 arg0, long arg1)
m_fmnrczvb(C_wqxmvzdq arg0, long arg1)
createDefaultDimensionOptions(DynamicRegistryManager registryManager, long seed)
m_188317_(C_4706_ p_188318_, long p_188319_)
public static MappedRegistry<LevelStem>
a(gy arg0, long arg1, boolean arg2)
defaultDimensions(RegistryAccess arg0, long arg1, boolean arg2)
method_28517(class_5455 arg0, long arg1, boolean arg2)
m_sofowuam(C_wqxmvzdq arg0, long arg1, boolean arg2)
createDefaultDimensionOptions(DynamicRegistryManager registryManager, long seed, boolean arg2)
m_188320_(C_4706_ p_188321_, long p_188322_, boolean arg2)
public static double
a(crg arg0, crg 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_()
public static Path
a(yg<cad> 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)
m_196975_(C_5264_<C_1596_> p_196976_, Path p_196977_)
public boolean
b()
hasSkyLight()
method_12491()
m_umhfeubo()
hasSkyLight()
m_63935_()
public boolean
c()
hasCeiling()
method_27998()
m_hqnnzwft()
hasCeiling()
m_63946_()
public boolean
d()
ultraWarm()
method_27999()
m_meojxnac()
isUltrawarm()
m_63951_()
public boolean
e()
natural()
method_28537()
m_rtgbuliy()
isNatural()
m_63956_()
public double
f()
coordinateScale()
method_31110()
m_eitmaoto()
getCoordinateScale()
m_63959_()
public boolean
g()
piglinSafe()
method_29955()
m_vzorrwuq()
isPiglinSafe()
m_63960_()
public boolean
h()
bedWorks()
method_29956()
m_qivvzltf()
isBedWorking()
m_63961_()
public boolean
i()
respawnAnchorWorks()
method_29957()
m_ejhwgict()
isRespawnAnchorWorking()
m_63962_()
public boolean
j()
hasRaids()
method_29958()
m_fcjfwdgg()
hasRaids()
m_63963_()
public int
k()
minY()
method_29959()
m_lcjwyybs()
getMinimumY()
m_156732_()
public int
l()
height()
method_32924()
m_rucgsjun()
getHeight()
m_156733_()
public int
m()
logicalHeight()
method_32925()
m_zjkwbydw()
getLogicalHeight()
m_63964_()
public boolean
n()
createDragonFight()
method_28540()
m_nqwjhvtj()
hasEnderDragonFight()
m_63965_()
public boolean
o()
hasFixedTime()
method_29960()
m_svtdnzmm()
hasFixedTime()
m_63967_()
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>
p()
infiniburn()
method_29961()
m_tvbmsqde()
getInfiniburnBlocks()
m_63968_()
public ResourceLocation
q()
effectsLocation()
method_31181()
m_fttmuzhe()
getEffects()
m_63969_()
public boolean
a(crg arg0)
equalTo(DimensionType arg0)
method_31108(class_2874 arg0)
m_bgnxhrpi(C_oxijnccf arg0)
equals(DimensionType dimensionType)
m_63906_(C_2175_ arg0)