yarn/mappings/net/minecraft/item/ArmorMaterial.mapping

39 lines
1.8 KiB
Plaintext

CLASS net/minecraft/class_1741 net/minecraft/item/ArmorMaterial
COMMENT Defines the material stats of an {@link ArmorItem} item.
COMMENT
COMMENT <p>
COMMENT To view available vanilla armor materials, visit {@link ArmorMaterials}.
FIELD comp_2299 enchantability I
FIELD field_48840 CODEC Lcom/mojang/serialization/Codec;
METHOD comp_2299 enchantability ()I
METHOD method_48403 getProtection (Lnet/minecraft/class_1738$class_8051;)I
COMMENT Returns the amount of armor protection points offered by an {@link ArmorItem}
COMMENT using this {@link ArmorMaterial} while it is worn by a player.
COMMENT
COMMENT <p>
COMMENT The protection value returned here is applied as an {@link net.minecraft.entity.attribute.EntityAttributeModifier}
COMMENT to a player wearing the {@link ArmorItem} piece via the {@link net.minecraft.entity.attribute.EntityAttributeModifier.Operation#ADD_VALUE} modifier.
COMMENT
COMMENT @return the amount of armor protection points offered by an {@link ArmorItem} with this {@link ArmorMaterial}
ARG 1 type
COMMENT the {@link ArmorItem.Type} of the {@link Item} with this {@link ArmorMaterial}
CLASS class_9196 Layer
FIELD field_48841 id Lnet/minecraft/class_2960;
FIELD field_48842 suffix Ljava/lang/String;
FIELD field_48843 dyeable Z
FIELD field_48844 layer2Texture Lnet/minecraft/class_2960;
FIELD field_48845 layer1Texture Lnet/minecraft/class_2960;
METHOD <init> (Lnet/minecraft/class_2960;)V
ARG 1 id
METHOD <init> (Lnet/minecraft/class_2960;Ljava/lang/String;Z)V
ARG 1 id
ARG 2 suffix
ARG 3 dyeable
METHOD method_56692 isDyeable ()Z
METHOD method_56693 getTexture (Z)Lnet/minecraft/class_2960;
ARG 1 secondLayer
METHOD method_56694 (ZLjava/lang/String;)Ljava/lang/String;
ARG 2 path
METHOD method_56695 getTextureId (Z)Lnet/minecraft/class_2960;
ARG 1 secondLayer