Record Class ArmorTrimMaterial
java.lang.Object
java.lang.Record
net.minecraft.item.equipment.trim.ArmorTrimMaterial
- Record Components:
assets-description-
- Mappings:
Namespace Name named net/minecraft/item/equipment/trim/ArmorTrimMaterialintermediary net/minecraft/class_8054official dixnamed assetsintermediary comp_3606official enamed descriptionintermediary comp_1212official f
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ArmorTrimAssetsThe field for theassetsrecord component.static final com.mojang.serialization.Codec<ArmorTrimMaterial> private final TextThe field for thedescriptionrecord component.static final com.mojang.serialization.Codec<RegistryEntry<ArmorTrimMaterial>> static final PacketCodec<RegistryByteBuf, RegistryEntry<ArmorTrimMaterial>> static final PacketCodec<RegistryByteBuf, ArmorTrimMaterial> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionassets()Returns the value of theassetsrecord component.Returns the value of thedescriptionrecord 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
-
assets
The field for theassetsrecord component. -
description
The field for thedescriptionrecord component. -
CODEC
- Mappings:
Namespace Name Mixin selector named CODECLnet/minecraft/item/equipment/trim/ArmorTrimMaterial;CODEC:Lcom/mojang/serialization/Codec;intermediary field_42002Lnet/minecraft/class_8054;field_42002:Lcom/mojang/serialization/Codec;official aLdix;a:Lcom/mojang/serialization/Codec;
-
PACKET_CODEC
- Mappings:
Namespace Name Mixin selector named PACKET_CODECLnet/minecraft/item/equipment/trim/ArmorTrimMaterial;PACKET_CODEC:Lnet/minecraft/network/codec/PacketCodec;intermediary field_49280Lnet/minecraft/class_8054;field_49280:Lnet/minecraft/class_9139;official bLdix;b:Lze;
-
ENTRY_CODEC
- Mappings:
Namespace Name Mixin selector named ENTRY_CODECLnet/minecraft/item/equipment/trim/ArmorTrimMaterial;ENTRY_CODEC:Lcom/mojang/serialization/Codec;intermediary field_42003Lnet/minecraft/class_8054;field_42003:Lcom/mojang/serialization/Codec;official cLdix;c:Lcom/mojang/serialization/Codec;
-
ENTRY_PACKET_CODEC
public static final PacketCodec<RegistryByteBuf,RegistryEntry<ArmorTrimMaterial>> ENTRY_PACKET_CODEC- Mappings:
Namespace Name Mixin selector named ENTRY_PACKET_CODECLnet/minecraft/item/equipment/trim/ArmorTrimMaterial;ENTRY_PACKET_CODEC:Lnet/minecraft/network/codec/PacketCodec;intermediary field_49281Lnet/minecraft/class_8054;field_49281:Lnet/minecraft/class_9139;official dLdix;d:Lze;
-
-
Constructor Details
-
ArmorTrimMaterial
-
-
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). -
assets
Returns the value of theassetsrecord component.- Returns:
- the value of the
assetsrecord component
-
description
Returns the value of thedescriptionrecord component.- Returns:
- the value of the
descriptionrecord component
-