Uses of Record Class
net.minecraft.advancements.critereon.CollectionPredicate
-
Uses of CollectionPredicate in net.minecraft.advancements.critereon
Modifier and TypeFieldDescriptionprivate final Optional
<CollectionPredicate<FireworkExplosion, ItemFireworkExplosionPredicate.FireworkPredicate>> ItemFireworksPredicate.explosions
The field for theexplosions
record component.private final Optional
<CollectionPredicate<ItemStack, ItemPredicate>> ItemBundlePredicate.items
The field for theitems
record component.private final Optional
<CollectionPredicate<ItemStack, ItemPredicate>> ItemContainerPredicate.items
The field for theitems
record component.private final Optional
<CollectionPredicate<ItemAttributeModifiers.Entry, ItemAttributeModifiersPredicate.EntryPredicate>> ItemAttributeModifiersPredicate.modifiers
The field for themodifiers
record component.private final Optional
<CollectionPredicate<Filterable<String>, ItemWritableBookPredicate.PagePredicate>> ItemWritableBookPredicate.pages
The field for thepages
record component.private final Optional
<CollectionPredicate<Filterable<Component>, ItemWrittenBookPredicate.PagePredicate>> ItemWrittenBookPredicate.pages
The field for thepages
record component.Modifier and TypeMethodDescriptionstatic <T,
P extends Predicate<T>>
com.mojang.serialization.Codec<CollectionPredicate<T, P>> CollectionPredicate.codec
(com.mojang.serialization.Codec<P> p_340851_) ItemFireworksPredicate.explosions()
Returns the value of theexplosions
record component.ItemBundlePredicate.items()
Returns the value of theitems
record component.ItemContainerPredicate.items()
Returns the value of theitems
record component.Optional
<CollectionPredicate<ItemAttributeModifiers.Entry, ItemAttributeModifiersPredicate.EntryPredicate>> ItemAttributeModifiersPredicate.modifiers()
Returns the value of themodifiers
record component.ItemWritableBookPredicate.pages()
Returns the value of thepages
record component.ItemWrittenBookPredicate.pages()
Returns the value of thepages
record component.ModifierConstructorDescriptionItemAttributeModifiersPredicate
(Optional<CollectionPredicate<ItemAttributeModifiers.Entry, ItemAttributeModifiersPredicate.EntryPredicate>> modifiers) Creates an instance of aItemAttributeModifiersPredicate
record class.Creates an instance of aItemBundlePredicate
record class.Creates an instance of aItemContainerPredicate
record class.ItemFireworksPredicate
(Optional<CollectionPredicate<FireworkExplosion, ItemFireworkExplosionPredicate.FireworkPredicate>> explosions, MinMaxBounds.Ints flightDuration) Creates an instance of aItemFireworksPredicate
record class.ItemWritableBookPredicate
(Optional<CollectionPredicate<Filterable<String>, ItemWritableBookPredicate.PagePredicate>> pages) Creates an instance of aItemWritableBookPredicate
record class.ItemWrittenBookPredicate
(Optional<CollectionPredicate<Filterable<Component>, ItemWrittenBookPredicate.PagePredicate>> pages, Optional<String> author, Optional<String> title, MinMaxBounds.Ints generation, Optional<Boolean> resolved) Creates an instance of aItemWrittenBookPredicate
record class.