类 SxAttributeUtil

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

public class SxAttributeUtil extends Object
SxAttribute V3 版本兼容
作者:
handy
  • 方法详细资料

    • 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 - 玩家