Many javadoc fixes thanks to Celtic Minstrel

By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
Bukkit/Spigot
2011-09-25 02:56:40 +01:00
parent 1968b78a12
commit a8e72bdb91
78 changed files with 380 additions and 335 deletions

View File

@@ -11,28 +11,28 @@ public interface NoteBlock extends BlockState {
/**
* Gets the note.
*
* @return
* @return The note.
*/
public Note getNote();
/**
* Gets the note.
*
* @return
* @return The note ID.
*/
public byte getRawNote();
/**
* Set the note.
*
* @param note
* @param note The note.
*/
public void setNote(Note note);
/**
* Set the note.
*
* @param note
* @param note The note ID.
*/
public void setRawNote(byte note);
@@ -47,15 +47,20 @@ public interface NoteBlock extends BlockState {
/**
* Plays an arbitrary note with an arbitrary instrument
*
*
* @param instrument Instrument ID
* @param note Note ID
* @return true if successful, otherwise false
*/
public boolean play(byte instrument, byte note);
/**
* Plays an arbitrary note with an arbitrary instrument
*
*
* @param instrument The instrument
* @param note The note
* @return true if successful, otherwise false
* @see Instrument Note
*/
public boolean play(Instrument instrument, Note note);
}