TeamJM / journeymap

JourneyMap mod for Minecraft
http://journeymap.info
125 stars 10 forks source link

[Suggestion] Add a way to add waypoints from Xaero's Share Waypoints feature #568

Closed Imzxhir closed 2 weeks ago

Imzxhir commented 1 year ago

Description: Basically the title. This will help JourneyMap players add waypoints from people that are still using Xaero's Minimap, this could also help people not be left behind by letting people add waypoints that Xaero Minimap users share and edit them.

mysticdrew commented 1 year ago

How does xaeros share waypoints?

Imzxhir commented 1 year ago

I can show you a screenshot of what it shows in chat if your not on JourneyMap and a Xaero's Minimap shares a waypoint?

mysticdrew commented 1 year ago

yea, you can add screenshots to this issue.

Imzxhir commented 1 year ago

Sorry for the delay, here you go:

image

They message looks like this when the waypoint is shared in chat

mysticdrew commented 1 year ago

oh I don't know what all those values mean. but I can investigate it.

Imzxhir commented 1 year ago

I think 4 60 124 are xyz values, false is when the waypoint is hidden / not shown, toy malito is the name of the waypoint and the 'internal-the-end-waypoints' shows that the waypoint is saved in the end.

U5B commented 1 year ago

https://github.com/U5B/jsmacros/blob/eb9e5aafa2ac56fef6cd74c432b3b8ac07840d25/scripts/lib/xaero.ts#L86 This is my findings. xaero-waypoint:${name}:${label}:${x}:${y}:${z}:${color}:${rotation}:${yaw}:Internal-dim%${world}-waypoints name: String - name of waypoint label: String - first uppercase letter of waypoint name (from what I could find) x, y, z: Integer - position in world color: Integer - Values are 0-16, standard minecraft color code, with a-f replaced with 10-16 rotation: Boolean - probably if the waypoint should rotate or something, always was false yaw: Integer - Also unsure what the yaw means, always was 0 world: String (minecraft$overworld) - This is the world name with the : replaced with an $

However, this was only tested on newer minecraft versions (1.16.5+) so world name format may be different.