package co.phoenixlab.common.localization;

import java.util.Objects;
import java.util.function.Predicate;

@FunctionalInterface
public interface LocalizerPluralRule extends Predicate<Number> {

    default LocalizerPluralRule and(LocalizerPluralRule other) {
        Objects.requireNonNull(other);
        return (t) -> test(t) && other.test(t);
    }

    static LocalizerPluralRule TRUE() {
        return number -> true;
    }
}

@@ -347,16 +347,96 @@
 %0A    %7D%0A%0A
+    default LocalizerPluralRule negate() %7B%0A        return t -%3E !test(t);%0A    %7D%0A%0A
     stat

Add negation