Record Class ArmorTrimAssets.AssetId

java.lang.Object
java.lang.Record
net.minecraft.item.equipment.trim.ArmorTrimAssets.AssetId
Record Components:
suffix -
Enclosing class:
ArmorTrimAssets

public static record ArmorTrimAssets.AssetId(String suffix) extends Record
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 Details Link icon

    • suffix Link icon

      private final String suffix
      The field for the suffix record component.
    • CODEC Link icon

      public static final com.mojang.serialization.Codec<ArmorTrimAssets.AssetId> 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 Link icon

      public static final PacketCodec<ByteBuf,ArmorTrimAssets.AssetId> 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 Link icon

    • AssetId Link icon

      public AssetId(String string)
  • Method Details Link icon

    • toString Link icon

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode Link icon

      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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals Link icon

      public final boolean equals(Object object)
      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 with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      object - the object with which to compare
      Returns:
      true if this object is the same as the object argument; false otherwise.
    • suffix Link icon

      public String suffix()
      Returns the value of the suffix record component.
      Returns:
      the value of the suffix record component