夜雨晨风丶
org.bukkit.potion想写中毒效果,在文档里只看得出持续时间与药水等级,不知道是否能定义伤害
  1. public PotionEffect(PotionEffectType type,
  2. int duration,
  3. int amplifier,
  4. boolean ambient,
  5. boolean particles,
  6. Color color)
  7. Creates a potion effect.
  8. 参数:
  9. type - effect type
  10. duration - measured in ticks, see getDuration()
  11. amplifier - the amplifier, see getAmplifier()
  12. ambient - the ambient status, see isAmbient()
  13. particles - the particle status, see hasParticles()
  14. color - the particle color, see getColor()
复制代码
如果大佬能解释一下另外几个参数的含义就更好了。

第一页 上一页 下一页 最后一页