MCPcopy Create free account
hub / github.com/PaperMC/Paper / valueOf

Method valueOf

paper-api/src/main/java/org/bukkit/Art.java:243–243  ·  view source on GitHub ↗

@param name of the art. @return the art with the given name. @deprecated only for backwards compatibility, use Registry#get(NamespacedKey) instead.

(@NotNull String name)

Source from the content-addressed store, hash-verified

241 * @deprecated only for backwards compatibility, use {@link Registry#get(NamespacedKey)} instead.
242 */
243 @NotNull
244 @Deprecated(since = "1.21.3", forRemoval = true) @org.jetbrains.annotations.ApiStatus.ScheduledForRemoval(inVersion = "1.22") // Paper - will be removed via asm-utils
245 static Art valueOf(@NotNull String name) {
246 final NamespacedKey key = NamespacedKey.fromString(name.toLowerCase(Locale.ROOT));

Callers 15

convertMethod · 0.65
getByStringMethod · 0.65
deserializeMethod · 0.65
applyMethod · 0.65
pairMethod · 0.65
legacyValueOfMethod · 0.65
ChatColorEnum · 0.65
checkErrorMethod · 0.65
rewriteEnumValueMethod · 0.65
invalidDataMethod · 0.65

Implementers 1

CraftArtpaper-server/src/main/java/org/bukkit/

Calls

no outgoing calls

Tested by 15

convertMethod · 0.52
getByStringMethod · 0.52
deserializeMethod · 0.52
invalidDataMethod · 0.52
testMatchingEnumMethod · 0.52
testCategoryMethod · 0.52
testCategoryReverseMethod · 0.52
collectNmsLevelEventsMethod · 0.52
ensureLegacyParsingMethod · 0.52