ItemStack

A stack of items. Can be created via.

Please note that all functions returning  return its copy which modifications won't affect original.

Definitions
Items and item stacks can exist in three formats:


 * Serialized; This is called  or  :


 * Table format:
 * — 5 dirt nodes
 * — wooden pick about 1/3 worn out
 * — an apple.


 * ItemStack. C++ native format with many helper methods. Useful for converting between formats. See this article for details.