Interface HasComponentPredicate
- All Superinterfaces:
MinecraftPredicate<ItemPredicateContext>,Predicate<ItemPredicateContext>
@GeyserProvided
@NonExtendable
public interface HasComponentPredicate
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
-
component
@NonNull Identifier component()- Returns:
- the identifier of the item data component to check against
- Since:
- 2.9.3
-
negated
boolean negated()- Returns:
- whether this predicate is negated
- Since:
- 2.9.3
-