Added API for manipulating map items. Thanks SpaceManiac, codename_B, sk89q and dested!

By: EvilSeph <evilseph@gmail.com>
This commit is contained in:
Bukkit/Spigot
2011-08-12 21:59:10 -04:00
parent df275c8376
commit cd7da9630a
14 changed files with 1181 additions and 1 deletions

View File

@ -9,6 +9,7 @@ import org.bukkit.Material;
import org.bukkit.Note;
import org.bukkit.Statistic;
import org.bukkit.command.CommandSender;
import org.bukkit.map.MapView;
/**
* Represents a player, connected or not
@ -202,6 +203,14 @@ public interface Player extends HumanEntity, CommandSender {
* @param data
*/
public void sendBlockChange(Location loc, int material, byte data);
/**
* Render a map and send it to the player in its entirety. This may be used
* when streaming the map in the normal manner is not desirbale.
*
* @pram map The map to be sent
*/
public void sendMap(MapView map);
/**
* Forces an update of the player's entire inventory.