ItemDef
A custom item. Without model it keeps the base item's look. It shows its own name, name or one read from its id (dash_feather is "Dash Feather"), when it has a model, a name or a colour, and its base item's name otherwise.
Fields
itemDef.armor: ItemArmor?makes it wearable
itemDef.base: string?the vanilla item it is built on, a minecraft: key; default "minecraft:paper"
itemDef.color: number?colour of its name, 0xRRGGBB
itemDef.consumable: ItemConsumable?makes it edible or drinkable, firing the item type's consumed; without it, the base item's food is dropped
itemDef.durability: number?the damage it takes before breaking; makes the item unstackable
itemDef.lore: { string }?tooltip lines under the name, drawn without italics
itemDef.model: string?a model key (see content.model); omitted, the base item's vanilla look
itemDef.name: string?its English name
itemDef.stack: number?max stack size, 1..99; default 64, or 1 with durability
itemDef.tint: number?colours the model's tinted faces, 0xRRGGBB
itemDef.tool: ItemTool?makes it a tool
itemDef.weapon: ItemWeapon?makes it a weapon