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

Method getById

paper-api/src/main/java/org/bukkit/Note.java:102–106  ·  view source on GitHub ↗

Returns the tone to id. Also returning the semitones. @param id the id of the tone. @return the tone to id. @apiNote Internal Use Only

(byte id)

Source from the content-addressed store, hash-verified

100 * @apiNote Internal Use Only
101 */
102 @org.jetbrains.annotations.ApiStatus.Internal // Paper
103 @Nullable
104 public static Tone getById(byte id) {
105 return BY_DATA.get(id);
106 }
107
108 static {
109 for (Tone tone : values()) {

Callers 2

getToneMethod · 0.95
isSharpedMethod · 0.95

Calls 1

getMethod · 0.65

Tested by

no test coverage detected