Make a Compass

Started by Modi_Play on

Topic category: Advanced modding

Active 1 year ago
Joined Apr 2023
Points:
190

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 14
Make a Compass

How do I make a compass for my mod

Active 1 year ago
Joined Feb 2022
Points:
549

User statistics:

  • Modifications: 0
  • Forum topics: 24
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 23
if you are just trying to…
Wed, 07/05/2023 - 02:33

if you are just trying to make it point north, then just take the player's entity rotation, and change the sprite accordingly, for example, if the player is looking to the south, have the compass point behind the player.

so you would need to make sprites for every state the compass could be in.