Record Class LanguageResourceMetadata
java.lang.Object
java.lang.Record
net.minecraft.client.resource.metadata.LanguageResourceMetadata
- Record Components:
definitions-
@Environment(CLIENT)
public record LanguageResourceMetadata(Map<String,LanguageDefinition> definitions)
extends Record
- Mappings:
Namespace Name official fqyintermediary net/minecraft/class_1082named net/minecraft/client/resource/metadata/LanguageResourceMetadataofficial dintermediary comp_1201named definitions
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Map<String,LanguageDefinition> The field for thedefinitionsrecord component.static final com.mojang.serialization.Codec<String>static final com.mojang.serialization.Codec<LanguageResourceMetadata>static final ResourceMetadataSerializer<LanguageResourceMetadata> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedefinitionsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
definitions
The field for thedefinitionsrecord component. -
field_41863
- Mappings:
Namespace Name Mixin selector official aLfqy;a:Lcom/mojang/serialization/Codec;intermediary field_41863Lnet/minecraft/class_1082;field_41863:Lcom/mojang/serialization/Codec;named field_41863Lnet/minecraft/client/resource/metadata/LanguageResourceMetadata;field_41863:Lcom/mojang/serialization/Codec;
-
field_41864
- Mappings:
Namespace Name Mixin selector official bLfqy;b:Lcom/mojang/serialization/Codec;intermediary field_41864Lnet/minecraft/class_1082;field_41864:Lcom/mojang/serialization/Codec;named field_41864Lnet/minecraft/client/resource/metadata/LanguageResourceMetadata;field_41864:Lcom/mojang/serialization/Codec;
-
field_41865
- Mappings:
Namespace Name Mixin selector official cLfqy;c:Lajp;intermediary field_41865Lnet/minecraft/class_1082;field_41865:Lnet/minecraft/class_7677;named field_41865Lnet/minecraft/client/resource/metadata/LanguageResourceMetadata;field_41865:Lnet/minecraft/resource/metadata/ResourceMetadataSerializer;
-
-
Constructor Details
-
LanguageResourceMetadata
-
-
Method Details
-
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). -
definitions
Returns the value of thedefinitionsrecord component.- Returns:
- the value of the
definitionsrecord component
-