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

Method sharped

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

@return The note a semitone above this one.

()

Source from the content-addressed store, hash-verified

204 * @return The note a semitone above this one.
205 */
206 @NotNull
207 public Note sharped() {
208 Preconditions.checkArgument(note < 24, "This note cannot be sharped because it is the highest known note!");
209 return new Note(note + 1);
210 }
211
212 /**
213 * @return The note a semitone below this one.

Callers 2

testSharpWrappingMethod · 0.80
testSharpWrapping2Method · 0.80

Calls

no outgoing calls

Tested by 2

testSharpWrappingMethod · 0.64
testSharpWrapping2Method · 0.64