Started by
KeizuMoon
on
Topic category: Help with Minecraft modding (Java Edition)
when living entity is hit with tool
event did not provide amount of damage, how then i can get it?
Topic category: Help with Minecraft modding (Java Edition)
when living entity is hit with tool
event did not provide amount of damage, how then i can get it?
You can use the 'before entity is hurt' global trigger, which includes the amount of damage as a dependency. (And optionally the source entity.)