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.item.SwordItem
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)
canMine(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity 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)
postHit(ItemStack arg0, LivingEntity arg1, LivingEntity 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)
postDamageEntity(ItemStack arg0, LivingEntity arg1, LivingEntity arg2)