Home Getting Started With Scripts Using this wiki Commands CTGUI Global functions Bracket Handlers

Alloy Smelter

Package

import mods.enderio.AlloySmelter;

Methods

  • IItemStack output The result of the recipe.
  • IIngredient[] input The ingredients. Must be between 1 and 3 ingredients.
  • int energyCost How much FE the recipe uses. Defaults to 5000.
  • float xp The xp is granted from this recipe. May not be negative.

Addition

script.zs
mods.enderio.AlloySmelter.addRecipe(IItemStack output, IIngredient[] input, @Optional int energyCost, @Optional float xp);
mods.enderio.AlloySmelter.addRecipe(<minecraft:iron_ingot>, [<minecraft:sand>, <minecraft:gravel>, <minecraft:brick>]);

Removal

script.zs
mods.enderio.AlloySmelter.removeRecipe(IItemStack output);
mods.enderio.AlloySmelter.removeRecipe(<enderio:item_alloy_ingot:7>);