net.minecraft.world.item

public class DiggerItem

extends TieredItem implements Vanishable

All mapped superinterfaces:

FeatureElement, ItemLike, Vanishable

chp
net.minecraft.world.item.DiggerItem
net.minecraft.class_1766
net.minecraft.item.MiningToolItem
net.minecraft.src.C_1351_
net.minecraft.world.item.ItemTool

Field summary

Modifier and TypeField
private final TagKey<Block>
a
blocks
field_7941
effectiveBlocks
f_40979_
protected final float
b
speed
field_7940
miningSpeed
f_40980_
private final float
c
attackDamageBaseline
field_7939
attackDamage
f_40981_
private final com.google.common.collect.Multimap<Attribute, AttributeModifier>
d
defaultModifiers
field_23742
attributeModifiers
f_40982_

Constructor summary

ModifierConstructor
protected (float attackDamage, float attackSpeed, Tier material, TagKey<Block> effectiveBlocks, Item$Properties settings)

Method summary

Modifier and TypeMethod
public float
a(cjf arg0, dfj arg1)
getDestroySpeed(ItemStack arg0, BlockState arg1)
method_7865(class_1799 arg0, class_2680 arg1)
getMiningSpeedMultiplier(ItemStack arg0, BlockState arg1)
m_8102_(C_1391_ p_41005_, C_2064_ arg1)
public boolean
a(cjf arg0, bjg arg1, bjg arg2)
hurtEnemy(ItemStack arg0, LivingEntity arg1, LivingEntity arg2)
method_7873(class_1799 arg0, class_1309 arg1, class_1309 arg2)
postHit(ItemStack arg0, LivingEntity arg1, LivingEntity arg2)
m_7579_(C_1391_ p_40995_, C_524_ p_40996_, C_524_ arg2)
public boolean
a(cjf arg0, cpv arg1, dfj arg2, gw arg3, bjg arg4)
mineBlock(ItemStack arg0, Level arg1, BlockState arg2, BlockPos arg3, LivingEntity arg4)
method_7879(class_1799 arg0, class_1937 arg1, class_2680 arg2, class_2338 arg3, class_1309 arg4)
postMine(ItemStack arg0, World arg1, BlockState arg2, BlockPos arg3, LivingEntity arg4)
m_6813_(C_1391_ p_40999_, C_1596_ p_41000_, C_2064_ p_41001_, C_4675_ p_41002_, C_524_ arg4)
public com.google.common.collect.Multimap<Attribute, AttributeModifier>
a(biv arg0)
getDefaultAttributeModifiers(EquipmentSlot arg0)
method_7844(class_1304 arg0)
getAttributeModifiers(EquipmentSlot arg0)
m_7167_(C_516_ arg0)
public float
d()
getAttackDamage()
method_26366()
getAttackDamage()
m_41008_()
public boolean
a_(dfj arg0)
isCorrectToolForDrops(BlockState arg0)
method_7856(class_2680 arg0)
isSuitableFor(BlockState arg0)
m_8096_(C_2064_ arg0)