}
else if (par5ItemStack.getItem() == Items.ender_pearl)
{
if (triggerer instanceof EntityLivingBase)
{
entity = new EntityEnderPearl(par1World, (EntityLivingBase) triggerer);
((EntityEnderPearl) entity).setPosition(par2, par3, par4);
}
else
{
entity = new EntityEnderPearl(par1World, par2, par3, par4);
}
}
if (entity == null)
{