I need help with the direction blocks

Started by Bendoo on

Topic category: Help with modding (Java Edition)

Last seen on 10:36, 15. Oct 2023
Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I need help with the direction blocks

I am trying to make an item that when you use it, explodes in the opposite direction of where the player is looking. However, I cannot find a solution to how this would be possible. Is there a way to do this?

Last seen on 15:11, 18. Apr 2024
Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
If player direction N then…
Fri, 10/29/2021 - 13:55

If player direction N then explode at positive Z and so on

Just check each direction if X and Z are positive or negaitve and pply your DO block respectively

Last seen on 10:36, 15. Oct 2023
Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
thank you!
Sat, 10/30/2021 - 03:41

thank you!