net.minecraft.advancements.critereon

public record ItemWrittenBookPredicate

implements SingleComponentItemPredicate<WrittenBookContent>

db
net.minecraft.advancements.critereon.ItemWrittenBookPredicate
net.minecraft.class_9663
net.minecraft.unmapped.C_danoazdr
net.minecraft.predicate.item.WrittenBookContentPredicate
net.minecraft.unmapped.C_danoazdr
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
f_mmjlmydz
pages
pages
f_314561_
private final Optional<String>
d
author
comp_2643
f_ypfvwjox
author
author
f_315536_
private final Optional<String>
e
title
comp_2644
f_orgozfbi
title
title
f_314392_
private final MinMaxBounds$Ints
f
generation
comp_2645
f_hggdzard
generation
generation
f_316125_
private final Optional<Boolean>
g
resolved
comp_2646
f_sutpxmpd
resolved
resolved
f_315350_
public static final com.mojang.serialization.Codec<ItemWrittenBookPredicate>
a
CODEC
field_51400
f_nzxbqqrs
CODEC
CODEC
f_314892_

Constructor summary

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

Method summary

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