if(this.m_villager.e(this.m_friend) > 4)
this.getRemoteEntity().move((LivingEntity)this.m_friend.getBukkitEntity(), (this.m_speed == -1 ? this.getRemoteEntity().getSpeed() : this.m_speed));
}
else if(this.getNavigation().g())
{
Vec3D vec = RandomPositionGenerator.a(this.m_villager, 16, 3);
if(vec == null)
return true;
this.getRemoteEntity().move(new Location(this.getRemoteEntity().getBukkitEntity().getWorld(), vec.c, vec.d, vec.e), (this.m_speed == -1 ? this.getRemoteEntity().getSpeed() : this.m_speed));