@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)
| 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)); |
no outgoing calls