Package net.minecraft
Class class_3562
java.lang.Object
net.minecraft.item.Item
net.minecraft.class_3562
- All Implemented Interfaces:
Itemable
- Mappings:
Namespace Name official aujintermediary net/minecraft/class_3562named net/minecraft/class_3562
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.item.Item
Item.Settings -
Field Summary
FieldsFields inherited from class net.minecraft.item.Item
ATTACK_DAMAGE_MODIFIER_UUID, ATTACK_SPEED_MODIFIER, BLOCK_ITEMS, itemGroup, RANDOM -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns whether the item can be repaired via an anvil or crafting table.intReturns the enchantability of an Item.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_13649, method_16075, method_16080, method_3346, method_3353, method_3356, method_3359, method_3367, method_3383, method_6326, onCraft, onEntityHit, onHit, postProcessNbt, registerBlockItem, setup, shouldSyncNbtToClient, useOnBlock
-
Field Details
-
field_17386
- Mappings:
Namespace Name Mixin selector official aLauj;a:Laui;intermediary field_17386Lnet/minecraft/class_3562;field_17386:Lnet/minecraft/class_3561;named field_17386Lnet/minecraft/class_3562;field_17386:Lnet/minecraft/item/IToolMaterial;
-
-
Constructor Details
-
class_3562
-
-
Method Details
-
method_16137
- Mappings:
Namespace Name Mixin selector official eLauj;e()Laui;intermediary method_16137Lnet/minecraft/class_3562;method_16137()Lnet/minecraft/class_3561;named method_16137Lnet/minecraft/class_3562;method_16137()Lnet/minecraft/item/IToolMaterial;
-
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
-
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
-