BrewingUtil

基本信息

属性 值
路径 crazypants.enderzoo.potion.BrewingUtil
类型 class(静态工具)
源码 src/main/java/crazypants/enderzoo/potion/BrewingUtil.java

以编程方式合成药水 ItemStack(而非靠玩家在酿造台操作), 供 EntityWitherWitch 投掷。

提供的药水

方法 效果
createHarmingPotion(isAugmented, isSplash) 反胃 + 发酵蜘蛛眼(+荧石升级)
createWitherPotion(isProlonged, isSplash) 凋灵,材料为 ItemWitheringDust
createRegenerationPotion(...) 生命恢复
createHealthPotion(...) 瞬间恢复

依赖的 EnderZoo 材料

createWitherPotion 直接 new ItemStack(EnderZoo.itemWitheringDust), 故凋灵女巫的凋灵药水必须先由 ItemWitheringDust 成功改写 PotionHelper 配方表,否则该药水会合成失败。

相关条目