Package net.minecraft.util
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/DeprecatedLanguageDataintermediary net/minecraft/class_10117official urnamed removedintermediary comp_3076official cnamed renamedintermediary comp_3077official d
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<DeprecatedLanguageData> private static final Loggerstatic final DeprecatedLanguageDataThe field for theremovedrecord component.The field for therenamedrecord component. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidstatic DeprecatedLanguageDatacreate()final booleanIndicates whether some other object is "equal to" this one.static DeprecatedLanguageDatafromInputStream(InputStream stream) static DeprecatedLanguageDatafinal inthashCode()Returns a hash code value for this object.removed()Returns the value of theremovedrecord component.renamed()Returns the value of therenamedrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
removed
The field for theremovedrecord component. -
renamed
The field for therenamedrecord component. -
LOGGER
- Mappings:
Namespace Name Mixin selector named LOGGERLnet/minecraft/util/DeprecatedLanguageData;LOGGER:Lorg/slf4j/Logger;intermediary field_53739Lnet/minecraft/class_10117;field_53739:Lorg/slf4j/Logger;official eLur;e:Lorg/slf4j/Logger;
-
NONE
- Mappings:
Namespace Name Mixin selector named NONELnet/minecraft/util/DeprecatedLanguageData;NONE:Lnet/minecraft/util/DeprecatedLanguageData;intermediary field_53737Lnet/minecraft/class_10117;field_53737:Lnet/minecraft/class_10117;official aLur;a:Lur;
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODECLnet/minecraft/util/DeprecatedLanguageData;CODEC:Lcom/mojang/serialization/Codec;intermediary field_53738Lnet/minecraft/class_10117;field_53738:Lcom/mojang/serialization/Codec;official bLur;b:Lcom/mojang/serialization/Codec;
-
-
Constructor Details
-
DeprecatedLanguageData
-
-
Method Details
-
fromInputStream
- Mappings:
Namespace Name Mixin selector named fromInputStreamLnet/minecraft/util/DeprecatedLanguageData;fromInputStream(Ljava/io/InputStream;)Lnet/minecraft/util/DeprecatedLanguageData;intermediary method_62778Lnet/minecraft/class_10117;method_62778(Ljava/io/InputStream;)Lnet/minecraft/class_10117;official aLur;a(Ljava/io/InputStream;)Lur;
-
fromPath
- Mappings:
Namespace Name Mixin selector named fromPathLnet/minecraft/util/DeprecatedLanguageData;fromPath(Ljava/lang/String;)Lnet/minecraft/util/DeprecatedLanguageData;intermediary method_62779Lnet/minecraft/class_10117;method_62779(Ljava/lang/String;)Lnet/minecraft/class_10117;official aLur;a(Ljava/lang/String;)Lur;
-
create
- Mappings:
Namespace Name Mixin selector named createLnet/minecraft/util/DeprecatedLanguageData;create()Lnet/minecraft/util/DeprecatedLanguageData;intermediary method_62776Lnet/minecraft/class_10117;method_62776()Lnet/minecraft/class_10117;official aLur;a()Lur;
-
apply
- Mappings:
Namespace Name Mixin selector named applyLnet/minecraft/util/DeprecatedLanguageData;apply(Ljava/util/Map;)Vintermediary method_62780Lnet/minecraft/class_10117;method_62780(Ljava/util/Map;)Vofficial aLur;a(Ljava/util/Map;)V
-
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). -
removed
Returns the value of theremovedrecord component.- Returns:
- the value of the
removedrecord component
-
renamed
Returns the value of therenamedrecord component.- Returns:
- the value of the
renamedrecord component
-