Class ArmorTrim

java.lang.Object
net.minecraft.item.trim.ArmorTrim

public class ArmorTrim extends Object
Mappings:
Namespace Name
official cib
intermediary net/minecraft/class_8053
named net/minecraft/item/trim/ArmorTrim
  • Field Details

    • CODEC

      public static final com.mojang.serialization.Codec<ArmorTrim> CODEC
      Mappings:
      Namespace Name Mixin selector
      official a Lcib;a:Lcom/mojang/serialization/Codec;
      intermediary field_41994 Lnet/minecraft/class_8053;field_41994:Lcom/mojang/serialization/Codec;
      named CODEC Lnet/minecraft/item/trim/ArmorTrim;CODEC:Lcom/mojang/serialization/Codec;
    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official c Lcib;c:Lorg/slf4j/Logger;
      intermediary field_41996 Lnet/minecraft/class_8053;field_41996:Lorg/slf4j/Logger;
      named LOGGER Lnet/minecraft/item/trim/ArmorTrim;LOGGER:Lorg/slf4j/Logger;
    • NBT_KEY

      public static final String NBT_KEY
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official b Lcib;b:Ljava/lang/String;
      intermediary field_41995 Lnet/minecraft/class_8053;field_41995:Ljava/lang/String;
      named NBT_KEY Lnet/minecraft/item/trim/ArmorTrim;NBT_KEY:Ljava/lang/String;
    • UPGRADE_TEXT

      private static final Text UPGRADE_TEXT
      Mappings:
      Namespace Name Mixin selector
      official d Lcib;d:Lsw;
      intermediary field_41997 Lnet/minecraft/class_8053;field_41997:Lnet/minecraft/class_2561;
      named UPGRADE_TEXT Lnet/minecraft/item/trim/ArmorTrim;UPGRADE_TEXT:Lnet/minecraft/text/Text;
    • material

      private final RegistryEntry<ArmorTrimMaterial> material
      Mappings:
      Namespace Name Mixin selector
      official e Lcib;e:Lhe;
      intermediary field_41998 Lnet/minecraft/class_8053;field_41998:Lnet/minecraft/class_6880;
      named material Lnet/minecraft/item/trim/ArmorTrim;material:Lnet/minecraft/registry/entry/RegistryEntry;
    • pattern

      private final RegistryEntry<ArmorTrimPattern> pattern
      Mappings:
      Namespace Name Mixin selector
      official f Lcib;f:Lhe;
      intermediary field_41999 Lnet/minecraft/class_8053;field_41999:Lnet/minecraft/class_6880;
      named pattern Lnet/minecraft/item/trim/ArmorTrim;pattern:Lnet/minecraft/registry/entry/RegistryEntry;
    • leggingsModelIdGetter

      private final Function<ArmorMaterial,Identifier> leggingsModelIdGetter
      Mappings:
      Namespace Name Mixin selector
      official g Lcib;g:Ljava/util/function/Function;
      intermediary field_42000 Lnet/minecraft/class_8053;field_42000:Ljava/util/function/Function;
      named leggingsModelIdGetter Lnet/minecraft/item/trim/ArmorTrim;leggingsModelIdGetter:Ljava/util/function/Function;
    • genericModelIdGetter

      private final Function<ArmorMaterial,Identifier> genericModelIdGetter
      Mappings:
      Namespace Name Mixin selector
      official h Lcib;h:Ljava/util/function/Function;
      intermediary field_42001 Lnet/minecraft/class_8053;field_42001:Ljava/util/function/Function;
      named genericModelIdGetter Lnet/minecraft/item/trim/ArmorTrim;genericModelIdGetter:Ljava/util/function/Function;
  • Constructor Details

    • ArmorTrim

      public ArmorTrim(RegistryEntry<ArmorTrimMaterial> material, RegistryEntry<ArmorTrimPattern> pattern)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcib;<init>(Lhe;Lhe;)V
      intermediary <init> Lnet/minecraft/class_8053;<init>(Lnet/minecraft/class_6880;Lnet/minecraft/class_6880;)V
      named <init> Lnet/minecraft/item/trim/ArmorTrim;<init>(Lnet/minecraft/registry/entry/RegistryEntry;Lnet/minecraft/registry/entry/RegistryEntry;)V
  • Method Details

    • getMaterialAssetNameFor

      private String getMaterialAssetNameFor(ArmorMaterial armorMaterial)
      Mappings:
      Namespace Name Mixin selector
      official c Lcib;c(Lcdk;)Ljava/lang/String;
      intermediary method_48577 Lnet/minecraft/class_8053;method_48577(Lnet/minecraft/class_1741;)Ljava/lang/String;
      named getMaterialAssetNameFor Lnet/minecraft/item/trim/ArmorTrim;getMaterialAssetNameFor(Lnet/minecraft/item/ArmorMaterial;)Ljava/lang/String;
    • equals

      public boolean equals(RegistryEntry<ArmorTrimPattern> pattern, RegistryEntry<ArmorTrimMaterial> material)
      Mappings:
      Namespace Name Mixin selector
      official a Lcib;a(Lhe;Lhe;)Z
      intermediary method_48427 Lnet/minecraft/class_8053;method_48427(Lnet/minecraft/class_6880;Lnet/minecraft/class_6880;)Z
      named equals Lnet/minecraft/item/trim/ArmorTrim;equals(Lnet/minecraft/registry/entry/RegistryEntry;Lnet/minecraft/registry/entry/RegistryEntry;)Z
    • getPattern

      public RegistryEntry<ArmorTrimPattern> getPattern()
      Mappings:
      Namespace Name Mixin selector
      official a Lcib;a()Lhe;
      intermediary method_48424 Lnet/minecraft/class_8053;method_48424()Lnet/minecraft/class_6880;
      named getPattern Lnet/minecraft/item/trim/ArmorTrim;getPattern()Lnet/minecraft/registry/entry/RegistryEntry;
    • getMaterial

      public RegistryEntry<ArmorTrimMaterial> getMaterial()
      Mappings:
      Namespace Name Mixin selector
      official b Lcib;b()Lhe;
      intermediary method_48431 Lnet/minecraft/class_8053;method_48431()Lnet/minecraft/class_6880;
      named getMaterial Lnet/minecraft/item/trim/ArmorTrim;getMaterial()Lnet/minecraft/registry/entry/RegistryEntry;
    • getLeggingsModelId

      public Identifier getLeggingsModelId(ArmorMaterial armorMaterial)
      Mappings:
      Namespace Name Mixin selector
      official a Lcib;a(Lcdk;)Lacq;
      intermediary method_48434 Lnet/minecraft/class_8053;method_48434(Lnet/minecraft/class_1741;)Lnet/minecraft/class_2960;
      named getLeggingsModelId Lnet/minecraft/item/trim/ArmorTrim;getLeggingsModelId(Lnet/minecraft/item/ArmorMaterial;)Lnet/minecraft/util/Identifier;
    • getGenericModelId

      public Identifier getGenericModelId(ArmorMaterial armorMaterial)
      Mappings:
      Namespace Name Mixin selector
      official b Lcib;b(Lcdk;)Lacq;
      intermediary method_48436 Lnet/minecraft/class_8053;method_48436(Lnet/minecraft/class_1741;)Lnet/minecraft/class_2960;
      named getGenericModelId Lnet/minecraft/item/trim/ArmorTrim;getGenericModelId(Lnet/minecraft/item/ArmorMaterial;)Lnet/minecraft/util/Identifier;
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
      Mappings:
      Namespace Name Mixin selector
      official equals Lcib;equals(Ljava/lang/Object;)Z
      intermediary equals Lnet/minecraft/class_8053;equals(Ljava/lang/Object;)Z
      named equals Lnet/minecraft/item/trim/ArmorTrim;equals(Ljava/lang/Object;)Z
    • apply

      public static boolean apply(DynamicRegistryManager registryManager, ItemStack stack, ArmorTrim trim)
      Mappings:
      Namespace Name Mixin selector
      official a Lcib;a(Lhs;Lcfz;Lcib;)Z
      intermediary method_48429 Lnet/minecraft/class_8053;method_48429(Lnet/minecraft/class_5455;Lnet/minecraft/class_1799;Lnet/minecraft/class_8053;)Z
      named apply Lnet/minecraft/item/trim/ArmorTrim;apply(Lnet/minecraft/registry/DynamicRegistryManager;Lnet/minecraft/item/ItemStack;Lnet/minecraft/item/trim/ArmorTrim;)Z
    • getTrim

      public static Optional<ArmorTrim> getTrim(DynamicRegistryManager registryManager, ItemStack stack)
      Mappings:
      Namespace Name Mixin selector
      official a Lcib;a(Lhs;Lcfz;)Ljava/util/Optional;
      intermediary method_48428 Lnet/minecraft/class_8053;method_48428(Lnet/minecraft/class_5455;Lnet/minecraft/class_1799;)Ljava/util/Optional;
      named getTrim Lnet/minecraft/item/trim/ArmorTrim;getTrim(Lnet/minecraft/registry/DynamicRegistryManager;Lnet/minecraft/item/ItemStack;)Ljava/util/Optional;
    • appendTooltip

      public static void appendTooltip(ItemStack stack, DynamicRegistryManager registryManager, List<Text> tooltip)
      Mappings:
      Namespace Name Mixin selector
      official a Lcib;a(Lcfz;Lhs;Ljava/util/List;)V
      intermediary method_48425 Lnet/minecraft/class_8053;method_48425(Lnet/minecraft/class_1799;Lnet/minecraft/class_5455;Ljava/util/List;)V
      named appendTooltip Lnet/minecraft/item/trim/ArmorTrim;appendTooltip(Lnet/minecraft/item/ItemStack;Lnet/minecraft/registry/DynamicRegistryManager;Ljava/util/List;)V