use latest Netty and Guava
This commit is contained in:
parent
7f32e87ef4
commit
3af1b1f5b6
463 changed files with 611 additions and 68249 deletions
|
@ -1,7 +1,7 @@
|
|||
package game.entity.npc;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.function.Predicate;
|
||||
import com.google.common.base.Predicate;
|
||||
|
||||
import game.ai.EntityAIMoveThroughVillage;
|
||||
import game.entity.DamageSource;
|
||||
|
@ -211,7 +211,7 @@ public class EntityZombie extends EntityNPC
|
|||
if ((double)this.worldObj.rand.floatv() < 0.05D)
|
||||
{
|
||||
List<EntityChicken> list = this.worldObj.<EntityChicken>getEntitiesWithinAABB(EntityChicken.class, this.getEntityBoundingBox().expand(5.0D, 3.0D, 5.0D), new Predicate<EntityChicken>() {
|
||||
public boolean test(EntityChicken entity) {
|
||||
public boolean apply(EntityChicken entity) {
|
||||
return entity.isEntityAlive() && entity.passenger == null && entity.vehicle == null;
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue