use latest Netty and Guava

This commit is contained in:
Sen 2025-03-16 17:40:47 +01:00
parent 7f32e87ef4
commit 3af1b1f5b6
463 changed files with 611 additions and 68249 deletions

View file

@ -2,10 +2,11 @@ package game.world;
import java.util.Iterator;
import java.util.Map;
import java.util.function.Predicate;
import com.google.common.base.Predicate;
import com.google.common.collect.Iterators;
import com.google.common.collect.Maps;
import game.collect.Iterators;
import game.collect.Maps;
import game.properties.IStringSerializable;
import game.rng.Random;
import game.util.ExtMath;
@ -410,7 +411,7 @@ public enum Facing implements IStringSerializable
return this.name;
}
public boolean test(Facing p_apply_1_)
public boolean apply(Facing p_apply_1_)
{
return p_apply_1_ != null && p_apply_1_.getAxis() == this;
}
@ -480,7 +481,7 @@ public enum Facing implements IStringSerializable
return aenumfacing[rand.zrange(aenumfacing.length)];
}
public boolean test(Facing p_apply_1_)
public boolean apply(Facing p_apply_1_)
{
return p_apply_1_ != null && p_apply_1_.getAxis().getPlane() == this;
}