Record Class GuiResourceMetadata
java.lang.Object
java.lang.Record
net.minecraft.client.resource.metadata.GuiResourceMetadata
- Record Components:
- scaling-
- Mappings:
- Namespace - Name - named - net/minecraft/client/resource/metadata/GuiResourceMetadata- intermediary - net/minecraft/class_8689- official - hgk- named - scaling- intermediary - comp_1636- official - d
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<GuiResourceMetadata> static final GuiResourceMetadataprivate final ScalingThe field for thescalingrecord component.static final ResourceMetadataSerializer<GuiResourceMetadata> 
- 
Constructor SummaryConstructorsConstructorDescriptionGuiResourceMetadata(Scaling scaling) Creates an instance of aGuiResourceMetadatarecord class.
- 
Method SummaryModifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.scaling()Returns the value of thescalingrecord component.final StringtoString()Returns a string representation of this record class.
- 
Field Details- 
scalingThe field for thescalingrecord component.
- 
DEFAULT- Mappings:
- Namespace - Name - Mixin selector - named - DEFAULT- Lnet/minecraft/client/resource/metadata/GuiResourceMetadata;DEFAULT:Lnet/minecraft/client/resource/metadata/GuiResourceMetadata;- intermediary - field_45645- Lnet/minecraft/class_8689;field_45645:Lnet/minecraft/class_8689;- official - a- Lhgk;a:Lhgk;
 
- 
CODEC- Mappings:
- Namespace - Name - Mixin selector - named - CODEC- Lnet/minecraft/client/resource/metadata/GuiResourceMetadata;CODEC:Lcom/mojang/serialization/Codec;- intermediary - field_45646- Lnet/minecraft/class_8689;field_45646:Lcom/mojang/serialization/Codec;- official - b- Lhgk;b:Lcom/mojang/serialization/Codec;
 
- 
SERIALIZER- Mappings:
- Namespace - Name - Mixin selector - named - SERIALIZER- Lnet/minecraft/client/resource/metadata/GuiResourceMetadata;SERIALIZER:Lnet/minecraft/resource/metadata/ResourceMetadataSerializer;- intermediary - field_45647- Lnet/minecraft/class_8689;field_45647:Lnet/minecraft/class_7677;- official - c- Lhgk;c:Latp;
 
 
- 
- 
Constructor Details- 
GuiResourceMetadataCreates an instance of aGuiResourceMetadatarecord class.- Parameters:
- scaling- the value for the- scalingrecord component
 
 
- 
- 
Method Details- 
toStringReturns 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.
- 
hashCodepublic 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.
- 
equalsIndicates 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).
- 
scalingReturns the value of thescalingrecord component.- Returns:
- the value of the scalingrecord component
 
 
-