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
Methods inherited from interface org.geysermc.geyser.api.predicate.MinecraftPredicate
and, negate, or
-
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
-