Majiir / RealtimeRender

Map rendering plugin for Bukkit that updates as the world changes.
2 stars 1 forks source link

Show locations of animals on surface #29

Open Majiir opened 12 years ago

Majiir commented 12 years ago

Show icons for animals on the surface. Use marker clustering (see CloudMade/Leaflet#442) to zoom out gracefully.

To determine whether an animal is on the surface (and thus visible on the map), start at the animal's location and proceed upwards until reaching the highest block, as reported by the ChunkSnapshot. If any inspected block is opaque and would block visibility of the animal, the animal is not shown. Otherwise, it appears on the map.