Package net.minecraft
Record Class class_8197.Preset
java.lang.Object
java.lang.Record
net.minecraft.class_8197.Preset
- Record Components:
id
-biomeSourceFunction
-
- Enclosing class:
class_8197
public static record class_8197.Preset(Identifier id, class_8197.Preset.BiomeSourceFunction biomeSourceFunction)
extends Record
- Mappings:
Namespace Name official cnr$a
intermediary net/minecraft/class_8197$class_5305
named net/minecraft/class_8197$Preset
official e
intermediary comp_1309
named id
official f
intermediary comp_1310
named biomeSourceFunction
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final class_8197.Preset.BiomeSourceFunction
The field for thebiomeSourceFunction
record component.(package private) static final Map<Identifier,
class_8197.Preset> static final com.mojang.serialization.Codec<class_8197.Preset>
private final Identifier
The field for theid
record component.static final class_8197.Preset
static final class_8197.Preset
static final class_8197.Preset
-
Constructor Summary
ConstructorsConstructorDescriptionPreset
(Identifier id, class_8197.Preset.BiomeSourceFunction biomeSourceFunction) Creates an instance of aPreset
record class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thebiomeSourceFunction
record component.final boolean
Indicates whether some other object is "equal to" this one.(package private) static <T> MultiNoiseUtil.Entries<T>
getOverworldEntries
(Function<RegistryKey<Biome>, T> biomeEntryGetter, VanillaBiomeParameters.Type parametersType) final int
hashCode()
Returns a hash code value for this object.id()
Returns the value of theid
record component.final String
toString()
Returns a string representation of this record class.
-
Field Details
-
id
The field for theid
record component. -
biomeSourceFunction
The field for thebiomeSourceFunction
record component. -
NETHER
- Mappings:
Namespace Name Mixin selector official a
Lcnr$a;a:Lcnr$a;
intermediary field_24723
Lnet/minecraft/class_8197$class_5305;field_24723:Lnet/minecraft/class_8197$class_5305;
named NETHER
Lnet/minecraft/class_8197$Preset;NETHER:Lnet/minecraft/class_8197$Preset;
-
OVERWORLD
- Mappings:
Namespace Name Mixin selector official b
Lcnr$a;b:Lcnr$a;
intermediary field_34499
Lnet/minecraft/class_8197$class_5305;field_34499:Lnet/minecraft/class_8197$class_5305;
named OVERWORLD
Lnet/minecraft/class_8197$Preset;OVERWORLD:Lnet/minecraft/class_8197$Preset;
-
OVERWORLD_UPDATE_1_20
- Mappings:
Namespace Name Mixin selector official c
Lcnr$a;c:Lcnr$a;
intermediary field_42721
Lnet/minecraft/class_8197$class_5305;field_42721:Lnet/minecraft/class_8197$class_5305;
named OVERWORLD_UPDATE_1_20
Lnet/minecraft/class_8197$Preset;OVERWORLD_UPDATE_1_20:Lnet/minecraft/class_8197$Preset;
-
BY_IDENTIFIER
- Mappings:
Namespace Name Mixin selector official g
Lcnr$a;g:Ljava/util/Map;
intermediary field_24724
Lnet/minecraft/class_8197$class_5305;field_24724:Ljava/util/Map;
named BY_IDENTIFIER
Lnet/minecraft/class_8197$Preset;BY_IDENTIFIER:Ljava/util/Map;
-
field_42990
- Mappings:
Namespace Name Mixin selector official d
Lcnr$a;d:Lcom/mojang/serialization/Codec;
intermediary field_42990
Lnet/minecraft/class_8197$class_5305;field_42990:Lcom/mojang/serialization/Codec;
named field_42990
Lnet/minecraft/class_8197$Preset;field_42990:Lcom/mojang/serialization/Codec;
-
-
Constructor Details
-
Preset
Creates an instance of aPreset
record class.- Parameters:
id
- the value for theid
record componentbiomeSourceFunction
- the value for thebiomeSourceFunction
record component
-
-
Method Details
-
getOverworldEntries
static <T> MultiNoiseUtil.Entries<T> getOverworldEntries(Function<RegistryKey<Biome>, T> biomeEntryGetter, VanillaBiomeParameters.Type parametersType) - Mappings:
Namespace Name Mixin selector official a
Lcnr$a;a(Ljava/util/function/Function;Lcnt$a;)Lcnm$c;
intermediary method_49193
Lnet/minecraft/class_8197$class_5305;method_49193(Ljava/util/function/Function;Lnet/minecraft/class_6554$class_8166;)Lnet/minecraft/class_6544$class_6547;
named getOverworldEntries
Lnet/minecraft/class_8197$Preset;getOverworldEntries(Ljava/util/function/Function;Lnet/minecraft/world/biome/source/util/VanillaBiomeParameters$Type;)Lnet/minecraft/world/biome/source/util/MultiNoiseUtil$Entries;
-
method_49514
- Mappings:
Namespace Name Mixin selector official a
Lcnr$a;a()Ljava/util/stream/Stream;
intermediary method_49514
Lnet/minecraft/class_8197$class_5305;method_49514()Ljava/util/stream/Stream;
named method_49514
Lnet/minecraft/class_8197$Preset;method_49514()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 theid
record component.- Returns:
- the value of the
id
record component
-
biomeSourceFunction
Returns the value of thebiomeSourceFunction
record component.- Returns:
- the value of the
biomeSourceFunction
record component
-