if (isOffensive || !b.isOffensive(currentStack))
{
b.executeLogic(worldObj, x, y, z, currentStack, triggerer, !preventExplode);
if (b.shouldItemBeRemoved(currentStack, !preventExplode))
{
if (b.effectStacks())
{
for (int i = 0; i < tileEntity.getSizeTriggerInventory(); i++)
{
if (tileEntity.getStackInSlot(i) != null)
{