@return an array of all known arts. @deprecated use Registry#stream().
()
| 254 | * @deprecated use {@link Registry#stream()}. |
| 255 | */ |
| 256 | @NotNull |
| 257 | @Deprecated(since = "1.21.3", forRemoval = true) @org.jetbrains.annotations.ApiStatus.ScheduledForRemoval(inVersion = "1.22") // Paper - will be removed via asm-utils |
| 258 | static Art[] values() { |
| 259 | return RegistryAccess.registryAccess().getRegistry(RegistryKey.PAINTING_VARIANT).stream().toArray(Art[]::new); |
no outgoing calls