public class PickaxeItem extends MiningToolItem
Item.Settings| Modifier and Type | Field and Description |
|---|---|
private static Set<Block> |
EFFECTIVE_BLOCKS |
private static it.unimi.dsi.fastutil.objects.Object2IntMap<Block> |
field_27078 |
miningSpeedATTACK_DAMAGE_MODIFIER_ID, ATTACK_SPEED_MODIFIER_ID, BLOCK_ITEMS, group| 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, getItemBarColor, getItemBarStep, getMaxCount, getMaxDamage, getMaxUseTime, getName, getName, getOrCreateTranslationKey, getRarity, getRawId, getRecipeRemainder, getTranslationKey, getTranslationKey, getUseAction, hasGlint, hasRecipeRemainder, hasStoredInventory, inventoryTick, isDamageable, isEnchantable, isFireproof, isFood, isIn, isItemBarVisible, isNetworkSynced, isUsedOnRelease, method_31570, onClicked, onCraft, onStackClicked, onStoppedUsing, postProcessTag, raycast, shouldSyncTagToClient, toString, usageTick, use, useOnBlock, useOnEntityprivate static final it.unimi.dsi.fastutil.objects.Object2IntMap<Block> field_27078
protected 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