'Minecraft Forge How to stop living entities from taking invulnerability for .5 seconds after getting hit from projectile 1.18.2
I was just wondering how to get rid of the .5 second invulnerability every living mob has after getting hit with a custom projectile. I've tried entityarrow.hurtResistantTime = 0; but I keep getting a unknown symbol error. Is there an import I'm missing, or did it change with forge versions?
Kinda just a 1.18.2 version of this. MineCraft Forge How to stop mobs from being invulnerable after hit (Java) 1.10.2 Thank you!
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
