Using MineTweaker and Avaritia

From Feed The Beast Wiki
Jump to: navigation, search
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[edit]

mods.avaritia.Compressor[edit]

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[edit]

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[edit]

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:


Other languages:
Deutsch • ‎English • ‎español • ‎français • ‎русский • ‎中文(中国大陆)‎