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

Method Note

src/main/java/org/bukkit/Note.java:129–133  ·  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].

(int note)

Source from the content-addressed store, hash-verified

127 * value. The value has to be in the interval [0; 24].
128 */
129 public Note(int note) {
130 Validate.isTrue(note >= 0 && note <= 24, "The note value has to be between 0 and 24.");
131
132 this.note = (byte) note;
133 }
134
135 /**
136 * Creates a new note.

Callers

nothing calls this directly

Calls 4

isSharpableMethod · 0.80
ordinalMethod · 0.80
getIdMethod · 0.65
valuesMethod · 0.45

Tested by

no test coverage detected