public class AxeItem extends MiningToolItem
Item.Settings| Modifier and Type | Field and Description |
|---|---|
private static Set<Block> |
EFFECTIVE_BLOCKS |
private static Set<Material> |
field_23139 |
protected static Map<Block,Block> |
STRIPPED_BLOCKS |
miningSpeedATTACK_DAMAGE_MODIFIER_UUID, ATTACK_SPEED_MODIFIER_UUID, BLOCK_ITEMS, group, RANDOM| Modifier | Constructor and Description |
|---|---|
protected |
AxeItem(ToolMaterial material,
float attackDamage,
float attackSpeed,
Item.Settings settings) |
| Modifier and Type | Method and Description |
|---|---|
float |
getMiningSpeedMultiplier(ItemStack stack,
BlockState state) |
ActionResult |
useOnBlock(ItemUsageContext context) |
getModifiers, method_26366, postHit, postMinecanRepair, getEnchantability, getMaterialaddPropertyGetter, appendStacks, appendTooltip, asItem, byRawId, canMine, damage, finishUsing, fromBlock, getDrinkSound, getEatSound, getFoodComponent, getGroup, getMaxCount, getMaxDamage, getMaxUseTime, getName, getName, getOrCreateTranslationKey, getPropertyGetter, getRarity, getRawId, getRecipeRemainder, getStackForRender, getTranslationKey, getTranslationKey, getUseAction, hasEnchantmentGlint, hasPropertyGetters, hasRecipeRemainder, inventoryTick, isDamageable, isEffectiveOn, isEnchantable, isFireproof, isFood, isIn, isIn, isNetworkSynced, isUsedOnRelease, onCraft, onStoppedUsing, postProcessTag, rayTrace, shouldSyncTagToClient, toString, usageTick, use, useOnEntityprotected AxeItem(ToolMaterial material, float attackDamage, float attackSpeed, Item.Settings settings)
public float getMiningSpeedMultiplier(ItemStack stack, BlockState state)
getMiningSpeedMultiplier in class MiningToolItempublic ActionResult useOnBlock(ItemUsageContext context)
useOnBlock in class Item