ItemStack

A pile of items. For example, in MC, the items in an item grid are a pile of items.

minecraft:item

Default parser.

Fields:

item ResourceLocation Item registration name

data Integer Meta value, if the item has variants, this field is required, default is 0

count Integer Quantity, default is 1

nbt NBTTagCompound (nbt in string form) The nbt of the item.

rml:enchantmented_item

Since mc1.12.2 enchantments use numeric ids in nbt, a separate method is used here to add additional enchantments. Represents an enchanted item.

Fields:

item ItemStack Pre-item

enchantment Array of EnchantmentData enchantments