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/DeprecatedLanguageData
intermediary net/minecraft/class_10117
official ur
named removed
intermediary comp_3076
official c
named renamed
intermediary comp_3077
official d
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<DeprecatedLanguageData> private static final Logger
static final DeprecatedLanguageData
The field for theremoved
record component.The field for therenamed
record component. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
static DeprecatedLanguageData
create()
final boolean
Indicates whether some other object is "equal to" this one.static DeprecatedLanguageData
fromInputStream
(InputStream stream) static DeprecatedLanguageData
final int
hashCode()
Returns a hash code value for this object.removed()
Returns the value of theremoved
record component.renamed()
Returns the value of therenamed
record component.final String
toString()
Returns a string representation of this record class.
-
Field Details
-
removed
The field for theremoved
record component. -
renamed
The field for therenamed
record component. -
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
- 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
- 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
-
DeprecatedLanguageData
-
-
Method Details
-
fromInputStream
- 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
- 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
- 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
- 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
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 theremoved
record component.- Returns:
- the value of the
removed
record component
-
renamed
Returns the value of therenamed
record component.- Returns:
- the value of the
renamed
record component
-