As part of the Unified Community Platform project, this wiki and 38 others will be migrated to the new platform, with migrations beginning September 23rd at 7am CDT. Minimal changes are expected as part of this migration. Read more here.

Использование 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:
Deutsch • ‎English • ‎español • ‎español (Nicaragua) • ‎français • ‎русский • ‎中文(中国大陆)‎