Feed The Beast Wiki

Follow the Feed The Beast Wiki on Discord or Mastodon!

READ MORE

Feed The Beast Wiki
Register
Advertisement
This page contains changes which are not marked for translation.
This page is about using MineTweaker with Avaritia prior to 1.12. For using MineTweaker in general, see How to Use MineTweaker 3.

ZenScript Classes[]

mods.avaritia.Compressor[]

Functions Parameters Returns
add(output, amount, input)  · output: (IItemStack) output of the recipe.
 · amount: (int)
 · input: (IIngredient)
add(output, amount, input, exact)  · output: (IItemStack) output of the recipe.
 · amount: (int)
 · input: (IIngredient)
 · exact: (boolean) disables the scaling system. The previous method is the same as this one, but with this parameter set to true.
remove(output)  · output: (IItemStack) output of recipe wanted to be removed.

mods.avaritia.ExtremeCrafting[]

Functions Parameters Returns
addShapeless("Name", output, ingredients)  · output: (IItemStack) output of the shapeless recipe.
 · ingredients: (Ingredient) the components need to create said output.
addShaped("Name", output, ingredients)  · output: (IItemStack) output of the shaped recipe.
 · ingredients: (Ingredient) the components need to create said output.
remove(target)  · target: (IItemStack) output of recipe wanted to be removed.

Example usage[]

mods.avaritia.ExtremeCrafting.addShaped(<minecraft:glass>,
 [[<minecraft:stone>, <minecraft:stone>, <minecraft:stone>, <minecraft:sand>, <minecraft:stone>, <minecraft:stone>, <minecraft:sand>, <minecraft:stone>, <minecraft:stone>],
  [<minecraft:stone>, <minecraft:stone>, <minecraft:stone>, <minecraft:sand>, <minecraft:stone>, <minecraft:stone>, <minecraft:sand>, <minecraft:stone>, <minecraft:stone>],
  [<minecraft:stone>, <minecraft:stone>, <minecraft:stone>, <minecraft:sand>, <minecraft:stone>, <minecraft:stone>, <minecraft:sand>, <minecraft:stone>, <minecraft:stone>],
  [<minecraft:stone>, <minecraft:stone>, <minecraft:stone>, <minecraft:sand>, <minecraft:stone>, <minecraft:stone>, <minecraft:sand>, <minecraft:stone>, <minecraft:stone>],
  [<minecraft:stone>, <minecraft:stone>, <minecraft:stone>, <minecraft:sand>, <minecraft:stone>, <minecraft:stone>, <minecraft:sand>, <minecraft:stone>, <minecraft:stone>],
  [<minecraft:stone>, <minecraft:stone>, <minecraft:stone>, <minecraft:sand>, <minecraft:stone>, <minecraft:stone>, <minecraft:sand>, <minecraft:stone>, <minecraft:stone>],
  [<minecraft:stone>, <minecraft:stone>, <minecraft:stone>, <minecraft:sand>, <minecraft:stone>, <minecraft:stone>, <minecraft:sand>, <minecraft:stone>, <minecraft:stone>],
  [<minecraft:stone>, <minecraft:stone>, <minecraft:stone>, <minecraft:sand>, <minecraft:stone>, <minecraft:stone>, <minecraft:sand>, <minecraft:stone>, <minecraft:stone>],
  [<minecraft:stone>, <minecraft:stone>, <minecraft:stone>, <minecraft:sand>, <minecraft:stone>, <minecraft:stone>, <minecraft:sand>, <minecraft:stone>, <minecraft:stone>]]);

produces:


Advertisement