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

Method getOctave

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

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

()

Source from the content-addressed store, hash-verified

235 * @return the octave of this note.
236 */
237 public int getOctave() {
238 return note / Tone.TONES_COUNT;
239 }
240
241 private byte getToneByte() {
242 return (byte) (note % Tone.TONES_COUNT);

Callers 2

testSharpWrappingMethod · 0.95
dooMethod · 0.95

Calls

no outgoing calls

Tested by 2

testSharpWrappingMethod · 0.76
dooMethod · 0.76