Skip to main content

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​

FieldTypeDescription
materialMaterialRequired Minecraft material.
modelNumberCustom model data.
displayNameTextRequired display name.
enchantmentsSectionRequired enchantments and levels.
hasSectionRequired persistent/custom data keys.
consumeBooleanWhether 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.