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

Method getType

paper-api/src/main/java/org/bukkit/Instrument.java:143–146  ·  view source on GitHub ↗

@return The type ID of this instrument. @deprecated use #ordinal(), there's no meaning to this id

()

Source from the content-addressed store, hash-verified

141 * @deprecated use {@link #ordinal()}, there's no meaning to this id
142 */
143 @Deprecated(since = "26.1")
144 public byte getType() {
145 return (byte) this.ordinal();
146 }
147
148 /**
149 * Get an instrument by its type ID.

Callers

nothing calls this directly

Calls 1

ordinalMethod · 0.65

Tested by

no test coverage detected