Compatibility
Minecraft: Java Edition
1.21.x
1.20.3–1.20.6
Platforms
75% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Creators
Details
Licensed GPL-3.0-or-later
Published 3 weeks ago
Updated 3 weeks ago
This data pack will continuously generate TNT under the players' feet.
If you encounter any problems, please click here to give feedback.
Introduction
- This data pack requires a prerequisite: datapackets-functions-LIB. When the prerequisite is not installed or loaded, the data pack will prompt for installation. (Failure to install will result in all functions of the data pack being unusable.)
- After the data pack is loaded for the first time, the player's health needs to be updated once (such as getting injured) before TNT can be generated normally.
Functions
Basic
- When the health of all players in Survival or Adventure mode is greater than or equal to 5 points, TNT will be placed under their feet.
- When the health of all players in Survival or Adventure mode is less than or equal to 4 points and greater than or equal to 1 point, a redstone block will be placed under their feet, and TNT will be placed beneath the redstone block.
- Each TNT in the player's inventory will be converted into 1 experience point.
- Provide all players with infinite night vision, glowing effects, remove the darkness effect, and enable keep inventory on death.
- Display the death list on the right side of the screen and show the blood bar in the player list.
Optimization
- Clear the fire near the player.
- Remove TNT entities that are more than 20 blocks away from the player.
- Display the real-time entity count in the player's action bar (above the hotbar).
- When the number of TNT entities within five blocks of a TNT is greater than 50, these TNT entities will be cleared.