net.minecraft.advancements.critereon

public record ItemWritableBookPredicate

implements SingleComponentItemPredicate<WritableBookContent>

cu
net.minecraft.advancements.critereon.ItemWritableBookPredicate
net.minecraft.class_9661
net.minecraft.predicate.item.WritableBookContentPredicate
net.minecraft.src.C_313734_
net.minecraft.advancements.critereon.ItemWritableBookPredicate

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
public DataComponentType<WritableBookContent>
a()
componentType()
method_58163()
getComponentType()
m_318698_()
public boolean
a(cur arg0, cxz arg1)
matches(ItemStack arg0, WritableBookContent arg1)
method_59688(class_1799 arg0, class_9301 arg1)
test(ItemStack arg0, WritableBookContentComponent arg1)
m_318913_(C_1391_ p_331059_, C_313850_ arg1)
public Optional<CollectionPredicate<Filterable<String>, ItemWritableBookPredicate$PagePredicate>>
b()
pages()
comp_2640()
pages()
f_317004_()