Added NoteBlock.play, Dispenser.dispense

By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
Bukkit/Spigot
2011-02-01 23:21:53 +00:00
parent 4f6c65d684
commit 4de2b0d48e
2 changed files with 16 additions and 0 deletions

View File

@@ -19,4 +19,12 @@ public interface NoteBlock extends BlockState {
* @param note
*/
public void setNote(byte note);
/**
* Attempts to play the note at block<br />
* <br />
* If the block is no longer a note block, this will return false
*
* @return true if successful, otherwise false
*/
public boolean play();
}