Minecraft Data Packs / Simple

Explosions Drop All Blocks!

  • check_circle Functions
  • check_circle Loot Tables
  • 5,796 views, 4 today
  • 692 downloads, 1 today
  • 34
  • 24
  • 18
Bertiecrafter's Avatar Bertiecrafter
Retired Moderator
Level 70 : Legendary Engineer
775

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!
CompatibilityMinecraft 1.17
Tags

Create an account or sign in to comment.

2
12/16/2022 4:34 pm
Level 70 : Legendary Engineer
Bertiecrafter
Bertiecrafter's Avatar
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
10/29/2022 5:12 am
Level 21 : Expert Mountaineer
Tinquinoxe
Tinquinoxe's Avatar
my god thank you so much, you saved hours of my creeper-related frustration
1
09/15/2022 1:51 pm
Level 54 : Grandmaster Miner
memerminecraft
memerminecraft's Avatar
Would there be a way for me to do this with a specific explosion?
1
09/16/2022 1:54 pm
Level 70 : Legendary Engineer
Bertiecrafter
Bertiecrafter's Avatar
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
09/15/2022 1:52 pm
Level 54 : Grandmaster Miner
memerminecraft
memerminecraft's Avatar
Basically only explosions generated from [​x] tagged entity will drop every block
1
04/21/2022 10:23 am
Level 4 : Apprentice Miner
Meowphedrone
Meowphedrone's Avatar
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
01/30/2022 5:07 am
Level 1 : New Miner
Hepixar
Hepixar's Avatar
don't work ):
1
02/01/2022 1:17 am
Level 70 : Legendary Engineer
Bertiecrafter
Bertiecrafter's Avatar
Make sure you're on the right version (1.17) and don't have any other data packs with loot tables.
1
12/22/2021 11:46 pm
Level 30 : Artisan Miner
_TheSwagUnicorn_
_TheSwagUnicorn_'s Avatar
Shulker boxes seem to be broken, they just disappear...
1
06/23/2021 1:27 pm
Level 9 : Apprentice Miner
Troncoo
Troncoo's Avatar
works on 1.16.5?
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome