Package net.minecraft.item
Class ArmorItem
java.lang.Object
net.minecraft.item.Item
net.minecraft.item.ArmorItem
- All Implemented Interfaces:
Itemable
- Direct Known Subclasses:
class_3549
- Mappings:
Namespace Name official arbintermediary net/minecraft/class_1028named net/minecraft/item/ArmorItem
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.item.Item
Item.Settings -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final DispenserBehaviorprotected final EquipmentSlotprotected final floatprivate static final UUID[]protected final class_3542protected final intFields inherited from class net.minecraft.item.Item
ATTACK_DAMAGE_MODIFIER_UUID, ATTACK_SPEED_MODIFIER, BLOCK_ITEMS, itemGroup, RANDOM -
Constructor Summary
ConstructorsConstructorDescriptionArmorItem(class_3542 class_3542, EquipmentSlot equipmentSlot, Item.Settings settings) -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns whether the item can be repaired via an anvil or crafting table.intReturns the enchantability of an Item.static ItemStackmethod_11353(BlockPointer blockPointer, ItemStack itemStack) method_13649(World world, PlayerEntity player, Hand hand) intmethod_6326(EquipmentSlot equipmentSlot) Methods inherited from class net.minecraft.item.Item
addProperty, appendToItemGroup, appendTooltips, beforeBlockBreak, byRawId, canAddTo, computeTranslationKey, fromBlock, getBlockBreakingSpeed, getDefaultStack, getItem, getItemGroup, getMaxCount, getMaxDamage, getMaxUseTime, getProperty, getRarity, getRawId, getRecipeRemainder, getTranslationKey, getTranslationKey, getUseAction, hasEnchantmentGlint, hasProperties, inventoryTick, isDamageable, isEnchantable, isFood, isNetworkSynced, method_16075, method_16080, method_3346, method_3353, method_3356, method_3359, method_3367, method_3383, onCraft, onEntityHit, onHit, postProcessNbt, registerBlockItem, setup, shouldSyncNbtToClient, useOnBlock
-
Field Details
-
field_12277
- Mappings:
Namespace Name Mixin selector official kLarb;k:[Ljava/util/UUID;intermediary field_12277Lnet/minecraft/class_1028;field_12277:[Ljava/util/UUID;named field_12277Lnet/minecraft/item/ArmorItem;field_12277:[Ljava/util/UUID;
-
ARMOR_DISPENSER_BEHAVIOR
- Mappings:
Namespace Name Mixin selector official aLarb;a:Les;intermediary field_6165Lnet/minecraft/class_1028;field_6165:Lnet/minecraft/class_1348;named ARMOR_DISPENSER_BEHAVIORLnet/minecraft/item/ArmorItem;ARMOR_DISPENSER_BEHAVIOR:Lnet/minecraft/block/dispenser/DispenserBehavior;
-
field_12275
- Mappings:
Namespace Name Mixin selector official bLarb;b:Laew;intermediary field_12275Lnet/minecraft/class_1028;field_12275:Lnet/minecraft/class_2968;named field_12275Lnet/minecraft/item/ArmorItem;field_12275:Lnet/minecraft/entity/EquipmentSlot;
-
protection
protected final int protection- Mappings:
Namespace Name Mixin selector official cLarb;c:Iintermediary field_4157Lnet/minecraft/class_1028;field_4157:Inamed protectionLnet/minecraft/item/ArmorItem;protection:I
-
field_12276
protected final float field_12276- Mappings:
Namespace Name Mixin selector official dLarb;d:Fintermediary field_12276Lnet/minecraft/class_1028;field_12276:Fnamed field_12276Lnet/minecraft/item/ArmorItem;field_12276:F
-
field_4159
- Mappings:
Namespace Name Mixin selector official eLarb;e:Larc;intermediary field_4159Lnet/minecraft/class_1028;field_4159:Lnet/minecraft/class_3542;named field_4159Lnet/minecraft/item/ArmorItem;field_4159:Lnet/minecraft/class_3542;
-
-
Constructor Details
-
ArmorItem
-
-
Method Details
-
method_11353
- Mappings:
Namespace Name Mixin selector official aLarb;a(Lem;Late;)Late;intermediary method_11353Lnet/minecraft/class_1028;method_11353(Lnet/minecraft/class_1332;Lnet/minecraft/class_1071;)Lnet/minecraft/class_1071;named method_11353Lnet/minecraft/item/ArmorItem;method_11353(Lnet/minecraft/util/math/BlockPointer;Lnet/minecraft/item/ItemStack;)Lnet/minecraft/item/ItemStack;
-
method_11352
- Mappings:
Namespace Name Mixin selector official bLarb;b()Laew;intermediary method_11352Lnet/minecraft/class_1028;method_11352()Lnet/minecraft/class_2968;named method_11352Lnet/minecraft/item/ArmorItem;method_11352()Lnet/minecraft/entity/EquipmentSlot;
-
getEnchantability
public int getEnchantability()Returns the enchantability of an Item. Used by tools and armor- Overrides:
getEnchantabilityin classItem- Returns:
- Enchantability
- See Also:
- Mappings:
Namespace Name Mixin selector official cLata;c()Iintermediary method_3362Lnet/minecraft/class_1069;method_3362()Inamed getEnchantabilityLnet/minecraft/item/Item;getEnchantability()I
-
method_4602
- Mappings:
Namespace Name Mixin selector official dLarb;d()Larc;intermediary method_4602Lnet/minecraft/class_1028;method_4602()Lnet/minecraft/class_3542;named method_4602Lnet/minecraft/item/ArmorItem;method_4602()Lnet/minecraft/class_3542;
-
canRepair
Returns whether the item can be repaired via an anvil or crafting table.- Overrides:
canRepairin classItem- Mappings:
Namespace Name Mixin selector official aLata;a(Late;Late;)Zintermediary method_4615Lnet/minecraft/class_1069;method_4615(Lnet/minecraft/class_1071;Lnet/minecraft/class_1071;)Znamed canRepairLnet/minecraft/item/Item;canRepair(Lnet/minecraft/item/ItemStack;Lnet/minecraft/item/ItemStack;)Z
-
method_13649
- Overrides:
method_13649in classItem- Mappings:
Namespace Name Mixin selector official aLata;a(Laxy;Laog;Ladk;)Ladn;intermediary method_13649Lnet/minecraft/class_1069;method_13649(Lnet/minecraft/class_1150;Lnet/minecraft/class_988;Lnet/minecraft/class_2961;)Lnet/minecraft/class_2963;named method_13649Lnet/minecraft/item/Item;method_13649(Lnet/minecraft/world/World;Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/Hand;)Lnet/minecraft/util/TypedActionResult;
-
method_6326
- Overrides:
method_6326in classItem- Mappings:
Namespace Name Mixin selector official aLata;a(Laew;)Lcom/google/common/collect/Multimap;intermediary method_6326Lnet/minecraft/class_1069;method_6326(Lnet/minecraft/class_2968;)Lcom/google/common/collect/Multimap;named method_6326Lnet/minecraft/item/Item;method_6326(Lnet/minecraft/entity/EquipmentSlot;)Lcom/google/common/collect/Multimap;
-
method_15997
public int method_15997()- Mappings:
Namespace Name Mixin selector official eLarb;e()Iintermediary method_15997Lnet/minecraft/class_1028;method_15997()Inamed method_15997Lnet/minecraft/item/ArmorItem;method_15997()I
-