Package net.minecraft.world.dimension
Record Class DimensionOptions
java.lang.Object
java.lang.Record
net.minecraft.world.dimension.DimensionOptions
- Record Components:
dimensionTypeEntry-chunkGenerator-effects-mine-spawn-generatorCache-
public record DimensionOptions(RegistryEntry<DimensionType> dimensionTypeEntry, Optional<ChunkGenerator> chunkGenerator, List<class_11109> effects, Optional<class_11105> mine, class_11102 spawn, MutableObject<ChunkGenerator> generatorCache)
extends Record
- Mappings:
Namespace Name named net/minecraft/world/dimension/DimensionOptionsintermediary net/minecraft/class_5363official eisnamed dimensionTypeEntryintermediary comp_1012official cnamed chunkGeneratorintermediary comp_1013official dnamed effectsintermediary comp_3961official enamed mineintermediary comp_3962official fnamed spawnintermediary comp_3963official gnamed generatorCacheintermediary comp_3964official h
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Optional<ChunkGenerator> The field for thechunkGeneratorrecord component.static final com.mojang.serialization.Codec<DimensionOptions> private final RegistryEntry<DimensionType> The field for thedimensionTypeEntryrecord component.private final List<class_11109> The field for theeffectsrecord component.private final MutableObject<ChunkGenerator> The field for thegeneratorCacherecord component.private final Optional<class_11105> The field for theminerecord component.static final RegistryKey<DimensionOptions> private final class_11102The field for thespawnrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionDimensionOptions(RegistryEntry<DimensionType> registryEntry, Optional<ChunkGenerator> optional, List<class_11109> list, Optional<class_11105> optional2, class_11102 class_11102) DimensionOptions(RegistryEntry<DimensionType> dimensionTypeEntry, Optional<ChunkGenerator> optional, List<class_11109> list, Optional<class_11105> optional2, class_11102 class_11102, MutableObject<ChunkGenerator> mutableObject) -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thechunkGeneratorrecord component.Returns the value of thedimensionTypeEntryrecord component.effects()Returns the value of theeffectsrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thegeneratorCacherecord component.final inthashCode()Returns a hash code value for this object.static ChunkGeneratormethod_69793(RegistryWrapper.WrapperLookup wrapperLookup, RegistryEntry.Reference<DimensionOptions> reference) mine()Returns the value of theminerecord component.spawn()Returns the value of thespawnrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
dimensionTypeEntry
The field for thedimensionTypeEntryrecord component. -
chunkGenerator
The field for thechunkGeneratorrecord component. -
effects
The field for theeffectsrecord component. -
mine
The field for theminerecord component. -
spawn
The field for thespawnrecord component. -
generatorCache
The field for thegeneratorCacherecord component. -
CODEC
- Mappings:
Namespace Name Mixin selector named CODECLnet/minecraft/world/dimension/DimensionOptions;CODEC:Lcom/mojang/serialization/Codec;intermediary field_25411Lnet/minecraft/class_5363;field_25411:Lcom/mojang/serialization/Codec;official aLeis;a:Lcom/mojang/serialization/Codec;
-
OVERWORLD
- Mappings:
Namespace Name Mixin selector named OVERWORLDLnet/minecraft/world/dimension/DimensionOptions;OVERWORLD:Lnet/minecraft/registry/RegistryKey;intermediary field_25412Lnet/minecraft/class_5363;field_25412:Lnet/minecraft/class_5321;official bLeis;b:Lama;
-
-
Constructor Details
-
DimensionOptions
public DimensionOptions(RegistryEntry<DimensionType> registryEntry, Optional<ChunkGenerator> optional, List<class_11109> list, Optional<class_11105> optional2, class_11102 class_11102) -
DimensionOptions
public DimensionOptions(RegistryEntry<DimensionType> dimensionTypeEntry, Optional<ChunkGenerator> optional, List<class_11109> list, Optional<class_11105> optional2, class_11102 class_11102, MutableObject<ChunkGenerator> mutableObject) - Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/world/dimension/DimensionOptions;<init>(Lnet/minecraft/registry/entry/RegistryEntry;Ljava/util/Optional;Ljava/util/List;Ljava/util/Optional;Lnet/minecraft/class_11102;Lorg/apache/commons/lang3/mutable/MutableObject;)Vintermediary <init>Lnet/minecraft/class_5363;<init>(Lnet/minecraft/class_6880;Ljava/util/Optional;Ljava/util/List;Ljava/util/Optional;Lnet/minecraft/class_11102;Lorg/apache/commons/lang3/mutable/MutableObject;)Vofficial <init>Leis;<init>(Ljh;Ljava/util/Optional;Ljava/util/List;Ljava/util/Optional;Lfbu;Lorg/apache/commons/lang3/mutable/MutableObject;)V
-
-
Method Details
-
method_69793
public static ChunkGenerator method_69793(RegistryWrapper.WrapperLookup wrapperLookup, RegistryEntry.Reference<DimensionOptions> reference) - Mappings:
Namespace Name Mixin selector named method_69793Lnet/minecraft/world/dimension/DimensionOptions;method_69793(Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;Lnet/minecraft/registry/entry/RegistryEntry$Reference;)Lnet/minecraft/world/gen/chunk/ChunkGenerator;intermediary method_69793Lnet/minecraft/class_5363;method_69793(Lnet/minecraft/class_7225$class_7874;Lnet/minecraft/class_6880$class_6883;)Lnet/minecraft/class_2794;official aLeis;a(Ljj$a;Ljh$c;)Legq;
-
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). -
dimensionTypeEntry
Returns the value of thedimensionTypeEntryrecord component.- Returns:
- the value of the
dimensionTypeEntryrecord component
-
chunkGenerator
Returns the value of thechunkGeneratorrecord component.- Returns:
- the value of the
chunkGeneratorrecord component
-
effects
Returns the value of theeffectsrecord component.- Returns:
- the value of the
effectsrecord component
-
mine
Returns the value of theminerecord component.- Returns:
- the value of the
minerecord component
-
spawn
Returns the value of thespawnrecord component.- Returns:
- the value of the
spawnrecord component
-
generatorCache
Returns the value of thegeneratorCacherecord component.- Returns:
- the value of the
generatorCacherecord component
-