CreeperHeal

CreeperHeal

281k Downloads

Explosions drop items if they are connected to the max explosions radius

johnfriedrich opened this issue ยท 1 comments

commented

Lets say the explosion has a radius of 1.
--1---------2
Dirt ---- Itemframe(attached to the dirtblock)

Dirt would get removed and replaced. But the itemframe is being dropped due to not being in the explosion radius.
Is there a way to fix this? Basically canceling drop event for explosionsradius + 1 or similiar.

commented

You could listen to drop events right after the explosion in the radius of the explosion (+1), but you would have to compute the radius of the explosion. I'm not developing the plugin anymore, but if you want to do a PR, or find someone willing to do it, go for it and I'll help/review.