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

Method getById

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

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)

Source from the content-addressed store, hash-verified

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)) {

Callers 3

getToneByDataMethod · 0.65
verifyUnknownToneDataMethod · 0.65
getMinecraftPhaseMethod · 0.65

Implementers 1

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

Calls

no outgoing calls

Tested by 2

getToneByDataMethod · 0.52
verifyUnknownToneDataMethod · 0.52