An ItemStack constructor that uses one of the static fields in Items.java should have its local var name be associated with that item name. So something like
ItemStack itemStack = new ItemStack(Items.ENCHANTED_BOOK);
should be
ItemStack enchantedBookStack = new ItemStack(Items.ENCHANTED_BOOK);
An ItemStack constructor that uses one of the static fields in
Items.javashould have its local var name be associated with that item name. So something likeshould be