//if (this.worldObj.setBlock(x, y, z, ((ItemBlock) this.inventorySlots[0].getItem()).field_150939_a, this.inventorySlots[0].getItemDamage(), 1 | 2)) {
// this.decrStackSize(0, 1);
// markDirty();
//Block block = worldObj.getBlock(x, y, z);
boolean done=false;
FakePlayer player=FakePlayerFactory.getMinecraft((WorldServer)worldObj);
Item item=inventorySlots[0].getItem();
ItemStack stack=inventorySlots[0];
if (!done)
item.onItemUseFirst(stack, player, worldObj, x, y, z, ForgeDirection.OPPOSITES[orientation], 0F, 0F, 0F);
if (!done)