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 aso$aintermediary net/minecraft/class_7046$class_7047named net/minecraft/datafixer/fix/StructuresToConfiguredStructuresFix$Mappingofficial aintermediary comp_462named biomeMappingofficial bintermediary comp_463named fallback
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe field for thebiomeMappingrecord component.private final StringThe field for thefallbackrecord component. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thebiomeMappingrecord component.final booleanIndicates whether some other object is "equal to" this one.fallback()Returns the value of thefallbackrecord component.flattenBiomeMapping(Map<List<String>, String> biomeMapping) final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
biomeMapping
The field for thebiomeMappingrecord component. -
fallback
The field for thefallbackrecord component.
-
-
Constructor Details
-
Mapping
-
-
Method Details
-
create
- Mappings:
Namespace Name Mixin selector official aLaso$a;a(Ljava/lang/String;)Laso$a;intermediary method_41027Lnet/minecraft/class_7046$class_7047;method_41027(Ljava/lang/String;)Lnet/minecraft/class_7046$class_7047;named createLnet/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 aLaso$a;a(Ljava/util/Map;Ljava/lang/String;)Laso$a;intermediary method_41029Lnet/minecraft/class_7046$class_7047;method_41029(Ljava/util/Map;Ljava/lang/String;)Lnet/minecraft/class_7046$class_7047;named createLnet/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 aLaso$a;a(Ljava/util/Map;)Ljava/util/Map;intermediary method_41028Lnet/minecraft/class_7046$class_7047;method_41028(Ljava/util/Map;)Ljava/util/Map;named flattenBiomeMappingLnet/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 thebiomeMappingrecord component.- Returns:
- the value of the
biomeMappingrecord component
-
fallback
Returns the value of thefallbackrecord component.- Returns:
- the value of the
fallbackrecord component
-