Check the player's direction

Started by maxitime on Sat, 07/16/2022 - 08:57

Topic category: Help with modding (Java Edition)

Last seen on 04:35, 7. Aug 2022
Joined May 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Check the player's direction
Sat, 07/16/2022 - 08:57

I'm making a mod that when you right click an item, it removes a large area of blocks, the problem is that it only works in a specific direction (south) i want to check if the player is facing north, east, west or south so that it removes the area of blocks based on the direction the player is facing

Last seen on 04:18, 23. Jul 2022
Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
I have been having a similar…
Sat, 07/23/2022 - 00:27

I have been having a similar problem, but with a wand that shoots shulker orbs. I have been searching for a solution for hours, but I have found nothing. I have tried using the xyz offset direction blocks, but they do not work well and make things go in the opposite direction. This means that there is a way to detect the players direction, but it somehow needs to be reversed. I'll add more if I find anything else.

Last seen on 04:18, 23. Jul 2022
Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Put everything inside of a…
Sat, 07/23/2022 - 00:56

Put everything inside of a for each direction as direct integer do block.Β 

Last seen on 04:35, 7. Aug 2022
Joined May 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
can you send me a screenshot…
Sun, 07/24/2022 - 21:22

can you send me a screenshot? i'm still confused