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

@ -3,8 +3,8 @@ package game.pattern;
import java.util.Map;
import java.util.Map.Entry;
import com.google.common.base.Predicate;
import com.google.common.collect.Maps;
import java.util.function.Predicate;
import game.collect.Maps;
import game.block.Block;
import game.properties.IProperty;
@ -25,7 +25,7 @@ public class BlockStateHelper implements Predicate<State>
return new BlockStateHelper(blockIn);
}
public boolean apply(State p_apply_1_)
public boolean test(State p_apply_1_)
{
if (p_apply_1_ != null && p_apply_1_.getBlock().equals(this.block))
{
@ -33,7 +33,7 @@ public class BlockStateHelper implements Predicate<State>
{
Object object = p_apply_1_.getValue((IProperty)entry.getKey());
if (!((Predicate)entry.getValue()).apply(object))
if (!((Predicate)entry.getValue()).test(object))
{
return false;
}