Package net.minecraft.world.dimension
Record Class DimensionOptionsRegistryHolder
java.lang.Object
java.lang.Record
net.minecraft.world.dimension.DimensionOptionsRegistryHolder
- Record Components:
dimensions
-
public record DimensionOptionsRegistryHolder(Map<RegistryKey<DimensionOptions>,DimensionOptions> dimensions)
extends Record
- Mappings:
Namespace Name named net/minecraft/world/dimension/DimensionOptionsRegistryHolder
intermediary net/minecraft/class_7723
official dzb
named dimensions
intermediary comp_1014
official b
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final record
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec
<DimensionOptionsRegistryHolder> private final Map
<RegistryKey<DimensionOptions>, DimensionOptions> The field for thedimensions
record component.private static final int
private static final Set
<RegistryKey<DimensionOptions>> -
Constructor Summary
ConstructorDescriptionDimensionOptionsRegistryHolder
(Registry<DimensionOptions> dimensionOptionsRegistry) -
Method Summary
Modifier and TypeMethodDescriptionstatic Map
<RegistryKey<DimensionOptions>, DimensionOptions> createRegistry
(Map<RegistryKey<DimensionOptions>, DimensionOptions> dimensionOptions, RegistryEntry<DimensionType> overworld, ChunkGenerator chunkGenerator) static Map
<RegistryKey<DimensionOptions>, DimensionOptions> createRegistry
(Registry<DimensionType> dynamicRegistry, Map<RegistryKey<DimensionOptions>, DimensionOptions> dimensionOptions, ChunkGenerator chunkGenerator) Returns the value of thedimensions
record component.final boolean
Indicates whether some other object is "equal to" this one.(package private) static com.mojang.serialization.Lifecycle
getLifecycle
(RegistryKey<DimensionOptions> key, DimensionOptions dimensionOptions) private static LevelProperties.SpecialProperty
getSpecialProperty
(Registry<DimensionOptions> dimensionOptionsRegistry) final int
hashCode()
Returns a hash code value for this object.boolean
isDebug()
private static boolean
isNetherVanilla
(DimensionOptions dimensionOptions) private static boolean
isOverworldVanilla
(DimensionOptions dimensionOptions) private static boolean
isTheEndVanilla
(DimensionOptions dimensionOptions) private static boolean
isVanilla
(RegistryKey<DimensionOptions> key, DimensionOptions dimensionOptions) static Stream
<RegistryKey<DimensionOptions>> streamAll
(Stream<RegistryKey<DimensionOptions>> otherKeys) toConfig
(Registry<DimensionOptions> existingRegistry) final String
toString()
Returns a string representation of this record class.with
(DynamicRegistryManager dynamicRegistryManager, ChunkGenerator chunkGenerator)
-
Field Details
-
dimensions
The field for thedimensions
record component. -
CODEC
- Mappings:
Namespace Name Mixin selector named CODEC
Lnet/minecraft/world/dimension/DimensionOptionsRegistryHolder;CODEC:Lcom/mojang/serialization/MapCodec;
intermediary field_40363
Lnet/minecraft/class_7723;field_40363:Lcom/mojang/serialization/MapCodec;
official a
Ldzb;a:Lcom/mojang/serialization/MapCodec;
-
VANILLA_KEYS
- Mappings:
Namespace Name Mixin selector named VANILLA_KEYS
Lnet/minecraft/world/dimension/DimensionOptionsRegistryHolder;VANILLA_KEYS:Ljava/util/Set;
intermediary field_40364
Lnet/minecraft/class_7723;field_40364:Ljava/util/Set;
official c
Ldzb;c:Ljava/util/Set;
-
VANILLA_KEY_COUNT
private static final int VANILLA_KEY_COUNT- Mappings:
Namespace Name Mixin selector named VANILLA_KEY_COUNT
Lnet/minecraft/world/dimension/DimensionOptionsRegistryHolder;VANILLA_KEY_COUNT:I
intermediary field_40365
Lnet/minecraft/class_7723;field_40365:I
official d
Ldzb;d:I
-
-
Constructor Details
-
DimensionOptionsRegistryHolder
-
DimensionOptionsRegistryHolder
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/world/dimension/DimensionOptionsRegistryHolder;<init>(Lnet/minecraft/registry/Registry;)V
intermediary <init>
Lnet/minecraft/class_7723;<init>(Lnet/minecraft/class_2378;)V
official <init>
Ldzb;<init>(Ljw;)V
-
-
Method Details
-
streamAll
public static Stream<RegistryKey<DimensionOptions>> streamAll(Stream<RegistryKey<DimensionOptions>> otherKeys) - Mappings:
Namespace Name Mixin selector named streamAll
Lnet/minecraft/world/dimension/DimensionOptionsRegistryHolder;streamAll(Ljava/util/stream/Stream;)Ljava/util/stream/Stream;
intermediary method_45525
Lnet/minecraft/class_7723;method_45525(Ljava/util/stream/Stream;)Ljava/util/stream/Stream;
official a
Ldzb;a(Ljava/util/stream/Stream;)Ljava/util/stream/Stream;
-
with
public DimensionOptionsRegistryHolder with(DynamicRegistryManager dynamicRegistryManager, ChunkGenerator chunkGenerator) - Mappings:
Namespace Name Mixin selector named with
Lnet/minecraft/world/dimension/DimensionOptionsRegistryHolder;with(Lnet/minecraft/registry/DynamicRegistryManager;Lnet/minecraft/world/gen/chunk/ChunkGenerator;)Lnet/minecraft/world/dimension/DimensionOptionsRegistryHolder;
intermediary method_45522
Lnet/minecraft/class_7723;method_45522(Lnet/minecraft/class_5455;Lnet/minecraft/class_2794;)Lnet/minecraft/class_7723;
official a
Ldzb;a(Ljx;Ldui;)Ldzb;
-
createRegistry
public static Map<RegistryKey<DimensionOptions>,DimensionOptions> createRegistry(Registry<DimensionType> dynamicRegistry, Map<RegistryKey<DimensionOptions>, DimensionOptions> dimensionOptions, ChunkGenerator chunkGenerator) - Mappings:
Namespace Name Mixin selector named createRegistry
Lnet/minecraft/world/dimension/DimensionOptionsRegistryHolder;createRegistry(Lnet/minecraft/registry/Registry;Ljava/util/Map;Lnet/minecraft/world/gen/chunk/ChunkGenerator;)Ljava/util/Map;
intermediary method_45520
Lnet/minecraft/class_7723;method_45520(Lnet/minecraft/class_2378;Ljava/util/Map;Lnet/minecraft/class_2794;)Ljava/util/Map;
official a
Ldzb;a(Ljw;Ljava/util/Map;Ldui;)Ljava/util/Map;
-
createRegistry
public static Map<RegistryKey<DimensionOptions>,DimensionOptions> createRegistry(Map<RegistryKey<DimensionOptions>, DimensionOptions> dimensionOptions, RegistryEntry<DimensionType> overworld, ChunkGenerator chunkGenerator) - Mappings:
Namespace Name Mixin selector named createRegistry
Lnet/minecraft/world/dimension/DimensionOptionsRegistryHolder;createRegistry(Ljava/util/Map;Lnet/minecraft/registry/entry/RegistryEntry;Lnet/minecraft/world/gen/chunk/ChunkGenerator;)Ljava/util/Map;
intermediary method_45519
Lnet/minecraft/class_7723;method_45519(Ljava/util/Map;Lnet/minecraft/class_6880;Lnet/minecraft/class_2794;)Ljava/util/Map;
official a
Ldzb;a(Ljava/util/Map;Ljj;Ldui;)Ljava/util/Map;
-
getChunkGenerator
- Mappings:
Namespace Name Mixin selector named getChunkGenerator
Lnet/minecraft/world/dimension/DimensionOptionsRegistryHolder;getChunkGenerator()Lnet/minecraft/world/gen/chunk/ChunkGenerator;
intermediary method_45513
Lnet/minecraft/class_7723;method_45513()Lnet/minecraft/class_2794;
official a
Ldzb;a()Ldui;
-
getOrEmpty
- Mappings:
Namespace Name Mixin selector named getOrEmpty
Lnet/minecraft/world/dimension/DimensionOptionsRegistryHolder;getOrEmpty(Lnet/minecraft/registry/RegistryKey;)Ljava/util/Optional;
intermediary method_45514
Lnet/minecraft/class_7723;method_45514(Lnet/minecraft/class_5321;)Ljava/util/Optional;
official a
Ldzb;a(Lakj;)Ljava/util/Optional;
-
getWorldKeys
- Mappings:
Namespace Name Mixin selector named getWorldKeys
Lnet/minecraft/world/dimension/DimensionOptionsRegistryHolder;getWorldKeys()Lcom/google/common/collect/ImmutableSet;
intermediary method_45526
Lnet/minecraft/class_7723;method_45526()Lcom/google/common/collect/ImmutableSet;
official b
Ldzb;b()Lcom/google/common/collect/ImmutableSet;
-
isDebug
public boolean isDebug()- Mappings:
Namespace Name Mixin selector named isDebug
Lnet/minecraft/world/dimension/DimensionOptionsRegistryHolder;isDebug()Z
intermediary method_45531
Lnet/minecraft/class_7723;method_45531()Z
official c
Ldzb;c()Z
-
getSpecialProperty
private static LevelProperties.SpecialProperty getSpecialProperty(Registry<DimensionOptions> dimensionOptionsRegistry) - Mappings:
Namespace Name Mixin selector named getSpecialProperty
Lnet/minecraft/world/dimension/DimensionOptionsRegistryHolder;getSpecialProperty(Lnet/minecraft/registry/Registry;)Lnet/minecraft/world/level/LevelProperties$SpecialProperty;
intermediary method_45530
Lnet/minecraft/class_7723;method_45530(Lnet/minecraft/class_2378;)Lnet/minecraft/class_31$class_7729;
official b
Ldzb;b(Ljw;)Leqo$a;
-
getLifecycle
static com.mojang.serialization.Lifecycle getLifecycle(RegistryKey<DimensionOptions> key, DimensionOptions dimensionOptions) - Mappings:
Namespace Name Mixin selector named getLifecycle
Lnet/minecraft/world/dimension/DimensionOptionsRegistryHolder;getLifecycle(Lnet/minecraft/registry/RegistryKey;Lnet/minecraft/world/dimension/DimensionOptions;)Lcom/mojang/serialization/Lifecycle;
intermediary method_45515
Lnet/minecraft/class_7723;method_45515(Lnet/minecraft/class_5321;Lnet/minecraft/class_5363;)Lcom/mojang/serialization/Lifecycle;
official a
Ldzb;a(Lakj;Ldwh;)Lcom/mojang/serialization/Lifecycle;
-
isVanilla
private static boolean isVanilla(RegistryKey<DimensionOptions> key, DimensionOptions dimensionOptions) - Mappings:
Namespace Name Mixin selector named isVanilla
Lnet/minecraft/world/dimension/DimensionOptionsRegistryHolder;isVanilla(Lnet/minecraft/registry/RegistryKey;Lnet/minecraft/world/dimension/DimensionOptions;)Z
intermediary method_45528
Lnet/minecraft/class_7723;method_45528(Lnet/minecraft/class_5321;Lnet/minecraft/class_5363;)Z
official b
Ldzb;b(Lakj;Ldwh;)Z
-
isOverworldVanilla
- Mappings:
Namespace Name Mixin selector named isOverworldVanilla
Lnet/minecraft/world/dimension/DimensionOptionsRegistryHolder;isOverworldVanilla(Lnet/minecraft/world/dimension/DimensionOptions;)Z
intermediary method_45517
Lnet/minecraft/class_7723;method_45517(Lnet/minecraft/class_5363;)Z
official a
Ldzb;a(Ldwh;)Z
-
isNetherVanilla
- Mappings:
Namespace Name Mixin selector named isNetherVanilla
Lnet/minecraft/world/dimension/DimensionOptionsRegistryHolder;isNetherVanilla(Lnet/minecraft/world/dimension/DimensionOptions;)Z
intermediary method_45529
Lnet/minecraft/class_7723;method_45529(Lnet/minecraft/class_5363;)Z
official b
Ldzb;b(Ldwh;)Z
-
isTheEndVanilla
- Mappings:
Namespace Name Mixin selector named isTheEndVanilla
Lnet/minecraft/world/dimension/DimensionOptionsRegistryHolder;isTheEndVanilla(Lnet/minecraft/world/dimension/DimensionOptions;)Z
intermediary method_45533
Lnet/minecraft/class_7723;method_45533(Lnet/minecraft/class_5363;)Z
official c
Ldzb;c(Ldwh;)Z
-
toConfig
public DimensionOptionsRegistryHolder.DimensionsConfig toConfig(Registry<DimensionOptions> existingRegistry) - Mappings:
Namespace Name Mixin selector named toConfig
Lnet/minecraft/world/dimension/DimensionOptionsRegistryHolder;toConfig(Lnet/minecraft/registry/Registry;)Lnet/minecraft/world/dimension/DimensionOptionsRegistryHolder$DimensionsConfig;
intermediary method_45518
Lnet/minecraft/class_7723;method_45518(Lnet/minecraft/class_2378;)Lnet/minecraft/class_7723$class_7725;
official a
Ldzb;a(Ljw;)Ldzb$b;
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object)
. -
dimensions
Returns the value of thedimensions
record component.- Returns:
- the value of the
dimensions
record component
-