Feed The Beast Wiki

Follow the Feed The Beast Wiki on Discord or Mastodon!

READ MORE

Feed The Beast Wiki
The existing example works fine and also only uses vanilla items: Undo revision 805177 by 83.242.119.132 (talk)
Tag: Undo
Xbony2 (talk | contribs)
m Protected "Using MineTweaker and Avaritia": Excessive vandalism ([Edit=Allow only autoconfirmed users] (expires 07:06, 15 January 2022 (UTC)) [Move=Allow only autoconfirmed users] (expires 07:06, 15 January 2022 (UTC)))
 
(10 intermediate revisions by 4 users not shown)
(No difference)

Latest revision as of 07:06, 15 January 2021

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: