Uses of Record Class
net.minecraft.advancements.critereon.CollectionPredicate
Packages that use CollectionPredicate
-
Uses of CollectionPredicate in net.minecraft.advancements.critereon
Fields in net.minecraft.advancements.critereon with type parameters of type CollectionPredicateModifier and TypeFieldDescriptionprivate final Optional<CollectionPredicate<FireworkExplosion, ItemFireworkExplosionPredicate.FireworkPredicate>> ItemFireworksPredicate.explosionsThe field for theexplosionsrecord component.private final Optional<CollectionPredicate<ItemStack, ItemPredicate>> ItemBundlePredicate.itemsThe field for theitemsrecord component.private final Optional<CollectionPredicate<ItemStack, ItemPredicate>> ItemContainerPredicate.itemsThe field for theitemsrecord component.private final Optional<CollectionPredicate<ItemAttributeModifiers.Entry, ItemAttributeModifiersPredicate.EntryPredicate>> ItemAttributeModifiersPredicate.modifiersThe field for themodifiersrecord component.private final Optional<CollectionPredicate<Filterable<String>, ItemWritableBookPredicate.PagePredicate>> ItemWritableBookPredicate.pagesThe field for thepagesrecord component.private final Optional<CollectionPredicate<Filterable<Component>, ItemWrittenBookPredicate.PagePredicate>> ItemWrittenBookPredicate.pagesThe field for thepagesrecord component.Methods in net.minecraft.advancements.critereon that return types with arguments of type CollectionPredicateModifier 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 theexplosionsrecord component.ItemBundlePredicate.items()Returns the value of theitemsrecord component.ItemContainerPredicate.items()Returns the value of theitemsrecord component.Optional<CollectionPredicate<ItemAttributeModifiers.Entry, ItemAttributeModifiersPredicate.EntryPredicate>> ItemAttributeModifiersPredicate.modifiers()Returns the value of themodifiersrecord component.ItemWritableBookPredicate.pages()Returns the value of thepagesrecord component.ItemWrittenBookPredicate.pages()Returns the value of thepagesrecord component.Constructor parameters in net.minecraft.advancements.critereon with type arguments of type CollectionPredicateModifierConstructorDescriptionItemAttributeModifiersPredicate(Optional<CollectionPredicate<ItemAttributeModifiers.Entry, ItemAttributeModifiersPredicate.EntryPredicate>> modifiers) Creates an instance of aItemAttributeModifiersPredicaterecord class.Creates an instance of aItemBundlePredicaterecord class.Creates an instance of aItemContainerPredicaterecord class.ItemFireworksPredicate(Optional<CollectionPredicate<FireworkExplosion, ItemFireworkExplosionPredicate.FireworkPredicate>> explosions, MinMaxBounds.Ints flightDuration) Creates an instance of aItemFireworksPredicaterecord class.ItemWritableBookPredicate(Optional<CollectionPredicate<Filterable<String>, ItemWritableBookPredicate.PagePredicate>> pages) Creates an instance of aItemWritableBookPredicaterecord 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 aItemWrittenBookPredicaterecord class.