net.minecraft.advancements.critereon

public record ItemWrittenBookPredicate

implements SingleComponentItemPredicate<WrittenBookContent>

da
net.minecraft.advancements.critereon.ItemWrittenBookPredicate
net.minecraft.class_9663
net.minecraft.predicate.item.WrittenBookContentPredicate
net.minecraft.advancements.critereon.ItemWrittenBookPredicate

Field summary

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

Constructor summary

ModifierConstructor
public (Optional<CollectionPredicate<Filterable<Component>, ItemWrittenBookPredicate$PagePredicate>> arg0, Optional<String> arg1, Optional<String> arg2, MinMaxBounds$Ints arg3, Optional<Boolean> arg4)

Method summary

Modifier and TypeMethod
public DataComponentType<WrittenBookContent>
a()
componentType()
method_58163()
getComponentType()
public boolean
a(cxp arg0, dax arg1)
matches(ItemStack arg0, WrittenBookContent arg1)
method_59697(class_1799 arg0, class_9302 arg1)
test(ItemStack arg0, WrittenBookContentComponent arg1)
public Optional<CollectionPredicate<Filterable<Component>, ItemWrittenBookPredicate$PagePredicate>>
b()
pages()
comp_2642()
pages()
public Optional<String>
c()
author()
comp_2643()
author()
public Optional<String>
d()
title()
comp_2644()
title()
public MinMaxBounds$Ints
e()
generation()
comp_2645()
generation()
public Optional<Boolean>
f()
resolved()
comp_2646()
resolved()