Data Packs Simple

Explosions Drop All Blocks!

  • 8.4k views 0 today
  • save_alt 861 downloads
Compatibility
Minecraft 1.17
Changes include
  • Functions
  • Loot Tables
  • 35
  • 25
  • 18
Bertiecrafter
Retired Moderator
Lvl 72Legendary System
828

After installing this data pack, explosions (of any kind) will drop all blocks!

  • All blocks are dropped as if they're mined without silk touch. (E.g. Leaves and glass disappear, stone will turn to cobble stone)
  • Supports any explosion.
  • Replaces all loot tables, which preserves natural explosion shape and compatibility with explosions of all kinds. Does not work with any data packs that also alter the loot tables of blocks.
Thank you Orchidette for the idea!

More like this

  Have something to say?

Bertiecrafter
12/16/2022 4:34 pm
Level 72 : Legendary System
GOOD NEWS!

In 1.19.3 you now have simple commands to change gamerules to achieve the same thing, making this data pack obsolete:
/gamerule blockExplosionDropDecay true
/gamerule mobExplosionDropDecay true
/gamerule tntExplosionDropDecay true
2
Tinquinoxe
10/29/2022 5:12 am
Level 25 : Expert Mountaineer
my god thank you so much, you saved hours of my creeper-related frustration
2
memerminecraft
09/15/2022 1:51 pm
Level 56 : Grandmaster Miner
Would there be a way for me to do this with a specific explosion?
1
Bertiecrafter
09/16/2022 1:54 pm
Level 72 : Legendary System
Not sure... The loot tables do support damage_source_properties predicate, but I'm not sure what the source would be for explosions. For TNT, is it the TNT entity or the player? And for fireballs, would it be the fireball entity or a ghast? Also, I don't think there is a global way to make this happen, I wrote some code to parse, modify and save all loot tables.
1
memerminecraft
09/15/2022 1:52 pm
Level 56 : Grandmaster Miner
Basically only explosions generated from [​x] tagged entity will drop every block
1
Meowphedrone
04/21/2022 10:23 am
Level 5 : Apprentice Miner
cool! but shulkers does not drop. Inside of datapack i found some loot tables for blocks which is not supposed to drop after any explosion, even with datapack, like glass (except tinted), bee nests or cakes. So you can just delete them
1
Hepixar
01/30/2022 5:07 am
Level 1 : New Miner
don't work ):
1
Bertiecrafter
02/01/2022 1:17 am
Level 72 : Legendary System
Make sure you're on the right version (1.17) and don't have any other data packs with loot tables.
1
_TheSwagUnicorn_
12/22/2021 11:46 pm
Level 33 : Artisan Miner Crafter
Shulker boxes seem to be broken, they just disappear...
1
Troncoo
06/23/2021 1:27 pm
Level 13 : Journeyman Miner
works on 1.16.5?
1

Welcome