Bring Back My Spawn Immunity
At the beginning of Minecraft version 1.21.4, developers fixed an interesting feature - temporary immunity upon spawning in the world. However, many players found this mechanic useful and convenient. This mod brings back this functionality and even extends its customization options.
Now you can decide how long damage protection lasts after respawning. Instead of the standard three seconds, you can set any duration, from completely disabling it to significantly longer periods.
Everything is configured through the game rule immuneTicks, which defaults to 60 (with the standard counter of 20 ticks per second, this corresponds to three seconds of immunity). You can easily adjust this parameter to suit your preferences.