net.minecraft.world.level.dimension

public class DimensionType

chd
net.minecraft.world.level.dimension.DimensionType
net.minecraft.class_2874
net.minecraft.world.dimension.DimensionType
net.minecraft.world.DimensionType
net.minecraft.server.v1_16_R3.DimensionManager

Field summary

Modifier and TypeField
public static final ResourceLocation
a
OVERWORLD_EFFECTS
field_26752
OVERWORLD_ID
field_242710_a
OVERWORLD_KEY
public static final ResourceLocation
b
NETHER_EFFECTS
field_26753
THE_NETHER_ID
field_242711_b
THE_NETHER_KEY
public static final ResourceLocation
c
END_EFFECTS
field_26754
THE_END_ID
field_242712_c
THE_END_KEY
public static final com.mojang.serialization.Codec<DimensionType>
d
DIRECT_CODEC
field_24757
CODEC
field_235997_a_
public static final float[]
e
MOON_BRIGHTNESS_PER_PHASE
field_24752
MOON_SIZES
field_235998_b_
public static final ResourceKey<DimensionType>
f
OVERWORLD_LOCATION
field_24753
OVERWORLD_REGISTRY_KEY
field_235999_c_
OVERWORLD
public static final ResourceKey<DimensionType>
g
NETHER_LOCATION
field_24754
THE_NETHER_REGISTRY_KEY
field_236000_d_
THE_NETHER
public static final ResourceKey<DimensionType>
h
END_LOCATION
field_24755
THE_END_REGISTRY_KEY
field_236001_e_
THE_END
protected static final DimensionType
i
DEFAULT_OVERWORLD
field_25407
OVERWORLD
field_236004_h_
OVERWORLD_IMPL
protected static final DimensionType
j
DEFAULT_NETHER
field_25408
THE_NETHER
field_236005_i_
THE_NETHER_IMPL
protected static final DimensionType
k
DEFAULT_END
field_25409
THE_END
field_236006_j_
THE_END_IMPL
public static final ResourceKey<DimensionType>
l
OVERWORLD_CAVES_LOCATION
field_25610
OVERWORLD_CAVES_REGISTRY_KEY
field_241497_i_
protected static final DimensionType
m
DEFAULT_OVERWORLD_CAVES
field_25611
OVERWORLD_CAVES
field_241498_j_
public static final com.mojang.serialization.Codec<Supplier<DimensionType>>
n
CODEC
field_24756
REGISTRY_CODEC
field_236002_f_
private final OptionalLong
o
fixedTime
field_24761
fixedTime
field_236010_o_
fixedTime
private final boolean
p
hasSkylight
field_13073
hasSkyLight
field_218273_h
hasSkylight
private final boolean
q
hasCeiling
field_24504
hasCeiling
field_236011_q_
hasCeiling
private final boolean
r
ultraWarm
field_24505
ultrawarm
field_236012_r_
ultraWarm
private final boolean
s
natural
field_24762
natural
field_236013_s_
natural
private final double
t
coordinateScale
field_26706
coordinateScale
field_242713_t
coordinateScale
private final boolean
u
createDragonFight
field_24764
hasEnderDragonFight
field_236015_u_
createDragonBattle
private final boolean
v
piglinSafe
field_25612
piglinSafe
field_241499_s_
piglinSafe
private final boolean
w
bedWorks
field_25613
bedWorks
field_241500_t_
bedWorks
private final boolean
x
respawnAnchorWorks
field_25614
respawnAnchorWorks
field_241501_u_
respawnAnchorWorks
private final boolean
y
hasRaids
field_25615
hasRaids
field_241502_v_
hasRaids
private final int
z
logicalHeight
field_25616
logicalHeight
field_241503_w_
logicalHeight
private final BiomeZoomer
A
biomeZoomer
field_20658
biomeAccessType
field_227175_i_
genLayerZoomer
private final ResourceLocation
B
infiniburn
field_25617
infiniburn
field_241504_y_
infiniburn
private final ResourceLocation
C
effectsLocation
field_26751
skyProperties
field_242709_C
effects
private final float
D
ambientLight
field_24766
ambientLight
field_236017_x_
ambientLight
private final transient float[]
E
brightnessRamp
field_24767
field_24767
field_236018_y_

Constructor summary

ModifierConstructor
protected (OptionalLong fixedTime, boolean hasSkylight, boolean hasCeiling, boolean ultrawarm, boolean natural, double coordinateScale, boolean piglinSafe, boolean bedWorks, boolean respawnAnchorWorks, boolean hasRaids, int logicalHeight, ResourceLocation infiniburn, ResourceLocation skyProperties, float ambientLight)
protected (OptionalLong fixedTime, boolean hasSkylight, boolean hasCeiling, boolean ultrawarm, boolean natural, double coordinateScale, boolean hasEnderDragonFight, boolean piglinSafe, boolean bedWorks, boolean respawnAnchorWorks, boolean hasRaids, int logicalHeight, BiomeZoomer biomeAccessType, ResourceLocation infiniburn, ResourceLocation skyProperties, float ambientLight)

Method summary

