public class PickaxeItem extends MiningToolItem
Item.Settings| Modifier and Type | Field and Description |
|---|---|
private static Set<Block> |
EFFECTIVE_BLOCKS |
miningSpeedATTACK_DAMAGE_MODIFIER_ID, ATTACK_SPEED_MODIFIER_ID, BLOCK_ITEMS, group, RANDOM| Modifier | Constructor and Description |
|---|---|
protected |
PickaxeItem(ToolMaterial material,
int attackDamage,
float attackSpeed,
Item.Settings settings) |
| Modifier and Type | Method and Description |
|---|---|
float |
getMiningSpeedMultiplier(ItemStack stack,
BlockState state) |
boolean |
isEffectiveOn(BlockState state) |
getAttackDamage, getAttributeModifiers, postHit, postMinecanRepair, getEnchantability, getMaterialappendStacks, appendTooltip, asItem, byRawId, canMine, damage, finishUsing, fromBlock, getDefaultStack, getDrinkSound, getEatSound, getFoodComponent, getGroup, getMaxCount, getMaxDamage, getMaxUseTime, getName, getName, getOrCreateTranslationKey, getRarity, getRawId, getRecipeRemainder, getTranslationKey, getTranslationKey, getUseAction, hasGlint, hasRecipeRemainder, inventoryTick, isDamageable, isEnchantable, isFireproof, isFood, isIn, isIn, isNetworkSynced, isUsedOnRelease, onCraft, onStoppedUsing, postProcessTag, raycast, shouldSyncTagToClient, toString, usageTick, use, useOnBlock, useOnEntityprotected PickaxeItem(ToolMaterial material, int attackDamage, float attackSpeed, Item.Settings settings)
public boolean isEffectiveOn(BlockState state)
isEffectiveOn in class Itempublic float getMiningSpeedMultiplier(ItemStack stack, BlockState state)
getMiningSpeedMultiplier in class MiningToolItem