Topic category: Help with modding (Java Edition)
Hi everyone, I am making bleeding effect, it will damage 1 hp every 5 sec and wont damage player if they have 1 hp. The screen will shake every time it deals 1 damage to the player
But when i tested it, it didnt work properly
It shakes rapidly, only stop when I have 1 hp.
Here is the codes and the test video.
How to make it only shake when it deals damage to the player? Or better, not shaking when effect affect player?