net.minecraft.advancements.critereon

public record ItemWrittenBookPredicate

implements SingleComponentItemPredicate<WrittenBookContent>

cv
net.minecraft.advancements.critereon.ItemWrittenBookPredicate
net.minecraft.class_9663
net.minecraft.predicate.item.WrittenBookContentPredicate
net.minecraft.src.C_313433_
net.minecraft.advancements.critereon.ItemWrittenBookPredicate

Field summary

Modifier and TypeField
private final Optional<CollectionPredicate<Filterable<Component>, ItemWrittenBookPredicate$PagePredicate>>
c
pages
comp_2642
pages
f_314561_
private final Optional<String>
d
author
comp_2643
author
f_315536_
private final Optional<String>
e
title
comp_2644
title
f_314392_
private final MinMaxBounds$Ints
f
generation
comp_2645
generation
f_316125_
private final Optional<Boolean>
g
resolved
comp_2646
resolved
f_315350_
public static final com.mojang.serialization.Codec<ItemWrittenBookPredicate>
a
CODEC
field_51400
CODEC
f_314892_

Constructor summary

ModifierConstructor
public (Optional<CollectionPredicate<Filterable<Component>, ItemWrittenBookPredicate$PagePredicate>> author, Optional<String> title, Optional<String> generation, MinMaxBounds$Ints resolved, Optional<Boolean> arg4)

Method summary

Modifier and TypeMethod
public DataComponentType<WrittenBookContent>
a()
componentType()
method_58163()
getComponentType()
m_318698_()
public boolean
a(cur arg0, cya arg1)
matches(ItemStack arg0, WrittenBookContent arg1)
method_59697(class_1799 arg0, class_9302 arg1)
test(ItemStack arg0, WrittenBookContentComponent arg1)
m_318913_(C_1391_ p_336372_, C_313568_ arg1)
public Optional<CollectionPredicate<Filterable<Component>, ItemWrittenBookPredicate$PagePredicate>>
b()
pages()
comp_2642()
pages()
f_314561_()
public Optional<String>
c()
author()
comp_2643()
author()
f_315536_()
public Optional<String>
d()
title()
comp_2644()
title()
f_314392_()
public MinMaxBounds$Ints
e()
generation()
comp_2645()
generation()
f_316125_()
public Optional<Boolean>
f()
resolved()
comp_2646()
resolved()
f_315350_()