(EntityLivingBase p_apply_1_)
| 442 | List<EntityLivingBase> list = this.getEntitiesWithinAABB(EntityLivingBase.class, axisalignedbb, new Predicate<EntityLivingBase>() |
| 443 | { |
| 444 | public boolean apply(EntityLivingBase p_apply_1_) |
| 445 | { |
| 446 | return p_apply_1_ != null && p_apply_1_.isEntityAlive() && WorldServer.this.canSeeSky(p_apply_1_.getPosition()); |
| 447 | } |
| 448 | }); |
| 449 | return !list.isEmpty() ? list.get(this.rand.nextInt(list.size())).getPosition() : blockpos; |
| 450 | } |
nothing calls this directly
no test coverage detected