MCPcopy Create free account
hub / github.com/Bukkit/Bukkit / Note

Method Note

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

Creates a new note. @param note Internal note id. #getId() always return this value. The value has to be in the interval [0; 24].

(byte note)

Source from the content-addressed store, hash-verified

131 * The value has to be in the interval [0; 24].
132 */
133 public Note(byte note) {
134 if (note < 0 || note > 24) {
135 throw new IllegalArgumentException("The note value has to be between 0 and 24.");
136 }
137 this.note = note;
138 }
139
140 /**
141 * Creates a new note.

Callers

nothing calls this directly

Calls 2

isSharpableMethod · 0.80
getIdMethod · 0.65

Tested by

no test coverage detected