Closed Imzxhir closed 2 weeks ago
How does xaeros share waypoints?
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?
yea, you can add screenshots to this issue.
Sorry for the delay, here you go:
They message looks like this when the waypoint is shared in chat
oh I don't know what all those values mean. but I can investigate it.
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.
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.
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.