remove Windows support, revert new guava to small version

This commit is contained in:
Sen 2025-03-25 11:31:48 +01:00
parent fd84384f10
commit 920405d8c5
264 changed files with 22715 additions and 377 deletions

View file

@ -2,7 +2,7 @@ package game.entity.npc;
import java.util.List;
import com.google.common.base.Predicate;
import java.util.function.Predicate;
import game.ai.EntityAIMoveThroughVillage;
import game.entity.DamageSource;
@ -212,7 +212,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 apply(EntityChicken entity) {
public boolean test(EntityChicken entity) {
return entity.isEntityAlive() && entity.passenger == null && entity.vehicle == null;
}
});