Package net.minecraft.item.trim
Class ArmorTrim
java.lang.Object
net.minecraft.item.trim.ArmorTrim
- All Implemented Interfaces:
TooltipAppender
- Mappings:
Namespace Name named net/minecraft/item/trim/ArmorTrim
intermediary net/minecraft/class_8053
official cwv
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<ArmorTrim> private final Function
<RegistryEntry<ArmorMaterial>, Identifier> private final Function
<RegistryEntry<ArmorMaterial>, Identifier> private final RegistryEntry
<ArmorTrimMaterial> static final PacketCodec
<RegistryByteBuf, ArmorTrim> private final RegistryEntry
<ArmorTrimPattern> private final boolean
private static final Text
-
Constructor Summary
ModifierConstructorDescriptionArmorTrim
(RegistryEntry<ArmorTrimMaterial> material, RegistryEntry<ArmorTrimPattern> pattern) ArmorTrim
(RegistryEntry<ArmorTrimMaterial> material, RegistryEntry<ArmorTrimPattern> pattern, boolean showInTooltip) private
ArmorTrim
(RegistryEntry<ArmorTrimMaterial> material, RegistryEntry<ArmorTrimPattern> pattern, boolean showInTooltip, Function<RegistryEntry<ArmorMaterial>, Identifier> leggingsModelIdGetter, Function<RegistryEntry<ArmorMaterial>, Identifier> genericModelIdGetter) -
Method Summary
Modifier and TypeMethodDescriptionvoid
appendTooltip
(Item.TooltipContext context, Consumer<Text> tooltip, TooltipType type) boolean
boolean
equals
(RegistryEntry<ArmorTrimPattern> pattern, RegistryEntry<ArmorTrimMaterial> material) getGenericModelId
(RegistryEntry<ArmorMaterial> armorMaterial) getLeggingsModelId
(RegistryEntry<ArmorMaterial> armorMaterial) private static String
getMaterialAssetNameFor
(RegistryEntry<ArmorTrimMaterial> material, RegistryEntry<ArmorMaterial> armorMaterial) int
hashCode()
withShowInTooltip
(boolean showInTooltip)
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODEC
Lnet/minecraft/item/trim/ArmorTrim;CODEC:Lcom/mojang/serialization/Codec;
intermediary field_41994
Lnet/minecraft/class_8053;field_41994:Lcom/mojang/serialization/Codec;
official a
Lcwv;a:Lcom/mojang/serialization/Codec;
-
PACKET_CODEC
- Mappings:
Namespace Name Mixin selector named PACKET_CODEC
Lnet/minecraft/item/trim/ArmorTrim;PACKET_CODEC:Lnet/minecraft/network/codec/PacketCodec;
intermediary field_49278
Lnet/minecraft/class_8053;field_49278:Lnet/minecraft/class_9139;
official b
Lcwv;b:Lyw;
-
UPGRADE_TEXT
- Mappings:
Namespace Name Mixin selector named UPGRADE_TEXT
Lnet/minecraft/item/trim/ArmorTrim;UPGRADE_TEXT:Lnet/minecraft/text/Text;
intermediary field_41997
Lnet/minecraft/class_8053;field_41997:Lnet/minecraft/class_2561;
official c
Lcwv;c:Lwy;
-
material
- Mappings:
Namespace Name Mixin selector named material
Lnet/minecraft/item/trim/ArmorTrim;material:Lnet/minecraft/registry/entry/RegistryEntry;
intermediary field_41998
Lnet/minecraft/class_8053;field_41998:Lnet/minecraft/class_6880;
official d
Lcwv;d:Ljm;
-
pattern
- Mappings:
Namespace Name Mixin selector named pattern
Lnet/minecraft/item/trim/ArmorTrim;pattern:Lnet/minecraft/registry/entry/RegistryEntry;
intermediary field_41999
Lnet/minecraft/class_8053;field_41999:Lnet/minecraft/class_6880;
official e
Lcwv;e:Ljm;
-
showInTooltip
private final boolean showInTooltip- Mappings:
Namespace Name Mixin selector named showInTooltip
Lnet/minecraft/item/trim/ArmorTrim;showInTooltip:Z
intermediary field_49279
Lnet/minecraft/class_8053;field_49279:Z
official f
Lcwv;f:Z
-
leggingsModelIdGetter
- Mappings:
Namespace Name Mixin selector named leggingsModelIdGetter
Lnet/minecraft/item/trim/ArmorTrim;leggingsModelIdGetter:Ljava/util/function/Function;
intermediary field_42000
Lnet/minecraft/class_8053;field_42000:Ljava/util/function/Function;
official g
Lcwv;g:Ljava/util/function/Function;
-
genericModelIdGetter
- Mappings:
Namespace Name Mixin selector named genericModelIdGetter
Lnet/minecraft/item/trim/ArmorTrim;genericModelIdGetter:Ljava/util/function/Function;
intermediary field_42001
Lnet/minecraft/class_8053;field_42001:Ljava/util/function/Function;
official h
Lcwv;h:Ljava/util/function/Function;
-
-
Constructor Details
-
ArmorTrim
private ArmorTrim(RegistryEntry<ArmorTrimMaterial> material, RegistryEntry<ArmorTrimPattern> pattern, boolean showInTooltip, Function<RegistryEntry<ArmorMaterial>, Identifier> leggingsModelIdGetter, Function<RegistryEntry<ArmorMaterial>, Identifier> genericModelIdGetter) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/item/trim/ArmorTrim;<init>(Lnet/minecraft/registry/entry/RegistryEntry;Lnet/minecraft/registry/entry/RegistryEntry;ZLjava/util/function/Function;Ljava/util/function/Function;)V
intermediary <init>
Lnet/minecraft/class_8053;<init>(Lnet/minecraft/class_6880;Lnet/minecraft/class_6880;ZLjava/util/function/Function;Ljava/util/function/Function;)V
official <init>
Lcwv;<init>(Ljm;Ljm;ZLjava/util/function/Function;Ljava/util/function/Function;)V
-
ArmorTrim
public ArmorTrim(RegistryEntry<ArmorTrimMaterial> material, RegistryEntry<ArmorTrimPattern> pattern, boolean showInTooltip) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/item/trim/ArmorTrim;<init>(Lnet/minecraft/registry/entry/RegistryEntry;Lnet/minecraft/registry/entry/RegistryEntry;Z)V
intermediary <init>
Lnet/minecraft/class_8053;<init>(Lnet/minecraft/class_6880;Lnet/minecraft/class_6880;Z)V
official <init>
Lcwv;<init>(Ljm;Ljm;Z)V
-
ArmorTrim
public ArmorTrim(RegistryEntry<ArmorTrimMaterial> material, RegistryEntry<ArmorTrimPattern> pattern) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/item/trim/ArmorTrim;<init>(Lnet/minecraft/registry/entry/RegistryEntry;Lnet/minecraft/registry/entry/RegistryEntry;)V
intermediary <init>
Lnet/minecraft/class_8053;<init>(Lnet/minecraft/class_6880;Lnet/minecraft/class_6880;)V
official <init>
Lcwv;<init>(Ljm;Ljm;)V
-
-
Method Details
-
getMaterialAssetNameFor
private static String getMaterialAssetNameFor(RegistryEntry<ArmorTrimMaterial> material, RegistryEntry<ArmorMaterial> armorMaterial) - Mappings:
Namespace Name Mixin selector named getMaterialAssetNameFor
Lnet/minecraft/item/trim/ArmorTrim;getMaterialAssetNameFor(Lnet/minecraft/registry/entry/RegistryEntry;Lnet/minecraft/registry/entry/RegistryEntry;)Ljava/lang/String;
intermediary method_48577
Lnet/minecraft/class_8053;method_48577(Lnet/minecraft/class_6880;Lnet/minecraft/class_6880;)Ljava/lang/String;
official b
Lcwv;b(Ljm;Ljm;)Ljava/lang/String;
-
equals
public boolean equals(RegistryEntry<ArmorTrimPattern> pattern, RegistryEntry<ArmorTrimMaterial> material) - Mappings:
Namespace Name Mixin selector named equals
Lnet/minecraft/item/trim/ArmorTrim;equals(Lnet/minecraft/registry/entry/RegistryEntry;Lnet/minecraft/registry/entry/RegistryEntry;)Z
intermediary method_48427
Lnet/minecraft/class_8053;method_48427(Lnet/minecraft/class_6880;Lnet/minecraft/class_6880;)Z
official a
Lcwv;a(Ljm;Ljm;)Z
-
getPattern
- Mappings:
Namespace Name Mixin selector named getPattern
Lnet/minecraft/item/trim/ArmorTrim;getPattern()Lnet/minecraft/registry/entry/RegistryEntry;
intermediary method_48424
Lnet/minecraft/class_8053;method_48424()Lnet/minecraft/class_6880;
official a
Lcwv;a()Ljm;
-
getMaterial
- Mappings:
Namespace Name Mixin selector named getMaterial
Lnet/minecraft/item/trim/ArmorTrim;getMaterial()Lnet/minecraft/registry/entry/RegistryEntry;
intermediary method_48431
Lnet/minecraft/class_8053;method_48431()Lnet/minecraft/class_6880;
official b
Lcwv;b()Ljm;
-
getLeggingsModelId
- Mappings:
Namespace Name Mixin selector named getLeggingsModelId
Lnet/minecraft/item/trim/ArmorTrim;getLeggingsModelId(Lnet/minecraft/registry/entry/RegistryEntry;)Lnet/minecraft/util/Identifier;
intermediary method_48434
Lnet/minecraft/class_8053;method_48434(Lnet/minecraft/class_6880;)Lnet/minecraft/class_2960;
official a
Lcwv;a(Ljm;)Lakq;
-
getGenericModelId
- Mappings:
Namespace Name Mixin selector named getGenericModelId
Lnet/minecraft/item/trim/ArmorTrim;getGenericModelId(Lnet/minecraft/registry/entry/RegistryEntry;)Lnet/minecraft/util/Identifier;
intermediary method_48436
Lnet/minecraft/class_8053;method_48436(Lnet/minecraft/class_6880;)Lnet/minecraft/class_2960;
official b
Lcwv;b(Ljm;)Lakq;
-
equals
-
hashCode
public int hashCode() -
appendTooltip
- Specified by:
appendTooltip
in interfaceTooltipAppender
- Mappings:
Namespace Name Mixin selector named appendTooltip
Lnet/minecraft/item/TooltipAppender;appendTooltip(Lnet/minecraft/item/Item$TooltipContext;Ljava/util/function/Consumer;Lnet/minecraft/client/item/TooltipType;)V
intermediary method_57409
Lnet/minecraft/class_9299;method_57409(Lnet/minecraft/class_1792$class_9635;Ljava/util/function/Consumer;Lnet/minecraft/class_1836;)V
official a
Lcxw;a(Lcuj$b;Ljava/util/function/Consumer;Lcwk;)V
-
withShowInTooltip
- Mappings:
Namespace Name Mixin selector named withShowInTooltip
Lnet/minecraft/item/trim/ArmorTrim;withShowInTooltip(Z)Lnet/minecraft/item/trim/ArmorTrim;
intermediary method_58421
Lnet/minecraft/class_8053;method_58421(Z)Lnet/minecraft/class_8053;
official a
Lcwv;a(Z)Lcwv;
-