Started by
Elpis
on
Topic category: Troubleshooting, bugs, and solutions
I made some very basic stuff, just a sword that applies a potion effect with the "when living entity is hit with tool" trigger, that part works perfectly fine when used by a player.
If I spawn a zombie and give it the same weapon the "when living entity is hit with tool" effect doesn't trigger when the zombie hits the player.
Am I doing something wrong or is this not functioning properly?
You will need to use a global trigger for that, the entity attacked event that you can select in the green block every procedure has.
Thats helpful, seems like a good work around but it still seems like the on hit part isn't working right