How Do I Make Something Damage The User?

Started by Doorknob on

Topic category: Help with Minecraft modding (Java Edition)

Joined Feb 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How Do I Make Something Damage The User?

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.

Joined Mar 2020
Points:

User statistics:

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

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