Package net.minecraft.item
Class PickaxeItem
java.lang.Object
net.minecraft.item.Item
net.minecraft.item.ToolItem
net.minecraft.item.PickaxeItem
public class PickaxeItem extends ToolItem
- Mappings:
Namespace Name official aagintermediary net/minecraft/class_9named net/minecraft/item/PickaxeItem
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.item.Item
Item.ToolMaterialType -
Field Summary
Fields Modifier and Type Field Description private static Set<Block>EFFECTIVE_BLOCKSFields inherited from class net.minecraft.item.ToolItem
material, miningSpeedFields inherited from class net.minecraft.item.Item
ATTACK_DAMAGE_MODIFIER_UUID, damageable, handheld, maxCount, RANDOM, REGISTRY -
Constructor Summary
Constructors Modifier Constructor Description protectedPickaxeItem(Item.ToolMaterialType material) -
Method Summary
Modifier and Type Method Description floatgetMiningSpeedMultiplier(ItemStack stack, Block block)booleanisEffectiveOn(Block block)Methods inherited from class net.minecraft.item.ToolItem
canRepair, getAttributeModifierMap, getEnchantability, getMaterial, getMaterialAsString, isHandheld, onBlockBroken, onEntityHitMethods inherited from class net.minecraft.item.Item
appendItemStacks, appendTooltip, byRawId, canUseOnEntity, fromBlock, getDisplayColor, getDisplayName, getFromId, getItemGroup, getItemstackTranslatedName, getMaxCount, getMaxDamage, getMaxUseTime, getMeta, getRarity, getRawId, getRecipeRemainder, getStatusEffectString, getTranslationKey, getTranslationKey, getUseAction, hasEnchantmentGlint, hasStatusEffectString, hasSubTypes, inventoryTick, isDamageable, isEnchantable, isFood, isNetworkSynced, isUnbreakable, onCraft, onFinishUse, onHit, onStartUse, onUseStopped, postProcessTag, registerBlockItem, setHandheld, setItemGroup, setMaxCount, setMaxDamage, setRecipeRemainder, setStatusEffectString, setTranslationKey, setUnbreakable, setup, shouldRotate, shouldSyncTagToClient, use
-
Field Details
-
EFFECTIVE_BLOCKS
- Mappings:
Namespace Name Mixin selector official cLaag;c:Ljava/util/Set;intermediary field_38Lnet/minecraft/class_9;field_38:Ljava/util/Set;named EFFECTIVE_BLOCKSLnet/minecraft/item/PickaxeItem;EFFECTIVE_BLOCKS:Ljava/util/Set;
-
-
Constructor Details
-
PickaxeItem
- Mappings:
Namespace Name Mixin selector official <init>Laag;<init>(Lzw$a;)Vintermediary <init>Lnet/minecraft/class_9;<init>(Lnet/minecraft/class_2054$class_2055;)Vnamed <init>Lnet/minecraft/item/PickaxeItem;<init>(Lnet/minecraft/item/Item$ToolMaterialType;)V
-
-
Method Details
-
isEffectiveOn
- Overrides:
isEffectiveOnin classItem- Mappings:
Namespace Name Mixin selector official bLzw;b(Lafh;)Zintermediary method_8271Lnet/minecraft/class_2054;method_8271(Lnet/minecraft/class_160;)Znamed isEffectiveOnLnet/minecraft/item/Item;isEffectiveOn(Lnet/minecraft/block/Block;)Z
-
getMiningSpeedMultiplier
- Overrides:
getMiningSpeedMultiplierin classToolItem- Mappings:
Namespace Name Mixin selector official aLzw;a(Lzx;Lafh;)Fintermediary method_8262Lnet/minecraft/class_2054;method_8262(Lnet/minecraft/class_2056;Lnet/minecraft/class_160;)Fnamed getMiningSpeedMultiplierLnet/minecraft/item/Item;getMiningSpeedMultiplier(Lnet/minecraft/item/ItemStack;Lnet/minecraft/block/Block;)F
-