net.minecraft.item

public class SwordItem

extends ToolItem implements Vanishable

All mapped superinterfaces:

ItemConvertible, Vanishable

bnf
net.minecraft.world.item.SwordItem
net.minecraft.class_1829
net.minecraft.item.SwordItem
net.minecraft.unmapped.C_kahxulcc
net.minecraft.item.SwordItem
net.minecraft.item.SwordItem

Field summary

Modifier and TypeField
private final float
a
attackDamage
field_8920
attackDamage
f_afdplsmg
field_150934_a
attackDamage
private final com.google.common.collect.Multimap<EntityAttribute, EntityAttributeModifier>
b
defaultModifiers
field_23745
attributeModifiers
f_eornhrfl
field_234810_b_
attributeModifiers

Constructor summary

ModifierConstructor
public (ToolMaterial toolMaterial, int attackDamage, float attackSpeed, Item$Settings settings)

Method summary

Modifier and TypeMethod
public float
f()
getDamage()
method_8020()
getAttackDamage()
m_spwprwop()
func_200894_d()
getAttackDamage()
public boolean
a(ceh arg0, brx arg1, fx arg2, bfw 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)
m_tkohmxbq(C_txtbiemp arg0, C_cdctfzbn arg1, C_hynzadkk arg2, C_jzrpycqo arg3)
func_195938_a(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3)
canPlayerBreakBlockWhileHolding(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3)
public float
a(bmb arg0, ceh arg1)
getDestroySpeed(ItemStack arg0, BlockState arg1)
method_7865(class_1799 arg0, class_2680 arg1)
getMiningSpeedMultiplier(ItemStack arg0, BlockState arg1)
m_nstqircw(C_sddaxwyk arg0, C_txtbiemp arg1)
func_150893_a(ItemStack arg0, BlockState arg1)
getDestroySpeed(ItemStack arg0, BlockState arg1)
public boolean
a(bmb arg0, aqm arg1, aqm 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)
m_plxsgnqi(C_sddaxwyk arg0, C_usxaxydn arg1, C_usxaxydn arg2)
func_77644_a(ItemStack arg0, LivingEntity arg1, LivingEntity arg2)
hitEntity(ItemStack arg0, LivingEntity arg1, LivingEntity arg2)
public boolean
a(bmb arg0, brx arg1, ceh arg2, fx arg3, aqm 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)
m_cnsoybmp(C_sddaxwyk arg0, C_cdctfzbn arg1, C_txtbiemp arg2, C_hynzadkk arg3, C_usxaxydn arg4)
func_179218_a(ItemStack arg0, World arg1, BlockState arg2, BlockPos arg3, LivingEntity arg4)
onBlockDestroyed(ItemStack arg0, World arg1, BlockState arg2, BlockPos arg3, LivingEntity arg4)
public boolean
b(ceh arg0)
isCorrectToolForDrops(BlockState arg0)
method_7856(class_2680 arg0)
isSuitableFor(BlockState arg0)
m_dnwybntd(C_txtbiemp arg0)
func_150897_b(BlockState arg0)
canHarvestBlock(BlockState arg0)
public com.google.common.collect.Multimap<EntityAttribute, EntityAttributeModifier>
a(aqf arg0)
getDefaultAttributeModifiers(EquipmentSlot arg0)
method_7844(class_1304 arg0)
getAttributeModifiers(EquipmentSlot arg0)
m_xljmpsqi(C_yuycoehb arg0)
func_111205_h(EquipmentSlotType arg0)
getAttributeModifiers(EquipmentSlotType arg0)