Class PersistentDataUtils.Player
java.lang.Object
com.mclds.plugins.customplugin.utils.PersistentDataUtils.Player
- Enclosing class:
PersistentDataUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull Stringstatic @NotNull Stringstatic org.bukkit.NamespacedKeygetNamespacedKey(String key) static voidstatic void删除以startWith开头的key,但是不删除以ignoreStartWith开头的keystatic voidstatic void
-
Constructor Details
-
Player
public Player()
-
-
Method Details
-
getNamespacedKey
-
set
-
get
-
get
-
removeBy
public static void removeBy(org.bukkit.entity.Player player, String startWith, String ignoreStartWith) 删除以startWith开头的key,但是不删除以ignoreStartWith开头的key- Parameters:
player- 玩家startWith- 开头ignoreStartWith- 忽略的开头
-
removeBy
public static void removeBy(org.bukkit.entity.Player player, Predicate<org.bukkit.NamespacedKey> filter) -
remove
-