Target point by compass

Hello, i want to change the point of direction of the compass… how can i do this???
plz…

Wiki says:

The compass needle points towards the world spawn point. The compass will point to spawn when viewed in any way, including as a dropped item, in a player’s hand, in an inventory or the crafting table, or in an item frame. The direction the needle points is relative to the player who is viewing it.

So you will have to set the spawnpoint to something different I think

i’m not sure, i think it’s possible to be modified manualy… but i can try if there is any other way

No. It should be possible to change a compass’s direction.

“Sent by the server after login to specify the coordinates of the spawn point (the point at which players spawn at, and which the compass points to). It can be sent at any time to update the point compasses point at.” (http://wiki.vg/Protocol#Spawn_Position)

So it should be possible to send the packet without actually editing the spawn point server side.

I didn’t say anything about where to change the spawn point, I only said that it is possible to point the compass somewhere else

It should be possible with Keys.TARGETED_LOCATION once it is implemented.

1 Like