Hello! I was just wondering if anybody knows how to make a map item show player pointers on the map? What is the nbt tag that needs to be added to it to make it into a locator map?
NBT tag? None? Create a MapTrackedObject class and set the $type to MapTrackedObject::TYPE_ENTITY. Set the $entityUniqueId to the entity you want to track's ID. Then push the MapTrackedObject into ClientboundMapItemDataPacket::$trackedEntities. If that doesn't work, try pushing the entity you want to track's ID into ClientboundMapItemDataPacket::$eids.