Get a painting by its numeric ID @param id The ID @return The painting @deprecated Magic value that is based on inconsistent, data-driven registry
(int id)
| 203 | * @deprecated Magic value that is based on inconsistent, data-driven registry |
| 204 | */ |
| 205 | @Deprecated(since = "1.6.2", forRemoval = true) |
| 206 | @Nullable |
| 207 | static Art getById(int id) { |
| 208 | for (Art art : RegistryAccess.registryAccess().getRegistry(RegistryKey.PAINTING_VARIANT)) { |
no outgoing calls