[Bug] Nuclear bomb (explosion) from Alex's Caves breaks lootr barrels and minecarts with chests.
kitovoi111 opened this issue ยท 3 comments
Nuclear bomb (explosion) from Alex's Caves breaks lootr barrels and minecarts with chests.
Version: Forge 1.19.2 & Forge 1.20.1
So, the nuclear explosion breaking barrels looks to be an issue with Alex's Caves, they aren't checking blast resistance, it looks like they're just applying a carver.
I'll dig deeper into the Minecarts with chests, because they should be immune to the damage, unless it's classified as "bypasses_immune"...
EDIT: For Lootr blocks, you'll need to adjust the relevant tag:
private boolean isDestroyable(BlockState state) {
return (!state.is(ACTagRegistry.NUKE_PROOF) && state.getBlock().getExplosionResistance() < AlexsCaves.COMMON_CONFIG.nukeMaxBlockExplosionResistance.get()) || state.is(ACBlockRegistry.TREMORZILLA_EGG.get());
}
This tag appears to be alexscaves:nuke_proof
.
Okay, I'm not sure how the nukes are bypassing the invulnerability, I'm assuming they must just be discarding minecarts.