Open Acervans opened 4 years ago
I'm hesitant to solve this by simply checking if the block is a bed, because it could be a plugin-induced explosion on a bed
I'm hesitant to solve this by simply checking if the block is a bed, because it could be a plugin-induced explosion on a bed
That would be enough I think. Same issue with respawn anchors outside of the Nether
It would work, but again, it would interfere with e.g. projectiles from a plugin that has explosive projectiles whenever they hit an excluded block.
Could you detect the radius of the explosion? Because the only explosions with radius 5 are beds and respawn anchors, they could be detected and then verify the block maybe?
Beds aren't considered entities and therefore their explosions cannot be ignored.