net.minecraft.world.item

public class SwordItem

extends Item

All mapped superinterfaces:

FeatureElement, ItemLike

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

Constructor summary

ModifierConstructor
public (ToolMaterial material, float attackDamage, float attackSpeed, Item$Properties settings)

Method summary

Modifier and TypeMethod
public boolean
a(dxv arg0, dhi arg1, jh arg2, cpx 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)
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 boolean
a(cxp arg0, bwg arg1, bwg 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)
postHit(ItemStack arg0, LivingEntity arg1, LivingEntity arg2)
m_7579_(C_1391_ p_43279_, C_524_ p_43280_, C_524_ arg2)
public void
b(cxp arg0, bwg arg1, bwg arg2)
postHurtEnemy(ItemStack arg0, LivingEntity arg1, LivingEntity arg2)
method_59978(class_1799 arg0, class_1309 arg1, class_1309 arg2)
m_jbvnrizt(C_sddaxwyk arg0, C_usxaxydn arg1, C_usxaxydn arg2)
postDamageEntity(ItemStack arg0, LivingEntity arg1, LivingEntity arg2)
postDamageEntity(ItemStack arg0, LivingEntity arg1, LivingEntity arg2)
m_338515_(C_1391_ p_344347_, C_524_ p_343888_, C_524_ arg2)