Record Class ArmorTrimAssets

java.lang.Object
java.lang.Record
net.minecraft.item.equipment.trim.ArmorTrimAssets
Record Components:
base -
overrides -

public record ArmorTrimAssets(ArmorTrimAssets.AssetId base, Map<RegistryKey<EquipmentAsset>,ArmorTrimAssets.AssetId> overrides) extends Record
Mappings:
Namespace Name
named net/minecraft/item/equipment/trim/ArmorTrimAssets
intermediary net/minecraft/class_10714
official dlh
named base
intermediary comp_3603
official o
named overrides
intermediary comp_3604
official p
  • Field Details

    • base

      private final ArmorTrimAssets.AssetId base
      The field for the base record component.
    • overrides

      The field for the overrides record component.
    • field_56322

      public static final String field_56322
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_56322 Lnet/minecraft/item/equipment/trim/ArmorTrimAssets;field_56322:Ljava/lang/String;
      intermediary field_56322 Lnet/minecraft/class_10714;field_56322:Ljava/lang/String;
      official a Ldlh;a:Ljava/lang/String;
    • CODEC

      public static final com.mojang.serialization.MapCodec<ArmorTrimAssets> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/item/equipment/trim/ArmorTrimAssets;CODEC:Lcom/mojang/serialization/MapCodec;
      intermediary field_56323 Lnet/minecraft/class_10714;field_56323:Lcom/mojang/serialization/MapCodec;
      official b Ldlh;b:Lcom/mojang/serialization/MapCodec;
    • PACKET_CODEC

      public static final PacketCodec<ByteBuf,ArmorTrimAssets> PACKET_CODEC
      Mappings:
      Namespace Name Mixin selector
      named PACKET_CODEC Lnet/minecraft/item/equipment/trim/ArmorTrimAssets;PACKET_CODEC:Lnet/minecraft/network/codec/PacketCodec;
      intermediary field_56324 Lnet/minecraft/class_10714;field_56324:Lnet/minecraft/class_9139;
      official c Ldlh;c:Lzm;
    • QUARTZ

      public static final ArmorTrimAssets QUARTZ
      Mappings:
      Namespace Name Mixin selector
      named QUARTZ Lnet/minecraft/item/equipment/trim/ArmorTrimAssets;QUARTZ:Lnet/minecraft/item/equipment/trim/ArmorTrimAssets;
      intermediary field_56325 Lnet/minecraft/class_10714;field_56325:Lnet/minecraft/class_10714;
      official d Ldlh;d:Ldlh;
    • IRON

      public static final ArmorTrimAssets IRON
      Mappings:
      Namespace Name Mixin selector
      named IRON Lnet/minecraft/item/equipment/trim/ArmorTrimAssets;IRON:Lnet/minecraft/item/equipment/trim/ArmorTrimAssets;
      intermediary field_56326 Lnet/minecraft/class_10714;field_56326:Lnet/minecraft/class_10714;
      official e Ldlh;e:Ldlh;
    • NETHERITE

      public static final ArmorTrimAssets NETHERITE
      Mappings:
      Namespace Name Mixin selector
      named NETHERITE Lnet/minecraft/item/equipment/trim/ArmorTrimAssets;NETHERITE:Lnet/minecraft/item/equipment/trim/ArmorTrimAssets;
      intermediary field_56327 Lnet/minecraft/class_10714;field_56327:Lnet/minecraft/class_10714;
      official f Ldlh;f:Ldlh;
    • REDSTONE

      public static final ArmorTrimAssets REDSTONE
      Mappings:
      Namespace Name Mixin selector
      named REDSTONE Lnet/minecraft/item/equipment/trim/ArmorTrimAssets;REDSTONE:Lnet/minecraft/item/equipment/trim/ArmorTrimAssets;
      intermediary field_56328 Lnet/minecraft/class_10714;field_56328:Lnet/minecraft/class_10714;
      official g Ldlh;g:Ldlh;
    • COPPER

      public static final ArmorTrimAssets COPPER
      Mappings:
      Namespace Name Mixin selector
      named COPPER Lnet/minecraft/item/equipment/trim/ArmorTrimAssets;COPPER:Lnet/minecraft/item/equipment/trim/ArmorTrimAssets;
      intermediary field_56329 Lnet/minecraft/class_10714;field_56329:Lnet/minecraft/class_10714;
      official h Ldlh;h:Ldlh;
    • GOLD

      public static final ArmorTrimAssets GOLD
      Mappings:
      Namespace Name Mixin selector
      named GOLD Lnet/minecraft/item/equipment/trim/ArmorTrimAssets;GOLD:Lnet/minecraft/item/equipment/trim/ArmorTrimAssets;
      intermediary field_56330 Lnet/minecraft/class_10714;field_56330:Lnet/minecraft/class_10714;
      official i Ldlh;i:Ldlh;
    • EMERALD

      public static final ArmorTrimAssets EMERALD
      Mappings:
      Namespace Name Mixin selector
      named EMERALD Lnet/minecraft/item/equipment/trim/ArmorTrimAssets;EMERALD:Lnet/minecraft/item/equipment/trim/ArmorTrimAssets;
      intermediary field_56331 Lnet/minecraft/class_10714;field_56331:Lnet/minecraft/class_10714;
      official j Ldlh;j:Ldlh;
    • DIAMOND

      public static final ArmorTrimAssets DIAMOND
      Mappings:
      Namespace Name Mixin selector
      named DIAMOND Lnet/minecraft/item/equipment/trim/ArmorTrimAssets;DIAMOND:Lnet/minecraft/item/equipment/trim/ArmorTrimAssets;
      intermediary field_56332 Lnet/minecraft/class_10714;field_56332:Lnet/minecraft/class_10714;
      official k Ldlh;k:Ldlh;
    • LAPIS

      public static final ArmorTrimAssets LAPIS
      Mappings:
      Namespace Name Mixin selector
      named LAPIS Lnet/minecraft/item/equipment/trim/ArmorTrimAssets;LAPIS:Lnet/minecraft/item/equipment/trim/ArmorTrimAssets;
      intermediary field_56333 Lnet/minecraft/class_10714;field_56333:Lnet/minecraft/class_10714;
      official l Ldlh;l:Ldlh;
    • AMETHYST

      public static final ArmorTrimAssets AMETHYST
      Mappings:
      Namespace Name Mixin selector
      named AMETHYST Lnet/minecraft/item/equipment/trim/ArmorTrimAssets;AMETHYST:Lnet/minecraft/item/equipment/trim/ArmorTrimAssets;
      intermediary field_56334 Lnet/minecraft/class_10714;field_56334:Lnet/minecraft/class_10714;
      official m Ldlh;m:Ldlh;
    • RESIN

      public static final ArmorTrimAssets RESIN
      Mappings:
      Namespace Name Mixin selector
      named RESIN Lnet/minecraft/item/equipment/trim/ArmorTrimAssets;RESIN:Lnet/minecraft/item/equipment/trim/ArmorTrimAssets;
      intermediary field_56335 Lnet/minecraft/class_10714;field_56335:Lnet/minecraft/class_10714;
      official n Ldlh;n:Ldlh;
  • Constructor Details

  • Method Details

    • of

      public static ArmorTrimAssets of(String suffix)
      Mappings:
      Namespace Name Mixin selector
      named of Lnet/minecraft/item/equipment/trim/ArmorTrimAssets;of(Ljava/lang/String;)Lnet/minecraft/item/equipment/trim/ArmorTrimAssets;
      intermediary method_67229 Lnet/minecraft/class_10714;method_67229(Ljava/lang/String;)Lnet/minecraft/class_10714;
      official a Ldlh;a(Ljava/lang/String;)Ldlh;
    • of

      public static ArmorTrimAssets of(String suffix, Map<RegistryKey<EquipmentAsset>,String> overrides)
      Mappings:
      Namespace Name Mixin selector
      named of Lnet/minecraft/item/equipment/trim/ArmorTrimAssets;of(Ljava/lang/String;Ljava/util/Map;)Lnet/minecraft/item/equipment/trim/ArmorTrimAssets;
      intermediary method_67230 Lnet/minecraft/class_10714;method_67230(Ljava/lang/String;Ljava/util/Map;)Lnet/minecraft/class_10714;
      official a Ldlh;a(Ljava/lang/String;Ljava/util/Map;)Ldlh;
    • getAssetId

      public ArmorTrimAssets.AssetId getAssetId(RegistryKey<EquipmentAsset> equipmentAsset)
      Mappings:
      Namespace Name Mixin selector
      named getAssetId Lnet/minecraft/item/equipment/trim/ArmorTrimAssets;getAssetId(Lnet/minecraft/registry/RegistryKey;)Lnet/minecraft/item/equipment/trim/ArmorTrimAssets$AssetId;
      intermediary method_67227 Lnet/minecraft/class_10714;method_67227(Lnet/minecraft/class_5321;)Lnet/minecraft/class_10714$class_10715;
      official a Ldlh;a(Lamd;)Ldlh$a;
    • toString

      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

      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

      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.
    • base

      public ArmorTrimAssets.AssetId base()
      Returns the value of the base record component.
      Returns:
      the value of the base record component
    • overrides

      Returns the value of the overrides record component.
      Returns:
      the value of the overrides record component