I need help with the direction blocks

Started by Bendoo on

Topic category: Help with Minecraft modding (Java Edition)

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?

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

Joined Jul 2020
Points:

User statistics:

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

thank you!