public class DimensionType extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
DimensionType(OptionalLong optionalLong,
boolean bool,
boolean bool2,
boolean bool3,
boolean bool4,
boolean bool5,
boolean bool6,
boolean bool7,
boolean bool8,
boolean bool9,
boolean bool10,
int int2,
BiomeAccessType biomeAccessType,
Identifier identifier,
float float2) |
protected |
DimensionType(OptionalLong fixedTime,
boolean hasSkylight,
boolean hasCeiling,
boolean ultrawarm,
boolean natural,
boolean shrunk,
boolean bool,
boolean bool2,
boolean bool3,
boolean bool4,
int int2,
Identifier identifier,
float float2) |
public static final com.mojang.serialization.MapCodec<DimensionType> CODEC
public static final float[] field_24752
public static final RegistryKey<DimensionType> OVERWORLD_REGISTRY_KEY
public static final RegistryKey<DimensionType> THE_NETHER_REGISTRY_KEY
public static final RegistryKey<DimensionType> THE_END_REGISTRY_KEY
protected static final DimensionType OVERWORLD
protected static final DimensionType THE_NETHER
protected static final DimensionType THE_END
public static final RegistryKey<DimensionType> field_25610
protected static final DimensionType field_25611
public static final com.mojang.serialization.Codec<Supplier<DimensionType>> field_24756
private final OptionalLong fixedTime
private final boolean hasSkyLight
private final boolean hasCeiling
private final boolean ultrawarm
private final boolean natural
private final boolean shrunk
private final boolean hasEnderDragonFight
private final boolean field_25612
private final boolean field_25613
private final boolean field_25614
private final boolean field_25615
private final int field_25616
private final BiomeAccessType biomeAccessType
private final Identifier field_25617
private final float ambientLight
private final transient float[] field_24767
protected DimensionType(OptionalLong fixedTime, boolean hasSkylight, boolean hasCeiling, boolean ultrawarm, boolean natural, boolean shrunk, boolean bool, boolean bool2, boolean bool3, boolean bool4, int int2, Identifier identifier, float float2)
protected DimensionType(OptionalLong optionalLong, boolean bool, boolean bool2, boolean bool3, boolean bool4, boolean bool5, boolean bool6, boolean bool7, boolean bool8, boolean bool9, boolean bool10, int int2, BiomeAccessType biomeAccessType, Identifier identifier, float float2)
public static DimensionType getOverworldDimensionType()
@Environment(value=CLIENT) public static DimensionType method_29953()
private static float[] method_28515(float float2)
@Deprecated public static com.mojang.serialization.DataResult<RegistryKey<World>> method_28521(com.mojang.serialization.Dynamic<?> dynamic)
public static RegistryTracker.Modifiable addRegistryDefaults(RegistryTracker.Modifiable registryTracker)
private static ChunkGenerator createEndGenerator(long seed)
private static ChunkGenerator createNetherGenerator(long seed)
public static SimpleRegistry<DimensionOptions> method_28517(long seed)
@Deprecated public String getSuffix()
public static File getSaveDirectory(RegistryKey<World> worldRef, File root)
public boolean hasSkyLight()
public boolean hasCeiling()
public boolean isUltrawarm()
public boolean isNatural()
public boolean isShrunk()
public boolean method_29955()
public boolean method_29956()
public boolean method_29957()
public boolean method_29958()
public int method_29959()
public boolean hasEnderDragonFight()
public BiomeAccessType getBiomeAccessType()
public boolean method_29960()
public float method_28528(long long2)
public int method_28531(long long2)
public float method_28516(int int2)