how can i identify the damage type in global triggers like "before entity is hurt"?

Started by no-one_ on

Topic category: Help with modding (Java Edition)

Last seen on 20:24, 13. Nov 2023
Joined Sep 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
how can i identify the damage type in global triggers like "before entity is hurt"?

is there any way to know the type of damage the entity will take? I've looked in the provided dependencies and there doesn't seem to be anything like that.