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

Method getTone

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

Returns the tone of this note. @return the tone of this note.

()

Source from the content-addressed store, hash-verified

248 * @return the tone of this note.
249 */
250 @NotNull
251 public Tone getTone() {
252 return Tone.getById(getToneByte());
253 }
254
255 /**
256 * Returns if this note is sharped.

Callers 8

createNoteFlatMethod · 0.95
testFlatWrappingMethod · 0.95
testFlatWrapping2Method · 0.95
testSharpWrappingMethod · 0.95
dooMethod · 0.95
toStringMethod · 0.95

Calls 2

getByIdMethod · 0.95
getToneByteMethod · 0.95

Tested by 7

createNoteFlatMethod · 0.76
testFlatWrappingMethod · 0.76
testFlatWrapping2Method · 0.76
testSharpWrappingMethod · 0.76
dooMethod · 0.76