{
ItemStack checkStack = inventory.getStackInSlot(i);
if (checkStack != null)
{
EventStabilize evt = new EventStabilize(world, position.intX(), position.intY(), position.intZ(), checkStack);
MinecraftForge.EVENT_BUS.post(evt);
if (!evt.isCanceled())
{
if (checkStack.getItem() instanceof ItemBlock)
{
if (blockInfo == null || (blockInfo[0] == ((ItemBlock) checkStack.getItem()).getBlockID() && (blockInfo[1] == checkStack.getItemDamage() || projector.getModuleCount(ModularForceFieldSystem.itemModuleApproximation) > 0)) || (projector.getModuleCount(ModularForceFieldSystem.itemModuleApproximation) > 0 && this.isApproximationEqual(blockInfo[0], checkStack)))
{