MCPcopy Create free account
hub / github.com/Teneted/Tenet / randomKey

Method randomKey

src/main/java/org/bukkit/NamespacedKey.java:126–130  ·  view source on GitHub ↗

Return a new random key in the #BUKKIT namespace. @return new key @deprecated should never be used by plugins, for internal use only!!

()

Source from the content-addressed store, hash-verified

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.

Callers 4

ShapelessRecipeMethod · 0.95
ShapedRecipeMethod · 0.95
FurnaceRecipeMethod · 0.95
CustomModRecipeMethod · 0.95

Calls 1

toStringMethod · 0.45

Tested by

no test coverage detected