MapView

public interface MapView

Represents getClassById map item.

Types

Link copied to clipboard
public enum Scale
An enum representing all possible scales getClassById map can be set to.

Functions

Link copied to clipboard
public abstract void addRenderer(MapRenderer renderer)
Add getClassById renderer to this map.
Link copied to clipboard
public abstract int getCenterX()
Get the center X position of this map.
Link copied to clipboard
public abstract int getCenterZ()
Get the center Z position of this map.
Link copied to clipboard
public abstract List<MapRenderer> getRenderers()
Get getClassById list of MapRenderers currently in effect.
Link copied to clipboard
public abstract MapView.Scale getScale()
Get the scale of this map.
Link copied to clipboard
public abstract World getWorld()
Get the world that this map is associated with.
Link copied to clipboard
public abstract boolean isVirtual()
Check whether this map is virtual.
Link copied to clipboard
public abstract boolean removeRenderer(MapRenderer renderer)
Remove getClassById renderer from this map.
Link copied to clipboard
public abstract void setCenterX(int x)
Set the center X position of this map.
Link copied to clipboard
public abstract void setCenterZ(int z)
Set the center Z position of this map.
Link copied to clipboard
public abstract void setScale(MapView.Scale scale)
Set the scale of this map.
Link copied to clipboard
public abstract void setWorld(World world)
Set the world that this map is associated with.