Set the ItemMeta of this ItemStack. @param itemMeta new ItemMeta, or null to indicate meta data be cleared. @return True if successfully applied ItemMeta, see ItemFactory#isApplicable(ItemMeta, ItemStack) @throws IllegalArgumentException if the item meta was not created by the {@lin
(@Nullable ItemMeta itemMeta)
| 568 | * the {@link ItemFactory} |
| 569 | */ |
| 570 | public boolean setItemMeta(@Nullable ItemMeta itemMeta) { |
| 571 | return setItemMeta0(itemMeta, type); |
| 572 | } |
| 573 | |
| 574 | /* |
| 575 | * Cannot be overridden, so it's safe for constructor call |
no test coverage detected