Package net.minecraft.world.dimension
Class DimensionOptions
java.lang.Object
net.minecraft.world.dimension.DimensionOptions
public final class DimensionOptions extends Object
- Mappings:
Namespace Name official cku
intermediary net/minecraft/class_5363
named net/minecraft/world/dimension/DimensionOptions
-
Field Summary
Fields Modifier and Type Field Description private static Set<RegistryKey<DimensionOptions>>
BASE_DIMENSIONS
private ChunkGenerator
chunkGenerator
static com.mojang.serialization.Codec<DimensionOptions>
CODEC
private Supplier<DimensionType>
dimensionTypeSupplier
static RegistryKey<DimensionOptions>
END
static RegistryKey<DimensionOptions>
NETHER
static RegistryKey<DimensionOptions>
OVERWORLD
-
Constructor Summary
Constructors Constructor Description DimensionOptions(Supplier<DimensionType> typeSupplier, ChunkGenerator chunkGenerator)
-
Method Summary
Modifier and Type Method Description ChunkGenerator
getChunkGenerator()
DimensionType
getDimensionType()
Supplier<DimensionType>
getDimensionTypeSupplier()
static boolean
hasDefaultSettings(long seed, SimpleRegistry<DimensionOptions> options)
static SimpleRegistry<DimensionOptions>
method_29569(SimpleRegistry<DimensionOptions> simpleRegistry)
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector official a
Lcku;a:Lcom/mojang/serialization/Codec;
intermediary field_25411
Lnet/minecraft/class_5363;field_25411:Lcom/mojang/serialization/Codec;
named CODEC
Lnet/minecraft/world/dimension/DimensionOptions;CODEC:Lcom/mojang/serialization/Codec;
-
OVERWORLD
- Mappings:
Namespace Name Mixin selector official b
Lcku;b:Lwa;
intermediary field_25412
Lnet/minecraft/class_5363;field_25412:Lnet/minecraft/class_5321;
named OVERWORLD
Lnet/minecraft/world/dimension/DimensionOptions;OVERWORLD:Lnet/minecraft/util/registry/RegistryKey;
-
NETHER
- Mappings:
Namespace Name Mixin selector official c
Lcku;c:Lwa;
intermediary field_25413
Lnet/minecraft/class_5363;field_25413:Lnet/minecraft/class_5321;
named NETHER
Lnet/minecraft/world/dimension/DimensionOptions;NETHER:Lnet/minecraft/util/registry/RegistryKey;
-
END
- Mappings:
Namespace Name Mixin selector official d
Lcku;d:Lwa;
intermediary field_25414
Lnet/minecraft/class_5363;field_25414:Lnet/minecraft/class_5321;
named END
Lnet/minecraft/world/dimension/DimensionOptions;END:Lnet/minecraft/util/registry/RegistryKey;
-
BASE_DIMENSIONS
- Mappings:
Namespace Name Mixin selector official e
Lcku;e:Ljava/util/Set;
intermediary field_25415
Lnet/minecraft/class_5363;field_25415:Ljava/util/Set;
named BASE_DIMENSIONS
Lnet/minecraft/world/dimension/DimensionOptions;BASE_DIMENSIONS:Ljava/util/Set;
-
dimensionTypeSupplier
- Mappings:
Namespace Name Mixin selector official f
Lcku;f:Ljava/util/function/Supplier;
intermediary field_25416
Lnet/minecraft/class_5363;field_25416:Ljava/util/function/Supplier;
named dimensionTypeSupplier
Lnet/minecraft/world/dimension/DimensionOptions;dimensionTypeSupplier:Ljava/util/function/Supplier;
-
chunkGenerator
- Mappings:
Namespace Name Mixin selector official g
Lcku;g:Lcjn;
intermediary field_25417
Lnet/minecraft/class_5363;field_25417:Lnet/minecraft/class_2794;
named chunkGenerator
Lnet/minecraft/world/dimension/DimensionOptions;chunkGenerator:Lnet/minecraft/world/gen/chunk/ChunkGenerator;
-
-
Constructor Details
-
DimensionOptions
- Mappings:
Namespace Name Mixin selector official <init>
Lcku;<init>(Ljava/util/function/Supplier;Lcjn;)V
intermediary <init>
Lnet/minecraft/class_5363;<init>(Ljava/util/function/Supplier;Lnet/minecraft/class_2794;)V
named <init>
Lnet/minecraft/world/dimension/DimensionOptions;<init>(Ljava/util/function/Supplier;Lnet/minecraft/world/gen/chunk/ChunkGenerator;)V
-
-
Method Details
-
getDimensionTypeSupplier
- Mappings:
Namespace Name Mixin selector official a
Lcku;a()Ljava/util/function/Supplier;
intermediary method_29566
Lnet/minecraft/class_5363;method_29566()Ljava/util/function/Supplier;
named getDimensionTypeSupplier
Lnet/minecraft/world/dimension/DimensionOptions;getDimensionTypeSupplier()Ljava/util/function/Supplier;
-
getDimensionType
- Mappings:
Namespace Name Mixin selector official b
Lcku;b()Lckt;
intermediary method_29570
Lnet/minecraft/class_5363;method_29570()Lnet/minecraft/class_2874;
named getDimensionType
Lnet/minecraft/world/dimension/DimensionOptions;getDimensionType()Lnet/minecraft/world/dimension/DimensionType;
-
getChunkGenerator
- Mappings:
Namespace Name Mixin selector official c
Lcku;c()Lcjn;
intermediary method_29571
Lnet/minecraft/class_5363;method_29571()Lnet/minecraft/class_2794;
named getChunkGenerator
Lnet/minecraft/world/dimension/DimensionOptions;getChunkGenerator()Lnet/minecraft/world/gen/chunk/ChunkGenerator;
-
method_29569
public static SimpleRegistry<DimensionOptions> method_29569(SimpleRegistry<DimensionOptions> simpleRegistry)- Mappings:
Namespace Name Mixin selector official a
Lcku;a(Lgi;)Lgi;
intermediary method_29569
Lnet/minecraft/class_5363;method_29569(Lnet/minecraft/class_2370;)Lnet/minecraft/class_2370;
named method_29569
Lnet/minecraft/world/dimension/DimensionOptions;method_29569(Lnet/minecraft/util/registry/SimpleRegistry;)Lnet/minecraft/util/registry/SimpleRegistry;
-
hasDefaultSettings
- Mappings:
Namespace Name Mixin selector official a
Lcku;a(JLgi;)Z
intermediary method_29567
Lnet/minecraft/class_5363;method_29567(JLnet/minecraft/class_2370;)Z
named hasDefaultSettings
Lnet/minecraft/world/dimension/DimensionOptions;hasDefaultSettings(JLnet/minecraft/util/registry/SimpleRegistry;)Z
-