Interface CustomModelDataPredicate.FlagPredicate

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

@GeyserProvided @NonExtendable public static interface CustomModelDataPredicate.FlagPredicate extends MinecraftPredicate<ItemPredicateContext>
Since:
2.9.3
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
      Since:
      2.9.3
    • negated

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