How do I spawn something at my mouse coordinates?

Started by bigstupididiot on

Topic category: Help with Minecraft modding (Java Edition)

Joined Sep 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do I spawn something at my mouse coordinates?

I'm creating something that would work well if it could detect my mouse coordinates.

Also, how would I make a player invincible unless someone else has a certain effect?