CivClassic / Citadel

A Minecraft plugin to protect your chests and builds using in-game materials. Requires an attacker to break each block a certain number of times. Built for Paper 1.16.5
BSD 3-Clause "New" or "Revised" License
1 stars 21 forks source link

TNT damage penetrates through reinforcements #33

Open Maxopoly opened 4 years ago

Maxopoly commented 4 years ago

The explosive damage is true for all blocks with low blast resistance, such as with gravel and sand which have a blast resistance of 0.6 and 0.5 respectively. Seemingly any block below a blast resistance of 6 will not fully absorb an explosion, thus allowing the blocks behind it to be damaged too, thus when the reinforced blocks are removed from the damage list, the blocks behind them remain and get removed. One possible solution for this would be to, while a block is reinforced, increase that block's blast resistance to that of End Stone (9).

I think ideally we'd be doing entirely custom tracing for explosion damage detection to allow dealing more damage to nearby blocks with TNT. Possibly also allow damaging reinforcements of blocks that cant be broken by TNT. That's just a nice to have though and until then I'd just call the current behavior a feature. Any block that'd get destroyed by the explosion in vanilla will have its reinforcement damaged