Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lodestone Compasses do not point correctly when using setLodestoneTracked #5280

Open
Novampr opened this issue Jan 17, 2025 · 0 comments
Open

Comments

@Novampr
Copy link

Novampr commented Jan 17, 2025

Describe the bug

Lodestone Compasses created using Paper's API do not point to a location when setting the CompassMeta#setLodestoneTracked method. However normal Lodestone Compasses work just fine.

To Reproduce

  1. Give the player a compass using Paper's API and set setLodestoneTracked to true in the Compass Meta
  2. See on bedrock that the compass moves randomly, which means it has no location.
  3. See on java that the compass points to the right location

Expected behaviour

The compass points to the location specified

Screenshots / Videos

No response

Server Version and Plugins

Current Purpur Version: 1.21.4-2376-4bf1b98 (MC: 1.21.4)*

  • You are 1 version(s) behind

(Just waiting for something a little more stable, that Purpur commit is hardfork commit, so I'll wait :P)

Geyser Dump

https://dump.geysermc.org/LigNctOAL60gxc1DK6Qp3PGNkKc0haaK

Geyser Version

2.6.0-SNAPSHOT (git-master-07629a4)

Minecraft: Bedrock Edition Device/Version

1.21.5(1)? (Screen too curvy, likely the latest as of creating this report) - Mobile

Additional Context

Even when the location set has a lodestone, the compass still refuses the point to the location.

Normal Lodestone Compass Item Dump
minecraft:compass[lodestone_tracker={target: {dimension: "minecraft:overworld", pos: [I; -472, 80, -63]}}]

Custom Lodestone Compass Item Dump
minecraft:compass[custom_model_data={floats: [1.0f]},lodestone_tracker={target: {dimension: "minecraft:overworld", pos: [I; -474, 80, -64]}, tracked: 0b},lore=['"2856/3600 Uses (Automatic)"'],custom_name='{"color":"light_purple","italic":true,"text":"Advanced Tracker"}',custom_data={PublicBukkitValues: {"forp:tdur": 2856, "forp:tplayer": "4e74f438-1565-43f3-9476-be918d4dec2d"}}]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant