@Deprecated public interface UnsafeValues
Their existence and behavior is not guaranteed across future versions. They may be poorly named, throw exceptions, have misleading parameters, or any other bad programming practice.
Modifier and Type | Method and Description |
---|---|
Achievement |
getAchievementFromInternalName(String name)
Deprecated.
|
Material |
getMaterialFromInternalName(String name)
Deprecated.
|
Statistic |
getStatisticFromInternalName(String name)
Deprecated.
|
Advancement |
loadAdvancement(NamespacedKey key,
String advancement)
Deprecated.
Load an advancement represented by the specified string into the server.
|
ItemStack |
modifyItemStack(ItemStack stack,
String arguments)
Deprecated.
|
boolean |
removeAdvancement(NamespacedKey key)
Deprecated.
Delete an advancement which was loaded and saved by
loadAdvancement(org.bukkit.NamespacedKey, java.lang.String) . |
List<String> |
tabCompleteInternalMaterialName(String token,
List<String> completions)
Deprecated.
|
List<String> |
tabCompleteInternalStatisticOrAchievementName(String token,
List<String> completions)
Deprecated.
|
List<String> tabCompleteInternalMaterialName(String token, List<String> completions)
Achievement getAchievementFromInternalName(String name)
List<String> tabCompleteInternalStatisticOrAchievementName(String token, List<String> completions)
Advancement loadAdvancement(NamespacedKey key, String advancement)
Exception
to be thrown.key
- the unique advancement keyadvancement
- representation of the advancementboolean removeAdvancement(NamespacedKey key)
loadAdvancement(org.bukkit.NamespacedKey, java.lang.String)
.
Server.reloadData()
in order
to fully remove it from the running instance.key
- the unique advancement keyCopyright © 2021. All rights reserved.