Interface HasComponentPredicate

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

@GeyserProvided @NonExtendable public interface HasComponentPredicate extends MinecraftPredicate<ItemPredicateContext>
Since:
2.9.3
See Also:
  • Method Details

    • component

      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