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 azo$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 Details

  • Constructor Details

  • Method Details

    • create

      public static StructuresToConfiguredStructuresFix.Mapping create(String mapping)
      Mappings:
      Namespace Name Mixin selector
      official a Lazo$a;a(Ljava/lang/String;)Lazo$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 Lazo$a;a(Ljava/util/Map;Ljava/lang/String;)Lazo$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

      private static Map<String,String> flattenBiomeMapping(Map<List<String>,String> biomeMapping)
      Mappings:
      Namespace Name Mixin selector
      official a Lazo$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

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object object)
      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 with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      object - the object with which to compare
      Returns:
      true if this object is the same as the object argument; false otherwise.
    • biomeMapping

      public Map<String,String> biomeMapping()
      Returns the value of the biomeMapping record component.
      Returns:
      the value of the biomeMapping record component
    • fallback

      public String fallback()
      Returns the value of the fallback record component.
      Returns:
      the value of the fallback record component