Package net.minecraft.world.dimension
Record Class DimensionOptions
java.lang.Object
java.lang.Record
net.minecraft.world.dimension.DimensionOptions
- Record Components:
dimensionTypeEntry-chunkGenerator-
public record DimensionOptions(RegistryEntry<DimensionType> dimensionTypeEntry, Optional<ChunkGenerator> chunkGenerator, List<class_11109> e, Optional<class_11105> f, class_11102 g, MutableObject<ChunkGenerator> h)
extends Record
- Mappings:
Namespace Name named net/minecraft/world/dimension/DimensionOptionsintermediary net/minecraft/class_5363official eisnamed dimensionTypeEntryintermediary comp_1012official cnamed chunkGeneratorintermediary comp_1013official d
-
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 theerecord component.private final Optional<class_11105> The field for thefrecord component.private final class_11102The field for thegrecord component.private final MutableObject<ChunkGenerator> The field for thehrecord component.static final RegistryKey<DimensionOptions> -
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.e()Returns the value of theerecord component.final booleanIndicates whether some other object is "equal to" this one.f()Returns the value of thefrecord component.g()Returns the value of thegrecord component.h()Returns the value of thehrecord component.final inthashCode()Returns a hash code value for this object.static ChunkGeneratormethod_69793(RegistryWrapper.WrapperLookup wrapperLookup, RegistryEntry.Reference<DimensionOptions> reference) final StringtoString()Returns a string representation of this record class.
-
Field Details
-
dimensionTypeEntry
The field for thedimensionTypeEntryrecord component. -
chunkGenerator
The field for thechunkGeneratorrecord component. -
e
The field for theerecord component. -
f
The field for thefrecord component. -
g
The field for thegrecord component. -
h
The field for thehrecord 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
-
e
Returns the value of theerecord component.- Returns:
- the value of the
erecord component
-
f
Returns the value of thefrecord component.- Returns:
- the value of the
frecord component
-
g
Returns the value of thegrecord component.- Returns:
- the value of the
grecord component
-
h
Returns the value of thehrecord component.- Returns:
- the value of the
hrecord component
-