Skip to content

CraftTweaker API

E. Geng edited this page Aug 23, 2020 · 2 revisions

Lazy AE2 supports the modification of its recipes using CraftTweaker out-of-the-box. The relevant classes and their functions are listed below.

mods.threng.Aggregator -- Fluix Aggregator

  • addRecipe(ItemStack output, ItemMatcher input1, ItemMatcher input2, [ItemMatcher input3])

Adds a recipe to the Fluix Aggregator. The recipe can have either two or three inputs. If only two inputs are given, then the recipe will only match if exactly those two ingredients are present in the aggregator (i.e. the third slot must be empty).

  • removeRecipe(ItemStack output)

Removes a recipe from the Fluix Aggregator.

mods.threng.Centrifuge -- Pulse Centrifuge

  • addRecipe(ItemStack output, ItemMatcher input)

Adds a recipe to the Pulse Centrifuge.

  • removeRecipe(ItemStack output)

Removes a recipe from the Pulse Centrifuge.

mods.threng.Etcher -- ME Circuit Etcher

  • addRecipe(ItemStack output, ItemMatcher input, ItemMatcher topInput, ItemMatcher bottomInput)

Adds a recipe to the ME Circuit Etcher. Note that the items allowed in each slot are determined by the set of existing recipes. For example, an item can only enter the top slot of the etcher if at least one recipe exists where it is used in the top slot. You are strongly advised to not use any item in more than one slot throughout all recipes, as doing so could mess up item insertion.

  • addRecipe(ItemStack output, ItemMatcher input)

Adds a recipe to the ME Circuit Etcher. Operates the same as above, but with implicit redstone and silicon ingredients.

  • removeRecipe(ItemStack output)

Removes a recipe from the ME Circuit Etcher.

mods.threng.Energizer -- Crystal Energizer

  • addRecipe(ItemStack output, ItemMatcher input, int energyCost)

Adds a recipe to the Crystal Energizer. The energy cost is given in FE/RF.

  • removeRecipe(ItemStack output)

Removes a recipe from the Crystal Energizer.