Damage an itemstack @param is the item @param amt the amount to damage
(ItemStack is, int amt)
| 307 | * @param amt the amount to damage |
| 308 | */ |
| 309 | public static void damage(ItemStack is, int amt) { |
| 310 | if (!is(is)) { |
| 311 | return; |
| 312 | } |
| 313 | |
| 314 | setDurability(is, getDurability(is) + amt); |
| 315 | } |
| 316 | |
| 317 | /** |
| 318 | * Can the item a be stacked onto the item b (following max stack size) |
nothing calls this directly
no test coverage detected