类 AttributePlusV2Util

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

public class AttributePlusV2Util extends Object
AttributePlus 兼容
作者:
handy
  • 方法详细资料

    • getInstance

      protected static AttributePlusV2Util getInstance()
      获取唯一实例
      返回:
      this
    • addAttribute

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

      protected void removeAttribute(org.bukkit.plugin.Plugin plugin, org.bukkit.entity.Player player)
      移除玩家属性
      参数:
      plugin - 插件
      player - 玩家