Record Class ArmorTrimAssets.AssetId
java.lang.Object
java.lang.Record
net.minecraft.item.equipment.trim.ArmorTrimAssets.AssetId
- Record Components:
suffix
-
- Enclosing class:
ArmorTrimAssets
- Mappings:
Namespace Name named net/minecraft/item/equipment/trim/ArmorTrimAssets$AssetId
intermediary net/minecraft/class_10714$class_10715
official diw$a
named suffix
intermediary comp_3605
official c
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<ArmorTrimAssets.AssetId> static final PacketCodec
<ByteBuf, ArmorTrimAssets.AssetId> private final String
The field for thesuffix
record component. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.suffix()
Returns the value of thesuffix
record component.final String
toString()
Returns a string representation of this record class.
-
Field Details
-
suffix
The field for thesuffix
record component. -
CODEC
- Mappings:
Namespace Name Mixin selector named CODEC
Lnet/minecraft/item/equipment/trim/ArmorTrimAssets$AssetId;CODEC:Lcom/mojang/serialization/Codec;
intermediary field_56336
Lnet/minecraft/class_10714$class_10715;field_56336:Lcom/mojang/serialization/Codec;
official a
Ldiw$a;a:Lcom/mojang/serialization/Codec;
-
PACKET_CODEC
- Mappings:
Namespace Name Mixin selector named PACKET_CODEC
Lnet/minecraft/item/equipment/trim/ArmorTrimAssets$AssetId;PACKET_CODEC:Lnet/minecraft/network/codec/PacketCodec;
intermediary field_56337
Lnet/minecraft/class_10714$class_10715;field_56337:Lnet/minecraft/class_9139;
official b
Ldiw$a;b:Lze;
-
-
Constructor Details
-
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)
. -
suffix
Returns the value of thesuffix
record component.- Returns:
- the value of the
suffix
record component
-