applyAttributes

public static void applyAttributes(ItemStack item, EquipmentSlot slot, int toughness, int knockback, int defense)