Botania Elven Trade
Elven Trade is a type of IRecipeManager and implements all the methods that are available to IRecipeManager's, such as removeRecipe()
and removeAll()
.
Methods
Add Recipe
The following script will add three recipes to Elven Trading, the recipes will do the following: 1) When Glass is thrown through an Elven Portal, a piece of Dirt will be given back. 2) When a Glowstone Block and Yellow Wool are thrown through an Elven Portal, an Apple will be given back. 3) When a piece of Redstone Dust is thrown through an Elven Portal, an Apple and a Lapis Lazuli Block will be given back.
Remove Recipes
Single Item Outputs
The following script will remove all recipes from Elven Trading that outputs a Dragon Stone.
Multiple Item Outputs
The following script will remove all recipes from Elven Trading that outputs a Dragon Stone and a Diamond.
NOTE
This is not a valid recipe in game with just Botania alone, Elven Trading supports outputting multiple items, but does not have any recipes built in that output multiple items.