Interface HasComponentPredicate
- All Superinterfaces:
GeyserProvided,MinecraftPredicate<ItemPredicateContext>,Predicate<ItemPredicateContext>
@NonExtendable
public interface HasComponentPredicate
extends MinecraftPredicate<ItemPredicateContext>, GeyserProvided
- See Also:
-
Method Summary
Methods inherited from interface org.geysermc.geyser.api.predicate.MinecraftPredicate
and, negate, or
-
Method Details
-
component
@NonNull Identifier component()- Returns:
- the identifier of the item data component to check against
-
negated
boolean negated()- Returns:
- whether this predicate is negated
-