This applies to explosion_power in both entities, as well as explosion_speed_factor in TNT Minecarts.
The default value for explosion_power is 4.0f for both entities, and the default value for explosion_speed_factor in TNT Minecart entities is 1.0f
Steps to Reproduce
Open a world and stand on the ground
Summon or place a
tnt_minecartRun these commands:
/data get entity @n[type=tnt_minecart] explosion_power /data get entity @n[type=tnt_minecart] explosion_speed_factor/data get entity @n[type=tnt_minecart] explosion_power /data get entity @n[type=tnt_minecart] explosion_speed_factorand observe that neither find any values.
Modify them with any of these commands:
/data modify @n[type=tnt_minecart] explosion_power set value 10f /data modify @n[type=tnt_minecart] explosion_speed_factor set value 10f/data modify @n[type=tnt_minecart] explosion_power set value 10f /data modify @n[type=tnt_minecart] explosion_speed_factor set value 10f
Run the same commands from step 3 and see that the values are saved.
Run the same commands from step 4 but change the values to each field's respective default values.
Run the same commands from step 3 and see that the values are not saved.
You can do the same with a TNT entity and its explosion_power field, but it's easiest to test with a TNT Minecart.
Expected Result
The values are saved, regardless of whether they are the default values so that they are consistent with other types of values and so that the default values can be stored without additional logic for handling the default values.
Thank you for your report!
After consideration, the issue is being closed as Working as Intended.
Please note, that mechanics of the game may change between updates.
Things such as graphics, sounds, world creation, biomes, redstone, villagers, and animals may not work the same in current versions.
Full Version History – Snapshot Version History – The official Minecraft feedback site
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki