Interface CustomModelDataPredicate.FlagPredicate

All Superinterfaces:
GeyserProvided, MinecraftPredicate<ItemPredicateContext>, Predicate<ItemPredicateContext>
Enclosing interface:
CustomModelDataPredicate

@NonExtendable public static interface CustomModelDataPredicate.FlagPredicate extends MinecraftPredicate<ItemPredicateContext>, GeyserProvided
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    @org.checkerframework.checker.index.qual.NonNegative int
     
    boolean
     

    Methods inherited from interface org.geysermc.geyser.api.predicate.MinecraftPredicate

    and, negate, or

    Methods inherited from interface java.util.function.Predicate

    test
  • Method Details

    • index

      @org.checkerframework.checker.index.qual.NonNegative int index()
      Returns:
      the index to check the value of a flag on
    • negated

      boolean negated()
      Returns:
      whether this predicate is negated. When negated, will return true for both false flags and missing flags