codebook icon indicating copy to clipboard operation
codebook copied to clipboard

ItemStack constructors

Open Machine-Maker opened this issue 2 years ago • 0 comments

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);

Machine-Maker avatar Jul 27 '23 03:07 Machine-Maker