Bonjour, j’aimerais give une boussole avec pour nom “SimonBHB” et qu’elle indique une autre position que le Spawn, mais la boussole n’a jamais le bon nom:
Google trad:
Hello, I would like to give a compass with the name “SimonBHB” and indicates a position other than the Spawn, but the compass never has the good name:
J’ai mit spongeforge-1.8.9-1808-4.1.0-BETA-1303 et problème résolu merci!!! Par contre ça marche pas pour TARGETED_LOCATION ça indique toujours le spawn
Google trad:
I began spongeforge-1.8.9-1808-4.1.0-BETA-1303 and problem solved thank you !!! By cons it does not work for TARGETED_LOCATION it always shows the spawn
Keys.TARGETED_LOCATION isn’t actually applicable for a compass.
Due to the way minecraft works internally, the target location is a property on the player (not compass).
So instead, you’ll have to offer the data to a player object instead.
i.e. player.offer(Keys.TARGETED_LOCATION, vector3d)