mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-06 18:50:51 +01:00
Added Player.playNote().
By: sk89q <the.sk89q@gmail.com>
This commit is contained in:
parent
ab33042e35
commit
27488bda7e
1 changed files with 12 additions and 0 deletions
|
@ -129,6 +129,18 @@ public interface Player extends HumanEntity, CommandSender {
|
||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
public boolean isSleepingIgnored();
|
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.
|
* Forces an update of the player's entire inventory.
|
||||||
|
|
Loading…
Reference in a new issue