Ender Tweaker Mod — Reference
Enchanter
The Enchanter allows players to create Enchanted Books using items and experience levels.
Package: mods.enderio.Enchanter
Adding Recipes
mods.enderio.Enchanter.addRecipe(IEnchantmentDefinition output, IIngredient input, int amountPerLevel, double costMultiplier);
| Parameter | Type | Description |
|---|---|---|
output |
IEnchantmentDefinition | The enchantment to be applied to the book. |
amountPerLevel |
int | Number of input items required per level of the enchantment. |
costMultiplier |
double | Modifier for the XP cost. |
Removing Recipes
- By Output:
mods.enderio.Enchanter.removeRecipe(IEnchantmentDefinition output);