ljfa-ag / TNTUtils

More control over explosions in Minecraft
MIT License
8 stars 5 forks source link

[Request] Block Drop Chance - Per Explosion Source #5

Open ghost opened 6 years ago

ghost commented 6 years ago

It would be useful to configure the drop chance on a per explosion source basis; e.g. creeper explosion drops 10%, wither explosion drops 0%, ghast explosion drops 90%, etc. or whatever. In my case, I want to completely remove drops for all mob explosions and still have TNT drop blocks, but I figure being able to configure it by explosion source could be useful for other people and meet my desired outcome.

ljfa-ag commented 6 years ago

Yeah, per source configurations for not only drop chance but other features as well sounds like a good idea.

However it might not always be possible to find out the source of an explosion. For instance, I can't distinguish a Ghast fireball from an exploding bed in the nether, or an exploding ender crystal. I'll see if I can work around that.