public interface MapPixelProvider extends MapProvider
Minimap with what MapPixel will appear on the canvas, may be called extremely frequently(Several times per tick).| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<MapPixel> |
getMapPixels(org.bukkit.entity.Player player,
Minimap map,
PlayerSetting setting)
|
java.util.Collection<MapPixel> getMapPixels(org.bukkit.entity.Player player, Minimap map, PlayerSetting setting)
MapPixel to draw based on the Minimap and PlayerSetting provided.
To place pixels relative to the Minecraft world, use a WorldPixelProvider.player - 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 MapPixel.setting - The PlayerSetting of the player, including the location of the player that will be used to render the canvas.MapPixel. Can return null.