Package net.minecraft.world.biome.source
Record Class MultiNoiseBiomeSourceParameterList.Preset
java.lang.Object
java.lang.Record
net.minecraft.world.biome.source.MultiNoiseBiomeSourceParameterList.Preset
- Record Components:
id-biomeSourceFunction-
- Enclosing class:
MultiNoiseBiomeSourceParameterList
public static record MultiNoiseBiomeSourceParameterList.Preset(Identifier id, MultiNoiseBiomeSourceParameterList.Preset.BiomeSourceFunction biomeSourceFunction)
extends Record
- Mappings:
Namespace Name official cnw$aintermediary net/minecraft/class_8197$class_5305named net/minecraft/world/biome/source/MultiNoiseBiomeSourceParameterList$Presetofficial dintermediary comp_1309named idofficial eintermediary comp_1310named biomeSourceFunction
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static interface -
Field Summary
FieldsModifier and TypeFieldDescriptionThe field for thebiomeSourceFunctionrecord component.(package private) static final Map<Identifier,MultiNoiseBiomeSourceParameterList.Preset> static final com.mojang.serialization.Codec<MultiNoiseBiomeSourceParameterList.Preset>private final IdentifierThe field for theidrecord component.static final MultiNoiseBiomeSourceParameterList.Presetstatic final MultiNoiseBiomeSourceParameterList.Preset -
Constructor Summary
ConstructorsConstructorDescriptionPreset(Identifier id, MultiNoiseBiomeSourceParameterList.Preset.BiomeSourceFunction biomeSourceFunction) Creates an instance of aPresetrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thebiomeSourceFunctionrecord component.final booleanIndicates whether some other object is "equal to" this one.(package private) static <T> MultiNoiseUtil.Entries<T>getOverworldEntries(Function<RegistryKey<Biome>, T> biomeEntryGetter) final inthashCode()Returns a hash code value for this object.id()Returns the value of theidrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
id
The field for theidrecord component. -
biomeSourceFunction
The field for thebiomeSourceFunctionrecord component. -
NETHER
- Mappings:
Namespace Name Mixin selector official aLcnw$a;a:Lcnw$a;intermediary field_24723Lnet/minecraft/class_8197$class_5305;field_24723:Lnet/minecraft/class_8197$class_5305;named NETHERLnet/minecraft/world/biome/source/MultiNoiseBiomeSourceParameterList$Preset;NETHER:Lnet/minecraft/world/biome/source/MultiNoiseBiomeSourceParameterList$Preset;
-
OVERWORLD
- Mappings:
Namespace Name Mixin selector official bLcnw$a;b:Lcnw$a;intermediary field_34499Lnet/minecraft/class_8197$class_5305;field_34499:Lnet/minecraft/class_8197$class_5305;named OVERWORLDLnet/minecraft/world/biome/source/MultiNoiseBiomeSourceParameterList$Preset;OVERWORLD:Lnet/minecraft/world/biome/source/MultiNoiseBiomeSourceParameterList$Preset;
-
BY_IDENTIFIER
- Mappings:
Namespace Name Mixin selector official fLcnw$a;f:Ljava/util/Map;intermediary field_24724Lnet/minecraft/class_8197$class_5305;field_24724:Ljava/util/Map;named BY_IDENTIFIERLnet/minecraft/world/biome/source/MultiNoiseBiomeSourceParameterList$Preset;BY_IDENTIFIER:Ljava/util/Map;
-
CODEC
- Mappings:
Namespace Name Mixin selector official cLcnw$a;c:Lcom/mojang/serialization/Codec;intermediary field_42990Lnet/minecraft/class_8197$class_5305;field_42990:Lcom/mojang/serialization/Codec;named CODECLnet/minecraft/world/biome/source/MultiNoiseBiomeSourceParameterList$Preset;CODEC:Lcom/mojang/serialization/Codec;
-
-
Constructor Details
-
Preset
public Preset(Identifier id, MultiNoiseBiomeSourceParameterList.Preset.BiomeSourceFunction biomeSourceFunction) Creates an instance of aPresetrecord class.- Parameters:
id- the value for theidrecord componentbiomeSourceFunction- the value for thebiomeSourceFunctionrecord component
-
-
Method Details
-
getOverworldEntries
static <T> MultiNoiseUtil.Entries<T> getOverworldEntries(Function<RegistryKey<Biome>, T> biomeEntryGetter) - Mappings:
Namespace Name Mixin selector official aLcnw$a;a(Ljava/util/function/Function;)Lcnr$c;intermediary method_49193Lnet/minecraft/class_8197$class_5305;method_49193(Ljava/util/function/Function;)Lnet/minecraft/class_6544$class_6547;named getOverworldEntriesLnet/minecraft/world/biome/source/MultiNoiseBiomeSourceParameterList$Preset;getOverworldEntries(Ljava/util/function/Function;)Lnet/minecraft/world/biome/source/util/MultiNoiseUtil$Entries;
-
biomeStream
- Mappings:
Namespace Name Mixin selector official aLcnw$a;a()Ljava/util/stream/Stream;intermediary method_49514Lnet/minecraft/class_8197$class_5305;method_49514()Ljava/util/stream/Stream;named biomeStreamLnet/minecraft/world/biome/source/MultiNoiseBiomeSourceParameterList$Preset;biomeStream()Ljava/util/stream/Stream;
-
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). -
id
Returns the value of theidrecord component.- Returns:
- the value of the
idrecord component
-
biomeSourceFunction
Returns the value of thebiomeSourceFunctionrecord component.- Returns:
- the value of the
biomeSourceFunctionrecord component
-