Interface HasComponentPredicate

All Superinterfaces:
GeyserProvided, MinecraftPredicate<ItemPredicateContext>, Predicate<ItemPredicateContext>

@NonExtendable public interface HasComponentPredicate extends MinecraftPredicate<ItemPredicateContext>, GeyserProvided
See Also:
  • 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