net.minecraft.world.item

public class SwordItem

extends Item

All mapped superinterfaces:

FeatureElement, ItemLike

cye
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(dwy arg0, dgj arg1, ji arg2, coy 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(cwq arg0, bvi arg1, bvi 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(cwq arg0, bvi arg1, bvi 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)