Record Class DataComponentPredicate.WritableBook

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

public static record DataComponentPredicate.WritableBook(@Nullable CollectionPredicate<FilteredText<String>, DataComponentPredicate.WritableBook.PagePredicate> pages) extends Record implements DataComponentPredicate.Registered
Tests the content of pages in the DataComponents.WRITABLE_BOOK_CONTENT component.
See Also: