net.minecraft.advancements.critereon

public record ItemWritableBookPredicate

implements SingleComponentItemPredicate<WritableBookContent>

cz
net.minecraft.advancements.critereon.ItemWritableBookPredicate
net.minecraft.class_9661
net.minecraft.predicate.item.WritableBookContentPredicate
net.minecraft.advancements.critereon.ItemWritableBookPredicate

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
public DataComponentType<WritableBookContent>
a()
componentType()
method_58163()
getComponentType()
public boolean
a(cxp arg0, daw arg1)
matches(ItemStack arg0, WritableBookContent arg1)
method_59688(class_1799 arg0, class_9301 arg1)
test(ItemStack arg0, WritableBookContentComponent arg1)
public Optional<CollectionPredicate<Filterable<String>, ItemWritableBookPredicate$PagePredicate>>
b()
pages()
comp_2640()
pages()