Package net.minecraft.world.biome.source
Record Class MultiNoiseBiomeSource.Instance
java.lang.Object
java.lang.Record
net.minecraft.world.biome.source.MultiNoiseBiomeSource.Instance
- Record Components:
preset-biomeRegistry-
- Enclosing class:
MultiNoiseBiomeSource
private static record MultiNoiseBiomeSource.Instance(MultiNoiseBiomeSource.Preset preset, RegistryEntryLookup<Biome> biomeRegistry)
extends Record
- Mappings:
Namespace Name official cmo$bintermediary net/minecraft/class_4766$class_5502named net/minecraft/world/biome/source/MultiNoiseBiomeSource$Instanceofficial bintermediary comp_274named presetofficial cintermediary comp_275named biomeRegistry
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final RegistryEntryLookup<Biome>The field for thebiomeRegistryrecord component.static final com.mojang.serialization.MapCodec<MultiNoiseBiomeSource.Instance>private final MultiNoiseBiomeSource.PresetThe field for thepresetrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionInstance(MultiNoiseBiomeSource.Preset preset, RegistryEntryLookup<Biome> registryEntryLookup) -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thebiomeRegistryrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.preset()Returns the value of thepresetrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
preset
The field for thepresetrecord component. -
biomeRegistry
The field for thebiomeRegistryrecord component. -
CODEC
- Mappings:
Namespace Name Mixin selector official aLcmo$b;a:Lcom/mojang/serialization/MapCodec;intermediary field_26694Lnet/minecraft/class_4766$class_5502;field_26694:Lcom/mojang/serialization/MapCodec;named CODECLnet/minecraft/world/biome/source/MultiNoiseBiomeSource$Instance;CODEC:Lcom/mojang/serialization/MapCodec;
-
-
Constructor Details
-
Instance
Instance(MultiNoiseBiomeSource.Preset preset, RegistryEntryLookup<Biome> registryEntryLookup) - Mappings:
Namespace Name Mixin selector official <init>Lcmo$b;<init>(Lcmo$a;Lha;)Vintermediary <init>Lnet/minecraft/class_4766$class_5502;<init>(Lnet/minecraft/class_4766$class_5305;Lnet/minecraft/class_7871;)Vnamed <init>Lnet/minecraft/world/biome/source/MultiNoiseBiomeSource$Instance;<init>(Lnet/minecraft/world/biome/source/MultiNoiseBiomeSource$Preset;Lnet/minecraft/registry/RegistryEntryLookup;)V
-
-
Method Details
-
getBiomeSource
- Mappings:
Namespace Name Mixin selector official aLcmo$b;a()Lcmo;intermediary method_31101Lnet/minecraft/class_4766$class_5502;method_31101()Lnet/minecraft/class_4766;named getBiomeSourceLnet/minecraft/world/biome/source/MultiNoiseBiomeSource$Instance;getBiomeSource()Lnet/minecraft/world/biome/source/MultiNoiseBiomeSource;
-
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). -
preset
Returns the value of thepresetrecord component.- Returns:
- the value of the
presetrecord component
-
biomeRegistry
Returns the value of thebiomeRegistryrecord component.- Returns:
- the value of the
biomeRegistryrecord component
-