在Avaritia中使用MineTweaker

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 94% complete.

Outdated translations are marked like this.
本文介绍的是如何使用AvaritiaMineTweaker的兼容。关于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) 禁用scaling系统。上一个方法与本方法相同,但上一个方法默认最后的exact参数为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/zh-cn

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