Why isn't my code working?

Started by Pulse-TSG on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jun 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Why isn't my code working?

I'm currently using a string of code that an entity shoots an arrow at a player if the entity is hurt.

Shoot (arrow code) from x:x y:y z:z with direction (get X spawn coordinate of (Get nearest entity at xyz of type Player)) and repeated for the rest, but it doesn't work. Thanks in advance