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

Method flattened

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

@return The note a semitone below this one.

()

Source from the content-addressed store, hash-verified

213 * @return The note a semitone below this one.
214 */
215 @NotNull
216 public Note flattened() {
217 Preconditions.checkArgument(note > 0, "This note cannot be flattened because it is the lowest known note!");
218 return new Note(note - 1);
219 }
220
221 /**
222 * Returns the internal id of this note.

Callers 1

testFlatWrapping2Method · 0.80

Calls

no outgoing calls

Tested by 1

testFlatWrapping2Method · 0.64