Item item = inventory[0].getItem();
if(item == Item.getItemFromBlock(Blocks.tnt)) {
EntityTNTPrimed tnt = new EntityTNTPrimed(worldObj);
tnt.fuse = 80;
return tnt;
} else if(item == Items.experience_bottle) return new EntityExpBottle(worldObj);
else if(item == Items.potionitem) {
EntityPotion potion = new EntityPotion(worldObj);
potion.setPotionDamage(inventory[0].getItemDamage());
return potion;
} else if(item == Items.arrow) return new EntityArrow(worldObj);