CreeperHeal icon indicating copy to clipboard operation
CreeperHeal copied to clipboard

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

Open johnfriedrich opened this issue 7 years ago • 1 comments

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.

johnfriedrich avatar Dec 24 '17 02:12 johnfriedrich

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.

nitnelave avatar Jan 03 '18 09:01 nitnelave