net.minecraft.world.item

public class SwordItem

extends TieredItem

All mapped superinterfaces:

ItemLike

bdm
net.minecraft.world.item.SwordItem
net.minecraft.class_1829
net.minecraft.item.SwordItem
net.minecraft.item.SwordItem
net.minecraft.server.v1_14_R1.ItemSword

Field summary

Modifier and TypeField
private final float
a
attackDamage
field_8920
attackDamage
field_150934_a
private final float
b
attackSpeed
field_8919
attackSpeed
field_200895_b

Constructor summary

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

Method summary

Modifier and TypeMethod
public float
d()
getDamage()
method_8020()
getAttackDamage()
func_200894_d()
public boolean
a(bvt arg0, bhr arg1, ew arg2, awg 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)
func_195938_a(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3)
public float
a(bcj arg0, bvt arg1)
getDestroySpeed(ItemStack arg0, BlockState arg1)
method_7865(class_1799 arg0, class_2680 arg1)
getMiningSpeed(ItemStack arg0, BlockState arg1)
func_150893_a(ItemStack arg0, BlockState arg1)
getDestroySpeed(ItemStack arg0, IBlockData arg1)
public boolean
a(bcj arg0, aix arg1, aix 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)
func_77644_a(ItemStack arg0, LivingEntity arg1, LivingEntity arg2)
public boolean
a(bcj arg0, bhr arg1, bvt arg2, ew arg3, aix 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)
func_179218_a(ItemStack arg0, World arg1, BlockState arg2, BlockPos arg3, LivingEntity arg4)
public boolean
b(bvt arg0)
canDestroySpecial(BlockState arg0)
method_7856(class_2680 arg0)
isEffectiveOn(BlockState arg0)
func_150897_b(BlockState arg0)
canDestroySpecialBlock(IBlockData arg0)
public com.google.common.collect.Multimap<String, AttributeModifier>
a(ait arg0)
getDefaultAttributeModifiers(EquipmentSlot arg0)
method_7844(class_1304 arg0)
getModifiers(EquipmentSlot arg0)
func_111205_h(EquipmentSlotType arg0)