Record Class DeprecatedLanguageData

java.lang.Object
java.lang.Record
net.minecraft.util.DeprecatedLanguageData
Record Components:
removed -
renamed -

public record DeprecatedLanguageData(List<String> removed, Map<String,String> renamed) extends Record
Mappings:
Namespace Name
named net/minecraft/util/DeprecatedLanguageData
intermediary net/minecraft/class_10117
official ur
named removed
intermediary comp_3076
official c
named renamed
intermediary comp_3077
official d
  • Field Details

    • removed

      private final List<String> removed
      The field for the removed record component.
    • renamed

      private final Map<String,String> renamed
      The field for the renamed record component.
    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      named LOGGER Lnet/minecraft/util/DeprecatedLanguageData;LOGGER:Lorg/slf4j/Logger;
      intermediary field_53739 Lnet/minecraft/class_10117;field_53739:Lorg/slf4j/Logger;
      official e Lur;e:Lorg/slf4j/Logger;
    • NONE

      public static final DeprecatedLanguageData NONE
      Mappings:
      Namespace Name Mixin selector
      named NONE Lnet/minecraft/util/DeprecatedLanguageData;NONE:Lnet/minecraft/util/DeprecatedLanguageData;
      intermediary field_53737 Lnet/minecraft/class_10117;field_53737:Lnet/minecraft/class_10117;
      official a Lur;a:Lur;
    • CODEC

      public static final com.mojang.serialization.Codec<DeprecatedLanguageData> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/util/DeprecatedLanguageData;CODEC:Lcom/mojang/serialization/Codec;
      intermediary field_53738 Lnet/minecraft/class_10117;field_53738:Lcom/mojang/serialization/Codec;
      official b Lur;b:Lcom/mojang/serialization/Codec;
  • Constructor Details

  • Method Details

    • fromInputStream

      public static DeprecatedLanguageData fromInputStream(InputStream stream)
      Mappings:
      Namespace Name Mixin selector
      named fromInputStream Lnet/minecraft/util/DeprecatedLanguageData;fromInputStream(Ljava/io/InputStream;)Lnet/minecraft/util/DeprecatedLanguageData;
      intermediary method_62778 Lnet/minecraft/class_10117;method_62778(Ljava/io/InputStream;)Lnet/minecraft/class_10117;
      official a Lur;a(Ljava/io/InputStream;)Lur;
    • fromPath

      public static DeprecatedLanguageData fromPath(String path)
      Mappings:
      Namespace Name Mixin selector
      named fromPath Lnet/minecraft/util/DeprecatedLanguageData;fromPath(Ljava/lang/String;)Lnet/minecraft/util/DeprecatedLanguageData;
      intermediary method_62779 Lnet/minecraft/class_10117;method_62779(Ljava/lang/String;)Lnet/minecraft/class_10117;
      official a Lur;a(Ljava/lang/String;)Lur;
    • create

      public static DeprecatedLanguageData create()
      Mappings:
      Namespace Name Mixin selector
      named create Lnet/minecraft/util/DeprecatedLanguageData;create()Lnet/minecraft/util/DeprecatedLanguageData;
      intermediary method_62776 Lnet/minecraft/class_10117;method_62776()Lnet/minecraft/class_10117;
      official a Lur;a()Lur;
    • apply

      public void apply(Map<String,String> map)
      Mappings:
      Namespace Name Mixin selector
      named apply Lnet/minecraft/util/DeprecatedLanguageData;apply(Ljava/util/Map;)V
      intermediary method_62780 Lnet/minecraft/class_10117;method_62780(Ljava/util/Map;)V
      official a Lur;a(Ljava/util/Map;)V
    • 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.
    • removed

      public List<String> removed()
      Returns the value of the removed record component.
      Returns:
      the value of the removed record component
    • renamed

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