net.minecraft.world.level.dimension

public class DimensionType

implements Serializable

cbf
net.minecraft.world.level.dimension.DimensionType
net.minecraft.class_2874
net.minecraft.world.dimension.DimensionType
net.minecraft.world.dimension.DimensionType
net.minecraft.server.v1_15_R1.DimensionManager

Field summary

Modifier and TypeField
public static final DimensionType
a
OVERWORLD
field_13072
OVERWORLD
field_223227_a_
OVERWORLD
public static final DimensionType
b
NETHER
field_13076
THE_NETHER
field_223228_b_
NETHER
public static final DimensionType
c
THE_END
field_13078
THE_END
field_223229_c_
THE_END
private final int
d
id
field_13074
id
field_186074_d
id
private final String
e
fileSuffix
field_13077
suffix
field_186076_f
suffix
private final String
f
folder
field_13079
saveDir
field_212682_f
folder
private final BiFunction<Level, DimensionType, ? extends Dimension>
g
factory
field_13075
factory
field_201038_g
providerFactory
private final boolean
h
hasSkylight
field_13073
hasSkyLight
field_218273_h
hasSkyLight
private final BiomeZoomer
i
biomeZoomer
field_20658
biomeAccessType
field_227175_i_
genLayerZoomer

Constructor summary

ModifierConstructor
protected (int dimensionId, String suffix, String saveDir, BiFunction<Level, DimensionType, ? extends Dimension> factory, boolean hasSkylight, BiomeZoomer arg5)

Method summary

Modifier and TypeMethod
private static DimensionType
a(String arg0, cbf arg1)
register(String arg0, DimensionType arg1)
method_12486(String arg0, class_2874 arg1)
register(String id, DimensionType dimension)
func_212677_a(String arg0, DimensionType arg1)
register(String arg0, DimensionManager arg1)
public static DimensionType
a(com.mojang.datafixers.Dynamic<?> arg0)
of(com.mojang.datafixers.Dynamic<?> arg0)
method_19298(com.mojang.datafixers.Dynamic<?> arg0)
deserialize(com.mojang.datafixers.Dynamic<?> arg0)
func_218271_a(com.mojang.datafixers.Dynamic<?> arg0)
public static Iterable<DimensionType>
a()
getAllTypes()
method_12482()
getAll()
func_212681_b()
public int
b()
getId()
method_12484()
getRawId()
func_186068_a()
getDimensionID()
public String
c()
getFileSuffix()
method_12489()
getSuffix()
func_186067_c()
getSuffix()
public File
a(File arg0)
getStorageFolder(File arg0)
method_12488(File arg0)
getSaveDirectory(File root)
func_212679_a(File arg0)
public Dimension
a(bjt arg0)
create(Level arg0)
method_12487(class_1937 arg0)
create(World arg0)
func_218270_a(World arg0)
getWorldProvider(World arg0)
public static DimensionType
a(int arg0)
getById(int arg0)
method_12490(int arg0)
byRawId(int arg0)
func_186069_a(int arg0)
public static DimensionType
a(sm arg0)
getByName(ResourceLocation arg0)
method_12483(class_2960 arg0)
byId(Identifier arg0)
func_193417_a(ResourceLocation arg0)
public static ResourceLocation
a(cbf arg0)
getName(DimensionType arg0)
method_12485(class_2874 arg0)
getId(DimensionType arg0)
func_212678_a(DimensionType arg0)
public boolean
d()
hasSkyLight()
method_12491()
hasSkyLight()
func_218272_d()
hasSkyLight()
public BiomeZoomer
e()
getBiomeZoomer()
method_22415()
getBiomeAccessType()
func_227176_e_()
getGenLayerZoomer()
public <T> T
a(com.mojang.datafixers.types.DynamicOps<T> arg0)
serialize(com.mojang.datafixers.types.DynamicOps<T> arg0)
method_19508(com.mojang.datafixers.types.DynamicOps<T> arg0)
serialize(com.mojang.datafixers.types.DynamicOps<T> arg0)
func_218175_a(com.mojang.datafixers.types.DynamicOps<T> arg0)