recipes
Tweaks involving crafting table recipes.
remove
recipes.remove : string name
Disable the specific recipe that matches the provided name
Note
The recipes command can be used to get a list of recipes for an item.
Example
#remove the default crafting recipe for a torch
recipes.remove : "minecraft:torch";
recipes.remove : item output
Disable all crafting recipes that match the provided output
Example
#remove all crafting recipes for torches
recipes.remove : item(minecraft:torch);
shaped
recipes.shaped : string name, item output, ingredient inputA, ingredient inputB, ingredient inputC ...
Adds a new shaped crafting recipe.
Can be supplied with up to 9 ingredients inputs, each corresponding to a spot in the crafting table.
Produces the crafting table recipe of :
A | B | C
D | E | F
G | H | I
Trailing nulls can be omitted in order to save space.
Example
#vanilla crafting table
recipes.shaped : "crafting_table_copy", item(minecraft:crafting_table), ore(plankWood), ore(plankWood), null, ore(plankWood), ore(plankWood);
#vanilla stone slab
recipes.shaped : "slab_copy", item(minecraft:stone_slab).count(3), item(minecraft:stone), item(minecraft:stone), item(minecraft:stone);
#vanilla torch
recipes.shaped : "torch_copy", item(minecraft:torch).count(4), null, item(minecraft:coal), null, null, ore(stickWood);
shapeless
recipes.shapeless : string name, stack output, ingredient inputA, ingredient inputB, ingredient inputC ...
Adds a new shapeless crafting recipe
Can have between 1 and 9 ingredients inputs that can be arranged in any order.
Example
#adds a shaped recipe that turns 1 stone into diamond
recipes.shapeless : "cheat_diamond", item(minecraft:diamond), item(minecraft:stone);
