类 MythicLibUtil
java.lang.Object
cn.handyplus.lib.attribute.MythicLibUtil
MythicLib支持
- 从以下版本开始:
- 1.0.3
- 作者:
- handy
-
方法概要
修饰符和类型方法说明protected static voidaddAttribute(org.bukkit.entity.Player player, List<String> attributeList) 给玩家添加属性protected static boolean是否新版本protected static voidremoveAttribute(org.bukkit.entity.Player player) 移除玩家属性
-
方法详细资料
-
addAttribute
给玩家添加属性- 参数:
player- 玩家attributeList- 属性列表
-
removeAttribute
protected static void removeAttribute(org.bukkit.entity.Player player) 移除玩家属性- 参数:
player- 玩家
-
isNewVersion
protected static boolean isNewVersion()是否新版本- 返回:
- true 是
-