Item Ingredient
The item ingredient requires a vanilla Minecraft item.
Basic example
ingredients:
apple:
type: item
material: APPLE
With model data
ingredients:
custom_paper:
type: item
material: PAPER
model: 1001
With display name
ingredients:
named_item:
type: item
material: DIAMOND
displayName: "<aqua>Magic Diamond"
With enchantments
ingredients:
sword:
type: item
material: DIAMOND_SWORD
enchantments:
SHARPNESS: 5
With custom data check
ingredients:
spawner:
type: item
material: SPAWNER
has:
empty:
type: BOOLEAN
Fields
| Field | Type | Description |
|---|---|---|
material | Material | Required Minecraft material. |
model | Number | Custom model data. |
displayName | Text | Required display name. |
enchantments | Section | Required enchantments and levels. |
has | Section | Required persistent/custom data keys. |
consume | Boolean | Whether the item is consumed. |
Example with consume disabled
ingredients:
elytra:
type: item
material: ELYTRA
consume: false
Use consume: false for tools, templates, or items that should be checked but not removed.