public class DefaultPlayerCursorProvider extends java.lang.Object implements WorldCursorProvider
| Constructor and Description |
|---|
DefaultPlayerCursorProvider() |
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<WorldCursor> |
getCursors(org.bukkit.entity.Player player,
Minimap map,
PlayerSetting setting)
Get a collection of
WorldCursor that will be placed on the map. |
public java.util.Collection<WorldCursor> getCursors(org.bukkit.entity.Player player, Minimap map, PlayerSetting setting)
WorldCursorProviderWorldCursor that will be placed on the map. To place cursors relative to the map canvas, use a MapCursorProvider.getCursors in interface WorldCursorProviderplayer - The player for who this is rendering. Do not use the location of this player, may not be accurate.map - The Minimap which is requesting the cursors.setting - The PlayerSetting of the player, including the location of the player that will be used to render the canvas.WorldCursor. Can return null.