How Do I Make Something Damage The User?

Started by Doorknob on Tue, 05/12/2020 - 17:49

Topic category: Help with modding (Java Edition)

Last seen on 21:36, 18. May 2020
Joined Feb 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How Do I Make Something Damage The User?
Tue, 05/12/2020 - 17:49

I'm trying to make something that damages the user once it is used. I noticed there is "deal x damage to provided entity" but there isn't anything like that for player procedures, like "deal x damage to user/player". Is there a workaround for this, or is it really there under a different name? Any and all help is appreciated.

Last seen on 21:36, 16. Jun 2021
Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
The player is technically an…
Tue, 05/12/2020 - 19:06

The player is technically an entity, so just use that.