geforkt von Mirrors/Paper
Added method to fake a block change request for a player. Alas, my Justin Bieber playing sign can work again!
By: sk89q <the.sk89q@gmail.com>
Dieser Commit ist enthalten in:
Ursprung
27488bda7e
Commit
fb2e2b7dcd
@ -141,6 +141,26 @@ public interface Player extends HumanEntity, CommandSender {
|
||||
* @return
|
||||
*/
|
||||
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.
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren