It's annoying when you have like, 100 levels that you've just been farming for for ages, and then you lose it to something stupid like a piglin brute. Especially considering you only drop like, just over 7 levels of EXP max? It'd be neat if you could add another gamerule; something like 'expDroppedOnDeathPercentage', so you could configure how much exp you drop, as a percentage.
Also, the deathItemsInvulnerable rule should be separated into two different rules - 'deathItemsInvulnerable', and 'deathItemsSurviveVoid', which makes items TP to the nearest block with air above it.
It's annoying when you have like, 100 levels that you've just been farming for for ages, and then you lose it to something stupid like a piglin brute. Especially considering you only drop like, just over 7 levels of EXP max? It'd be neat if you could add another gamerule; something like 'expDroppedOnDeathPercentage', so you could configure how much exp you drop, as a percentage. Also, the deathItemsInvulnerable rule should be separated into two different rules - 'deathItemsInvulnerable', and 'deathItemsSurviveVoid', which makes items TP to the nearest block with air above it.