Added NoteBlock.play, Dispenser.dispense
By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user