Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
createNoteOctaveNonSharpable
Method · 0.95
createNoteFlat
Method · 0.95
createNoteFlatNonFlattenable
Method · 0.95
testFlatWrapping
Method · 0.95
testFlatWrapping2
Method · 0.95
testSharpWrapping
Method · 0.95
doo
Method · 0.95
toString
Method · 0.95
Calls
2
getById
Method · 0.95
getToneByte
Method · 0.95
Tested by
7
createNoteOctaveNonSharpable
Method · 0.76
createNoteFlat
Method · 0.76
createNoteFlatNonFlattenable
Method · 0.76
testFlatWrapping
Method · 0.76
testFlatWrapping2
Method · 0.76
testSharpWrapping
Method · 0.76
doo
Method · 0.76