MCPcopy Create free account
hub / github.com/Teneted/Tenet / sharp

Method sharp

src/main/java/org/bukkit/Note.java:177–180  ·  view source on GitHub ↗

Creates a new note for a sharp tone, such as A-sharp. @param octave The octave where the note is in. Has to be 0 - 2. @param tone The tone within the octave. If the octave is 2 the note has to be F#. @return The new note.

(int octave, @NotNull Tone tone)

Source from the content-addressed store, hash-verified

175 * @return The new note.
176 */
177 @NotNull
178 public static Note sharp(int octave, @NotNull Tone tone) {
179 return new Note(octave, tone, true);
180 }
181
182 /**
183 * Creates a new note for a natural tone, such as A-natural.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected