Package net.minecraft.item
Class AxeItem
java.lang.Object
net.minecraft.item.Item
net.minecraft.class_3562
net.minecraft.item.ToolItem
net.minecraft.item.AxeItem
- All Implemented Interfaces:
Itemable
- Mappings:
Namespace Name official argintermediary net/minecraft/class_1067named net/minecraft/item/AxeItem
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.item.Item
Item.Settings -
Field Summary
FieldsModifier and TypeFieldDescriptionFields inherited from class net.minecraft.item.ToolItem
attackDamage, field_12294, miningSpeedFields inherited from class net.minecraft.item.Item
ATTACK_DAMAGE_MODIFIER_UUID, ATTACK_SPEED_MODIFIER, BLOCK_ITEMS, itemGroup, RANDOM -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAxeItem(IToolMaterial toolMaterial, float float2, float float3, Item.Settings settings) -
Method Summary
Modifier and TypeMethodDescriptionfloatgetBlockBreakingSpeed(ItemStack stack, BlockState state) useOnBlock(ItemUsageContext itemUsageContext) Methods inherited from class net.minecraft.item.ToolItem
method_3356, method_6326, onEntityHitMethods inherited from class net.minecraft.class_3562
canRepair, getEnchantability, method_16137Methods inherited from class net.minecraft.item.Item
addProperty, appendToItemGroup, appendTooltips, beforeBlockBreak, byRawId, canAddTo, computeTranslationKey, fromBlock, 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_3359, method_3367, method_3383, onCraft, onHit, postProcessNbt, registerBlockItem, setup, shouldSyncNbtToClient
-
Field Details
-
EFFECTIVE_BLOCKS
- Mappings:
Namespace Name Mixin selector official eLarg;e:Ljava/util/Set;intermediary field_6951Lnet/minecraft/class_1067;field_6951:Ljava/util/Set;named EFFECTIVE_BLOCKSLnet/minecraft/item/AxeItem;EFFECTIVE_BLOCKS:Ljava/util/Set;
-
BLOCK_TRANSFORMATIONS_MAP
- Mappings:
Namespace Name Mixin selector official aLarg;a:Ljava/util/Map;intermediary field_17154Lnet/minecraft/class_1067;field_17154:Ljava/util/Map;named BLOCK_TRANSFORMATIONS_MAPLnet/minecraft/item/AxeItem;BLOCK_TRANSFORMATIONS_MAP:Ljava/util/Map;
-
-
Constructor Details
-
AxeItem
- Mappings:
Namespace Name Mixin selector official <init>Larg;<init>(Laui;FFLata$a;)Vintermediary <init>Lnet/minecraft/class_1067;<init>(Lnet/minecraft/class_3561;FFLnet/minecraft/class_1069$class_3555;)Vnamed <init>Lnet/minecraft/item/AxeItem;<init>(Lnet/minecraft/item/IToolMaterial;FFLnet/minecraft/item/Item$Settings;)V
-
-
Method Details
-
getBlockBreakingSpeed
- Overrides:
getBlockBreakingSpeedin classToolItem- Mappings:
Namespace Name Mixin selector official aLata;a(Late;Lblc;)Fintermediary method_3351Lnet/minecraft/class_1069;method_3351(Lnet/minecraft/class_1071;Lnet/minecraft/class_2232;)Fnamed getBlockBreakingSpeedLnet/minecraft/item/Item;getBlockBreakingSpeed(Lnet/minecraft/item/ItemStack;Lnet/minecraft/block/BlockState;)F
-
useOnBlock
- Overrides:
useOnBlockin classItem- Mappings:
Namespace Name Mixin selector official aLata;a(Laup;)Ladm;intermediary method_16071Lnet/minecraft/class_1069;method_16071(Lnet/minecraft/class_3565;)Lnet/minecraft/class_2962;named useOnBlockLnet/minecraft/item/Item;useOnBlock(Lnet/minecraft/item/ItemUsageContext;)Lnet/minecraft/util/ActionResult;
-