An implementation will handle the creation and application for ItemMeta. This class should not be implemented by a plugin in a live environment.
165166167168169170171172173174175
public static void transferAll(ItemStack stack, JsonObject json, boolean stack2json) { transferBasic(stack, json, stack2json); ItemMeta meta = stack.getItemMeta(); transferMeta(meta, json, stack2json); if (stack2json == false) { stack.setItemMeta(meta);