Interface CustomModelDataPredicate.StringPredicate
- All Superinterfaces:
MinecraftPredicate<ItemPredicateContext>,Predicate<ItemPredicateContext>
- Enclosing interface:
CustomModelDataPredicate
@GeyserProvided
@NonExtendable
public static interface CustomModelDataPredicate.StringPredicate
extends MinecraftPredicate<ItemPredicateContext>
- Since:
- 2.9.3
- See Also:
-
Method Summary
Methods inherited from interface org.geysermc.geyser.api.predicate.MinecraftPredicate
and, negate, or
-
Method Details
-
string
@Nullable String string()- Returns:
- the string to compare against. Can be null to check for a missing string
- Since:
- 2.9.3
-
index
@org.checkerframework.checker.index.qual.NonNegative int index()- Returns:
- the index of the string to match the
string()against - Since:
- 2.9.3
-
negated
boolean negated()- Returns:
- whether this predicate is negated
- Since:
- 2.9.3
-