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

Method getByKey

src/main/java/org/bukkit/entity/memory/MemoryKey.java:71–74  ·  view source on GitHub ↗

Returns a MemoryKey by a NamespacedKey. @param namespacedKey the NamespacedKey referencing a MemoryKey @return the MemoryKey or null when no MemoryKey is available under that key

(@NotNull NamespacedKey namespacedKey)

Source from the content-addressed store, hash-verified

69 * available under that key
70 */
71 @Nullable
72 public static MemoryKey getByKey(@NotNull NamespacedKey namespacedKey) {
73 return MEMORY_KEYS.get(namespacedKey);
74 }
75
76 /**
77 * Returns the set of all MemoryKeys.

Callers 1

toMemoryKeyMethod · 0.95

Calls 1

getMethod · 0.65

Tested by

no test coverage detected