(ItemStack stack)
| 250 | public static final ItemStack INVALID_STACK = null; |
| 251 | |
| 252 | public static boolean isValid(ItemStack stack) { |
| 253 | return !isInvalid(stack); |
| 254 | } |
| 255 | |
| 256 | /** Tests to see if a given stack is invalid. This ALSO tests to see if the item is null or the stacksize is less |
| 257 | * than 0. Vanilla's method also does a metadata check, but that's not used so much in the codebase. */ |
no test coverage detected