If you encounter any issues, please click here to report
Introduction
This datapack continuously generates TNT beneath players' feet
After the datapack is first loaded, players need to have their health updated once (such as taking damage) for TNT generation to work properly
Features
Basic
Places TNT beneath all survival and adventure mode players when their health is greater than or equal to 5 points (!Heart_2!Heart_2!Heart_1)
When all survival and adventure mode players have health less than or equal to 4 points (!Heart_2!Heart_2) but greater than or equal to 1 point (!Heart_1), places a redstone block beneath them and TNT below the redstone block (we call this "finishing blow")
Converts each TNT in players' inventory to 1 experience point
Provides all players with infinite night vision and glowing effects, removes darkness effect, and enables keep inventory on death
Displays death leaderboard on the right side of the screen and health bars in the player list
Optimization
Clears fire near players
Clears TNT entities more than 20 blocks away from players
Clears TNT entities when there are more than 200 TNT entities within 5 blocks of any TNT