Skip to content

Imag Fusor

yor42 edited this page Nov 18, 2024 · 1 revision

Imag Fusor (AcademyCraft)

Description

Converts one item and defined amount of Imag phase liquid into one item.

Identifier

Refer to this via any of the following:

mods.academy.imag_fusor/* Used as page default */ // [!code focus]
mods.academy.imagfusor
mods.academy.imagFusor
mods.academy.ImagFusor

Adding Recipes

  • Add the given recipe to the recipe list:

    mods.academy.imag_fusor.add(ImagFusorRecipes.IFRecipe)
    
  • Adds recipes in the format output, input, amount of phase liquid:

    mods.academy.imag_fusor.addRecipe(ItemStack, IIngredient, int)
    

Removing Recipes

  • Removes the given recipe from the recipe list:

    mods.academy.imag_fusor.remove(ImagFusorRecipes.IFRecipe)
    
  • Removes all entry of Imag Fusor:

    mods.academy.imag_fusor.clearRecipe()
    
  • Removes an entry matching the given ItemStack:

    mods.academy.imag_fusor.removeRecipe(ItemStack)
    
  • Removes all registered recipes:

    mods.academy.imag_fusor.removeAll()
    

details Example

mods.academy.imag_fusor.clearRecipe()
mods.academy.imag_fusor.removeRecipe(item('academy:crystal_normal'))
mods.academy.imag_fusor.removeAll()

Getting the value of recipes

  • Iterates through every entry in the registry, with the ability to call remove on any element to remove it:

    mods.academy.imag_fusor.streamRecipes()
    
Clone this wiki locally