Uploaded image for project: 'Spigot'
  1. Spigot
  2. SPIGOT-4958

MapView.setTrackingPosition() needed in order to show player position on maps.

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
    • Version:
      git-Spigot-1a3504a-dfa7583
    • Guidelines Read:
      Yes

      Description

      Custom maps created with Bukkit.createMap() do not show the player position marker, even when using the default renderer.

      NBT inspection of any map.dat file shows a parameter called trackingPosition.  Maps generated by the game have this tag set to 1 and show the player marker on the map, Bukkit.createMap() maps have this tag set to 0 and do not show the marker.

      I could really do with having access to a setTrackingPosition(boolean) method on mapView in order to turn the player position marker on for custom maps.  Setting trackingPosition to 1 manually using an NBT editor adds the marker to my custom map next time I reload so I'm sure this is doable.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            Registry_Editor Reg
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: