Botania Terra Plate

The Terra Plate 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 to the Terra plate that will use 2000 Mana, and output a Diamond after giving the Terra Plate a piece of Dirt.

ZenScript
Copy
// <recipetype:botania:terra_plate>.addRecipe(String name, IItemStack output, int mana, IIngredient... inputs)

<recipetype:botania:terra_plate>.addRecipe("terra_plate_test", <item:minecraft:diamond>, 2000, <item:minecraft:dirt>);

Remove Recipes

The following script will remove all Terra Plate recipes that output a Terrasteel Ingot.

ZenScript
Copy
// <recipetype:botania:terra_plate>.removeRecipe(IItemStack output);

<recipetype:botania:terra_plate>.removeRecipe(<item:botania:terrasteel_ingot>);