Package net.minecraft.datafixer.fix
Record Class StructuresToConfiguredStructuresFix.Mapping
java.lang.Object
java.lang.Record
net.minecraft.datafixer.fix.StructuresToConfiguredStructuresFix.Mapping
- Record Components:
biomeMapping
-fallback
-
- Enclosing class:
StructuresToConfiguredStructuresFix
private static record StructuresToConfiguredStructuresFix.Mapping(Map<String,String> biomeMapping, String fallback)
extends Record
- Mappings:
Namespace Name official atj$a
intermediary net/minecraft/class_7046$class_7047
named net/minecraft/datafixer/fix/StructuresToConfiguredStructuresFix$Mapping
official a
intermediary comp_462
named biomeMapping
official b
intermediary comp_463
named fallback
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe field for thebiomeMapping
record component.private final String
The field for thefallback
record component. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thebiomeMapping
record component.final boolean
Indicates whether some other object is "equal to" this one.fallback()
Returns the value of thefallback
record component.flattenBiomeMapping
(Map<List<String>, String> biomeMapping) final int
hashCode()
Returns a hash code value for this object.final String
toString()
Returns a string representation of this record class.
-
Field Details
-
biomeMapping
The field for thebiomeMapping
record component. -
fallback
The field for thefallback
record component.
-
-
Constructor Details
-
Mapping
-
-
Method Details
-
create
- Mappings:
Namespace Name Mixin selector official a
Latj$a;a(Ljava/lang/String;)Latj$a;
intermediary method_41027
Lnet/minecraft/class_7046$class_7047;method_41027(Ljava/lang/String;)Lnet/minecraft/class_7046$class_7047;
named create
Lnet/minecraft/datafixer/fix/StructuresToConfiguredStructuresFix$Mapping;create(Ljava/lang/String;)Lnet/minecraft/datafixer/fix/StructuresToConfiguredStructuresFix$Mapping;
-
create
public static StructuresToConfiguredStructuresFix.Mapping create(Map<List<String>, String> biomeMapping, String fallback) - Mappings:
Namespace Name Mixin selector official a
Latj$a;a(Ljava/util/Map;Ljava/lang/String;)Latj$a;
intermediary method_41029
Lnet/minecraft/class_7046$class_7047;method_41029(Ljava/util/Map;Ljava/lang/String;)Lnet/minecraft/class_7046$class_7047;
named create
Lnet/minecraft/datafixer/fix/StructuresToConfiguredStructuresFix$Mapping;create(Ljava/util/Map;Ljava/lang/String;)Lnet/minecraft/datafixer/fix/StructuresToConfiguredStructuresFix$Mapping;
-
flattenBiomeMapping
- Mappings:
Namespace Name Mixin selector official a
Latj$a;a(Ljava/util/Map;)Ljava/util/Map;
intermediary method_41028
Lnet/minecraft/class_7046$class_7047;method_41028(Ljava/util/Map;)Ljava/util/Map;
named flattenBiomeMapping
Lnet/minecraft/datafixer/fix/StructuresToConfiguredStructuresFix$Mapping;flattenBiomeMapping(Ljava/util/Map;)Ljava/util/Map;
-
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)
. -
biomeMapping
Returns the value of thebiomeMapping
record component.- Returns:
- the value of the
biomeMapping
record component
-
fallback
Returns the value of thefallback
record component.- Returns:
- the value of the
fallback
record component
-