net.minecraft.core.component.predicates

public record WritableBookPredicate

implements SingleComponentItemPredicate<WritableBookContent>

la
net.minecraft.core.component.predicates.WritableBookPredicate
net.minecraft.class_9661
net.minecraft.predicate.item.WritableBookContentPredicate

Field summary

Modifier and TypeField
private final Optional<CollectionPredicate<Filterable<String>, WritableBookPredicate$PagePredicate>>
c
pages
comp_2640
pages
public static final com.mojang.serialization.Codec<WritableBookPredicate>
a
CODEC
field_51395
CODEC

Constructor summary

ModifierConstructor
public (Optional<CollectionPredicate<Filterable<String>, WritableBookPredicate$PagePredicate>> arg0)

Method summary

Modifier and TypeMethod
public DataComponentType<WritableBookContent>
a()
componentType()
method_58163()
getComponentType()
public boolean
a(dcb arg0)
matches(WritableBookContent arg0)
method_59688(class_9301 arg0)
test(WritableBookContentComponent arg0)
public Optional<CollectionPredicate<Filterable<String>, WritableBookPredicate$PagePredicate>>
b()
pages()
comp_2640()
pages()