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

Started by no-one_ on

Topic category: Help with Minecraft modding (Java Edition)

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.