Return a new random key in the #BUKKIT namespace. @return new key @deprecated should never be used by plugins, for internal use only!!
()
| 124 | * @deprecated should never be used by plugins, for internal use only!! |
| 125 | */ |
| 126 | @Deprecated |
| 127 | @NotNull |
| 128 | public static NamespacedKey randomKey() { |
| 129 | return new NamespacedKey(BUKKIT, UUID.randomUUID().toString()); |
| 130 | } |
| 131 | |
| 132 | /** |
| 133 | * Get a key in the Minecraft namespace. |
no test coverage detected