net.minecraft.world.item

public class SwordItem

extends TieredItem implements Vanishable

All mapped superinterfaces:

ItemLike, Vanishable

brw
net.minecraft.world.item.SwordItem
net.minecraft.class_1829
net.minecraft.unmapped.C_kahxulcc
net.minecraft.item.SwordItem
net.minecraft.src.C_1425_
net.minecraft.world.item.ItemSword

Field summary

Modifier and TypeField
private final float
a
attackDamage
field_8920
f_afdplsmg
attackDamage
f_43266_
private final com.google.common.collect.Multimap<Attribute, AttributeModifier>
b
defaultModifiers
field_23745
f_eornhrfl
attributeModifiers
f_43267_

Constructor summary

ModifierConstructor
public (Tier toolMaterial, int attackDamage, float attackSpeed, Item$Properties settings)

Method summary

Modifier and TypeMethod
public float
i()
getDamage()
method_8020()
m_spwprwop()
getAttackDamage()
m_43299_()
public boolean
a(cks arg0, bwp arg1, gg arg2, bkd arg3)
canAttackBlock(BlockState arg0, Level arg1, BlockPos arg2, Player arg3)
method_7885(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_1657 arg3)
m_tkohmxbq(C_txtbiemp arg0, C_cdctfzbn arg1, C_hynzadkk arg2, C_jzrpycqo arg3)
canMine(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3)
m_6777_(C_2064_ p_43292_, C_1596_ p_43293_, C_4675_ p_43294_, C_1141_ arg3)
public float
a(bqp arg0, cks arg1)
getDestroySpeed(ItemStack arg0, BlockState arg1)
method_7865(class_1799 arg0, class_2680 arg1)
m_nstqircw(C_sddaxwyk arg0, C_txtbiemp arg1)
getMiningSpeedMultiplier(ItemStack arg0, BlockState arg1)
m_8102_(C_1391_ p_43289_, C_2064_ arg1)
getDestroySpeed(ItemStack arg0, IBlockData arg1)
public boolean
a(bqp arg0, att arg1, att arg2)
hurtEnemy(ItemStack arg0, LivingEntity arg1, LivingEntity arg2)
method_7873(class_1799 arg0, class_1309 arg1, class_1309 arg2)
m_plxsgnqi(C_sddaxwyk arg0, C_usxaxydn arg1, C_usxaxydn arg2)
postHit(ItemStack arg0, LivingEntity arg1, LivingEntity arg2)
m_7579_(C_1391_ p_43279_, C_524_ p_43280_, C_524_ arg2)
public boolean
a(bqp arg0, bwp arg1, cks arg2, gg arg3, att 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)
m_cnsoybmp(C_sddaxwyk arg0, C_cdctfzbn arg1, C_txtbiemp arg2, C_hynzadkk arg3, C_usxaxydn arg4)
postMine(ItemStack arg0, World arg1, BlockState arg2, BlockPos arg3, LivingEntity arg4)
m_6813_(C_1391_ p_43283_, C_1596_ p_43284_, C_2064_ p_43285_, C_4675_ p_43286_, C_524_ arg4)
public boolean
a_(cks arg0)
isCorrectToolForDrops(BlockState arg0)
method_7856(class_2680 arg0)
m_dnwybntd(C_txtbiemp arg0)
isSuitableFor(BlockState arg0)
m_8096_(C_2064_ arg0)
canDestroySpecialBlock(IBlockData arg0)
public com.google.common.collect.Multimap<Attribute, AttributeModifier>
a(atk arg0)
getDefaultAttributeModifiers(EquipmentSlot arg0)
method_7844(class_1304 arg0)
m_xljmpsqi(C_yuycoehb arg0)
getAttributeModifiers(EquipmentSlot arg0)
m_7167_(C_516_ arg0)