Package net.minecraft.item.trim
Class ArmorTrim
java.lang.Object
net.minecraft.item.trim.ArmorTrim
- Mappings:
Namespace Name official cib
intermediary net/minecraft/class_8053
named net/minecraft/item/trim/ArmorTrim
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<ArmorTrim>
private final Function<ArmorMaterial,
Identifier> private final Function<ArmorMaterial,
Identifier> private static final Logger
private final RegistryEntry<ArmorTrimMaterial>
static final String
private final RegistryEntry<ArmorTrimPattern>
private static final Text
-
Constructor Summary
ConstructorDescriptionArmorTrim
(RegistryEntry<ArmorTrimMaterial> material, RegistryEntry<ArmorTrimPattern> pattern) -
Method Summary
Modifier and TypeMethodDescriptionstatic void
appendTooltip
(ItemStack stack, DynamicRegistryManager registryManager, List<Text> tooltip) static boolean
apply
(DynamicRegistryManager registryManager, ItemStack stack, ArmorTrim trim) boolean
boolean
equals
(RegistryEntry<ArmorTrimPattern> pattern, RegistryEntry<ArmorTrimMaterial> material) getGenericModelId
(ArmorMaterial armorMaterial) getLeggingsModelId
(ArmorMaterial armorMaterial) private String
getMaterialAssetNameFor
(ArmorMaterial armorMaterial) getTrim
(DynamicRegistryManager registryManager, ItemStack stack)
-
Field Details
-
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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
-
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
- 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
-