Modifier and TypeMethod
private static float[]
a(float arg0)
fillBrightnessRamp(float arg0)
method_28515(float arg0)
method_28515(float arg0)
func_236020_a_(float arg0)
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)
method_28521(com.mojang.serialization.Dynamic<?> arg0)
func_236025_a_(com.mojang.serialization.Dynamic<?> arg0)
public static RegistryAccess$RegistryHolder
a(gn$b arg0)
registerBuiltin(RegistryAccess$RegistryHolder arg0)
method_28523(class_5455$class_5457 arg0)
addRegistryDefaults(DynamicRegistryManager$Impl registryManager)
func_236027_a_(DynamicRegistries$Impl arg0)
private static ChunkGenerator
a(gm<bsv> arg0, gm<chp> 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)
createEndGenerator(Registry<Biome> biomeRegistry, Registry<ChunkGeneratorSettings> chunkGeneratorSettingsRegistry, long seed)
func_242717_a(Registry<Biome> arg0, Registry<DimensionSettings> arg1, long arg2)
private static ChunkGenerator
b(gm<bsv> arg0, gm<chp> 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)
createNetherGenerator(Registry<Biome> biomeRegistry, Registry<ChunkGeneratorSettings> chunkGeneratorSettingsRegistry, long seed)
func_242720_b(Registry<Biome> arg0, Registry<DimensionSettings> arg1, long arg2)
public static MappedRegistry<LevelStem>
a(gm<chd> arg0, gm<bsv> arg1, gm<chp> 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)
createDefaultDimensionOptions(Registry<DimensionType> dimensionRegistry, Registry<Biome> biomeRegistry, Registry<ChunkGeneratorSettings> chunkGeneratorSettingsRegistry, long seed)
func_242718_a(Registry<DimensionType> arg0, Registry<Biome> arg1, Registry<DimensionSettings> arg2, long arg3)
public static double
a(chd arg0, chd arg1)
getTeleportationScale(DimensionType arg0, DimensionType arg1)
method_31109(class_2874 arg0, class_2874 arg1)
method_31109(DimensionType arg0, DimensionType arg1)
func_242715_a(DimensionType arg0, DimensionType arg1)
public String
a()
getFileSuffix()
method_12489()
getSuffix()
func_186067_c()
getSuffix()
public static File
a(vj<brx> arg0, File arg1)
getStorageFolder(ResourceKey<Level> arg0, File arg1)
method_12488(class_5321<class_1937> arg0, File arg1)
getSaveDirectory(RegistryKey<World> worldRef, File root)
func_236031_a_(RegistryKey<World> arg0, File arg1)
public boolean
b()
hasSkyLight()
method_12491()
hasSkyLight()
func_218272_d()
hasSkyLight()
public boolean
c()
hasCeiling()
method_27998()
hasCeiling()
func_236037_d_()
hasCeiling()
public boolean
d()
ultraWarm()
method_27999()
isUltrawarm()
func_236040_e_()
isNether()
public boolean
e()
natural()
method_28537()
isNatural()
func_236043_f_()
isNatural()
public double
f()
coordinateScale()
method_31110()
getCoordinateScale()
func_242724_f()
getCoordinateScale()
public boolean
g()
piglinSafe()
method_29955()
isPiglinSafe()
func_241509_i_()
isPiglinSafe()
public boolean
h()
bedWorks()
method_29956()
isBedWorking()
func_241510_j_()
isBedWorks()
public boolean
i()
respawnAnchorWorks()
method_29957()
isRespawnAnchorWorking()
func_241511_k_()
isRespawnAnchorWorks()
public boolean
j()
hasRaids()
method_29958()
hasRaids()
func_241512_l_()
hasRaids()
public int
k()
logicalHeight()
method_29959()
getLogicalHeight()
func_241513_m_()
getLogicalHeight()
public boolean
l()
createDragonFight()
method_28540()
hasEnderDragonFight()
func_236046_h_()
isCreateDragonBattle()
public BiomeZoomer
m()
getBiomeZoomer()
method_22415()
getBiomeAccessType()
func_227176_e_()
getGenLayerZoomer()
public boolean
n()
hasFixedTime()
method_29960()
hasFixedTime()
func_241514_p_()
isFixedTime()
public float
a(long arg0)
timeOfDay(long arg0)
method_28528(long arg0)
getSkyAngle(long time)
func_236032_b_(long arg0)
public int
b(long arg0)
moonPhase(long arg0)
method_28531(long arg0)
getMoonPhase(long time)
func_236035_c_(long arg0)
public float
a(int arg0)
brightness(int arg0)
method_28516(int arg0)
method_28516(int arg0)
func_236021_a_(int arg0)
public Tag<Block>
o()
infiniburn()
method_29961()
getInfiniburnBlocks()
func_241515_q_()
public boolean
a(chd arg0)
equalTo(DimensionType arg0)
method_31108(class_2874 arg0)
equals(DimensionType dimensionType)
func_242714_a(DimensionType arg0)
public ResourceLocation
p()
effectsLocation()
method_31181()
getSkyProperties()
func_242725_p()