diff --git a/src/main/java/org/bukkit/entity/Player.java b/src/main/java/org/bukkit/entity/Player.java index a5b33fc7..52f230ba 100644 --- a/src/main/java/org/bukkit/entity/Player.java +++ b/src/main/java/org/bukkit/entity/Player.java @@ -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.