Added method to fake a block change request for a player. Alas, my Justin Bieber playing sign can work again!
This commit is contained in:
parent
124d369d47
commit
913c9851c9
@ -142,6 +142,26 @@ public interface Player extends HumanEntity, CommandSender {
|
||||
*/
|
||||
public void playNote(Location loc, byte instrument, byte note);
|
||||
|
||||
/**
|
||||
* Send a block change. This fakes a block change packet for a user at
|
||||
* a certain location. This will not actually change the world in any way.
|
||||
*
|
||||
* @param loc
|
||||
* @param material
|
||||
* @param data
|
||||
*/
|
||||
public void sendBlockChange(Location loc, Material material, byte data);
|
||||
|
||||
/**
|
||||
* Send a block change. This fakes a block change packet for a user at
|
||||
* a certain location. This will not actually change the world in any way.
|
||||
*
|
||||
* @param loc
|
||||
* @param material
|
||||
* @param data
|
||||
*/
|
||||
public void sendBlockChange(Location loc, int material, byte data);
|
||||
|
||||
/**
|
||||
* Forces an update of the player's entire inventory.
|
||||
*
|
||||
|
Loading…
x
Reference in New Issue
Block a user