Stonecutter
Add stonecutter recipes with optional sounds and commands.
Add stonecutter recipes without creating extra recipe files.
Parameters
enabled
Optional. Defaults to true. Set to false to skip registering the recipe.
ingredient.item
Required. The input item shown in the stonecutter. Use a vanilla material, an ItemsAdder item, or an MMOItems item. See IDs.
ingredient:
item: STONEingredient:
item: my_pack:rough_marbleingredient:
item: mmoitems:material:rough_marbleingredient.potion_type
Optional. Set the base potion type on a vanilla potion ingredient. The key may include the minecraft: namespace or omit it. This only applies when ingredient.item resolves to a potion; unknown potion types or non-potion items are rejected.
ingredient:
item: POTION
potion_type: minecraft:waterresult.item
Required. The output item.
result:
item: STONE_BRICKSresult.amount
Optional. Defaults to 1. The number of items produced.
Completion actions
Use on_complete to play a sound and/or run commands when the recipe is crafted.
on_complete:
sound:
name: "minecraft:entity.player.levelup"
source: master # optional, default: master
volume: 1.0 # optional, default: 1.0
pitch: 1.0 # optional, default: 1.0
commands:
reward:
command: "give {player} gold_ingot 4"
as_console: true # optional, default: false{player} is replaced with the crafting player's name. Commands run as the player by default; set as_console: true to run them from console.
Full example
info:
namespace: my_pack
recipes:
stonecutter:
marble_tiles:
ingredient:
item: my_pack:rough_marble
result:
item: my_pack:marble_tiles
amount: 2
on_complete:
sound:
name: "minecraft:block.stonecutter.use"
commands:
reward:
command: "give {player} diamond 1"
as_console: trueNotes
- Supports vanilla, ItemsAdder, and MMOItems items.
- Tags such as
#minecraft:stone_tool_materialsare not supported here because the stonecutter requires one concrete input stack. - Recipe IDs such as
marble_tilesare internal identifiers. - The namespace comes from
info.namespace.