Createdoes not have built in mod support, you will need CreateTweakerfor this to work!

Create Cutting

The Cutting mechanic is a type of IRecipeManager and implements all the methods that are available to IRecipeManager's, such as removeRecipe() and removeAll().

方法

添加配方

The following script will add a recipe that will output a Diamond when a piece of Glass is cut with a duration of 100.

// <recipetype:create:cutting>.addRecipe(String name, IItemStack output, IIngredient input, @Optional(100) int duration)

<recipetype:create:cutting>.addRecipe("cutting_test", <item:minecraft:diamond>, <item:minecraft:glass>);

Remove Recipes

The following script will remove all Cutting recipes that output a Stripped Jungle Wood.

// <recipetype:create:cutting>.removeRecipe(IItemStack output)

<recipetype:create:cutting>.removeRecipe(<item:minecraft:stripped_jungle_wood>);