UNPKG

typesforbukkit

Version:

Types For Bukkit

54 lines (39 loc) 1.76 kB
// API Link: https://tfb.neocities.org/1.16.5/org/bukkit/Note namespace org.bukkit { /** @description A note class to store a specific note */ export class Note { /** @description Creates a new note */ constructor(note: int); /** @description Creates a new note */ constructor(octave: int,tone: org.bukkit.Note_$_Tone, sharped: boolean); constructor(octave?: any,tone?: any,sharped?: any,note?: any) {return;} equals(obj: Object) : boolean {return;} /** @description Creates a new note for a flat tone, such as A-flat */ static flat(octave: int, tone: org.bukkit.Note_$_Tone) : org.bukkit.Note {return;} flattened() : org.bukkit.Note {return;} /** @deprecated magic value */ getId() : byte {return;} /** @description Returns the octave of this note */ getOctave() : int {return;} /** @description Returns the tone of this note */ getTone() : org.bukkit.Note_$_Tone {return;} hashCode() : int {return;} /** @description Returns if this note is sharped */ isSharped() : boolean {return;} /** @description Creates a new note for a natural tone, such as A-natural */ static natural(octave: int, tone: org.bukkit.Note_$_Tone) : org.bukkit.Note {return;} /** @description Creates a new note for a sharp tone, such as A-sharp */ static sharp(octave: int, tone: org.bukkit.Note_$_Tone) : org.bukkit.Note {return;} sharped() : org.bukkit.Note {return;} toString() : String {return;} } export enum Note_$_Tone { A, B, C, D, E, F, G } }