As part of the Unified Community Platform project, this wiki and 38 others will be migrated to the new platform in the next few weeks. Minimal changes are expected as part of this migration. Read more here.

在Avaritia中使用MineTweaker

(tagline)
(jumpto) (jumptonavigation)(comma-separator) (jumptosearch)
(tpt-translation-intro-fuzzy)
本文介绍的是如何使用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

(tpt-languages-legend)
Deutsch(tpt-languages-separator)‎English(tpt-languages-separator)‎español(tpt-languages-separator)‎español (Nicaragua)(tpt-languages-separator)‎français(tpt-languages-separator)‎русский(tpt-languages-separator)‎中文(中国大陆)‎