Record Class DataComponentPredicate.Container

java.lang.Object
java.lang.Record
net.minestom.server.instance.block.predicate.DataComponentPredicate.Container
Record Components:
items - Predicates to match against the object's items
All Implemented Interfaces:
Predicate<DataComponent.Holder>, DataComponentPredicate, DataComponentPredicate.Registered
Enclosing interface:
DataComponentPredicate

public static record DataComponentPredicate.Container(@Nullable CollectionPredicate<ItemStack, ItemPredicate> items) extends Record implements DataComponentPredicate.Registered
Tests the items in the DataComponents.CONTAINER component.
See Also: