Use Bukkit's own methods for getting Max durability, and for checking if item is repairable using EnchantmentTarget