Create

Create

86M Downloads

Superglue doesn't follow mobGriefing game rule

Carbon5 opened this issue ยท 4 comments

commented

When mobGriefing is set to false, superglue still gets broken by creeper explosions. Even when it is between solid blocks that remain unbroken. This leads to builds that appear fine but are actually completely unusable due to the broken glue.

commented

This isnt actualy a bug persay, as glue is an entity not a block so it can still be killed by explosions, as well as arrows and i believe anvils

commented

I'm not familiar modding Minecraft myself, and have only had a chance to glance through the code at this point. I did see a check in the SuperGlueEntity for this.isInvunerableTo though. Would there be a way to add the creeper's explosion to that check based on the game rule? It feels wrong that the glue is affected when the blocks are not.

commented

As TacoaTYT said, super glue is an entity, and entities are not immune to creeper explosions. You'd probably just be better off not exploding creepers near contraptions.

commented

Close this, because it got merged.