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

Method isSharped

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

Returns if this note is sharped. @return if this note is sharped.

()

Source from the content-addressed store, hash-verified

258 * @return if this note is sharped.
259 */
260 public boolean isSharped() {
261 byte note = getToneByte();
262 return Tone.getById(note).isSharped(note);
263 }
264
265 /**
266 * Gets the pitch of this note. This is the value used with

Callers 10

createNoteFlatMethod · 0.95
testFlatWrappingMethod · 0.95
testFlatWrapping2Method · 0.95
testSharpWrappingMethod · 0.95
dooMethod · 0.95
toStringMethod · 0.95
verifySharpedDataMethod · 0.45
verifyUnknownToneDataMethod · 0.45

Calls 2

getToneByteMethod · 0.95
getByIdMethod · 0.95

Tested by 9

createNoteFlatMethod · 0.76
testFlatWrappingMethod · 0.76
testFlatWrapping2Method · 0.76
testSharpWrappingMethod · 0.76
dooMethod · 0.76
verifySharpedDataMethod · 0.36
verifyUnknownToneDataMethod · 0.36