本站文本内容除另有声明外,转载时均必须注明出处,并遵守CC BY-NC-SA 3.0协议。(转载须知
本站是中文Minecraft Wiki的镜像站,与Mojang Studios、Weird Gloop没有从属关系。(免责声明

全站通知:

模板:Brewing

来自我的世界地下城WIKI_BWIKI_哔哩哔哩
跳到导航 跳到搜索
[查看 | 编辑 | 历史 | 清除缓存]文档页面
Lua logo.svg

此模板使用了模块:Brewing,此脚本使用Lua编写。
更多详情,请参阅维基百科:LuaMediaWiki:扩展:Scribunto

使用这个模板,可以创建类似于方块和物品条目中“酿造材料”章节中使用的表格。它的用法类似于{{Brewing Stand}},但这个模板创建的是一个表格。

默认情况下,表格会有3列:名称、材料和包含{{Brewing Stand}}的烧炼配方。可以将|showname=设为1或0来显示或隐藏名称列。要将多个烧炼模板放入一个表格中时,在第一个模板中设置|head=为1,在最后一个模板中设置|foot=为1。

参数|base=用来设置基础药水,默认为粗制的药水。

|showbase=设为1可以将基础药水而不是输出的药水显示在药水槽中。

示例

{{Brewing
  |head=1
  |Ghast Tear
  |Potion of Regeneration
}}
{{Brewing
  |name=Splash Potions
  |ingredients=Gunpowder +<br>Any Potion
  |Gunpowder
  |Splash Potion of Regeneration;Splash Potion of Fire Resistance;Splash Potion of Strength
}}
{{Brewing
  |name=Increases Duration
  |showbase=1
  |Redstone
  |base=Potion of Regeneration
}}
{{Brewing
  |upcoming=1.7
  |foot=1
  |Redstone
  |Potion of Water Breathing
}}

produces:

名称 材料 酿造配方
再生药水 恶魂之泪 +
粗制的药水



Splash Potions Gunpowder +
Any Potion



Increases Duration 红石粉 +
再生药水



水肺药水
1.7
红石粉 +
粗制的药水