Added Player.playNote().
This commit is contained in:
parent
d9e8461bbb
commit
124d369d47
@ -130,6 +130,18 @@ public interface Player extends HumanEntity, CommandSender {
|
||||
*/
|
||||
public boolean isSleepingIgnored();
|
||||
|
||||
/**
|
||||
* Play a note for a player at a location. This requires a note block
|
||||
* at the particular location (as far as the client is concerned). This
|
||||
* will not work without a note block. This will not work with cake.
|
||||
*
|
||||
* @param loc
|
||||
* @param instrument
|
||||
* @param note
|
||||
* @return
|
||||
*/
|
||||
public void playNote(Location loc, byte instrument, byte note);
|
||||
|
||||
/**
|
||||
* Forces an update of the player's entire inventory.
|
||||
*
|
||||
|
Loading…
x
Reference in New Issue
Block a user