How do I spawn something at my mouse coordinates?

Started by bigstupididiot on

Topic category: Help with modding (Java Edition)

Last seen on 16:31, 9. Apr 2023
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?