Added API for manipulating map items. Thanks SpaceManiac, codename_B, sk89q and dested!
By: EvilSeph <evilseph@gmail.com>
This commit is contained in:
@ -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.
|
||||
|
||||
Reference in New Issue
Block a user