Hello there! We are conducting a survey to better understand the user experience in making a first edit. If you have ever made an edit on Gamepedia, please fill out the survey. Thank you!

Использование MineTweaker и Avaritia

From Feed The Beast Wiki
Jump to: navigation, search
This page is a translated version of the page Using MineTweaker and Avaritia and the translation is 100% complete.

Эта страница — использование MineTweaker и Avaritia до 1.12. использование MineTweaker в целом см. How to Use MineTweaker 3.

Классы ZenScript

mods.avaritia.Compressor

Функции Параметры Результат
add(output, amount, input)  · output: (IItemStack) выход рецепта.
 · amount: (int)
 · input: (IIngredient)
add(output, amount, input, exact)  · output: (IItemStack) выход рецепта.
 · amount: (int)
 · input: (IIngredient)
 · exact: (boolean) отключает систему масштабирования. Предыдущий метод такой же, как и этот, но с помощью этого параметра устанавливает значение true.
remove(output)  · output: (IItemStack) выход рецепта, желаемого удалить.

mods.avaritia.ExtremeCrafting

Функции Параметры Результат
addShapeless("Name", output, ingredients)  · output: (IItemStack) выход бесформенного рецепта.
 · ingredients: (Ingredient) компоненты, нужные для создания указанного выхода.
addShaped("Name", output, ingredients)  · output: (IItemStack) выход форменного рецепта.
 · ingredients: (Ingredient) компоненты, нужные для создания указанного выхода.
remove(target)  · target: (IItemStack) выход рецепта, желаемого удалить.

Пример использования

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>]]);

даёт:


Template:Navbox MineTweaker/ru

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