类 PotionEffectUtil

java.lang.Object
cn.handyplus.lib.attribute.PotionEffectUtil

public class PotionEffectUtil extends Object
药水效果
作者:
handy
  • 字段详细资料

    • PLAYER_EFFECT_MAP

      protected static final Map<UUID,List<org.bukkit.potion.PotionEffectType>> PLAYER_EFFECT_MAP
  • 方法详细资料

    • addAttribute

      protected static void addAttribute(org.bukkit.entity.Player player, List<String> attributeList)
      给玩家添加属性
      参数:
      player - 玩家
      attributeList - 属性
    • removeAttribute

      protected static void removeAttribute(org.bukkit.entity.Player player)
      移除玩家药水属性
      参数:
      player - 玩家