Uses of Record Class
net.minecraft.advancements.critereon.CollectionPredicate
Packages that use CollectionPredicate
-
Uses of CollectionPredicate in net.minecraft.advancements.critereon
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> pTestCodec) -
Uses of CollectionPredicate in net.minecraft.core.component.predicates
Fields in net.minecraft.core.component.predicates with type parameters of type CollectionPredicateModifier and TypeFieldDescriptionprivate final Optional<CollectionPredicate<FireworkExplosion, FireworkExplosionPredicate.FireworkPredicate>> FireworksPredicate.explosionsThe field for theexplosionsrecord component.private final Optional<CollectionPredicate<ItemStack, ItemPredicate>> BundlePredicate.itemsThe field for theitemsrecord component.private final Optional<CollectionPredicate<ItemStack, ItemPredicate>> ContainerPredicate.itemsThe field for theitemsrecord component.private final Optional<CollectionPredicate<ItemAttributeModifiers.Entry, AttributeModifiersPredicate.EntryPredicate>> AttributeModifiersPredicate.modifiersThe field for themodifiersrecord component.private final Optional<CollectionPredicate<Filterable<String>, WritableBookPredicate.PagePredicate>> WritableBookPredicate.pagesThe field for thepagesrecord component.private final Optional<CollectionPredicate<Filterable<Component>, WrittenBookPredicate.PagePredicate>> WrittenBookPredicate.pagesThe field for thepagesrecord component.Methods in net.minecraft.core.component.predicates that return types with arguments of type CollectionPredicateModifier and TypeMethodDescriptionFireworksPredicate.explosions()Returns the value of theexplosionsrecord component.BundlePredicate.items()Returns the value of theitemsrecord component.ContainerPredicate.items()Returns the value of theitemsrecord component.Optional<CollectionPredicate<ItemAttributeModifiers.Entry, AttributeModifiersPredicate.EntryPredicate>> AttributeModifiersPredicate.modifiers()Returns the value of themodifiersrecord component.WritableBookPredicate.pages()Returns the value of thepagesrecord component.WrittenBookPredicate.pages()Returns the value of thepagesrecord component.Constructor parameters in net.minecraft.core.component.predicates with type arguments of type CollectionPredicateModifierConstructorDescriptionAttributeModifiersPredicate(Optional<CollectionPredicate<ItemAttributeModifiers.Entry, AttributeModifiersPredicate.EntryPredicate>> modifiers) Creates an instance of aAttributeModifiersPredicaterecord class.Creates an instance of aBundlePredicaterecord class.Creates an instance of aContainerPredicaterecord class.FireworksPredicate(Optional<CollectionPredicate<FireworkExplosion, FireworkExplosionPredicate.FireworkPredicate>> explosions, MinMaxBounds.Ints flightDuration) Creates an instance of aFireworksPredicaterecord class.WritableBookPredicate(Optional<CollectionPredicate<Filterable<String>, WritableBookPredicate.PagePredicate>> pages) Creates an instance of aWritableBookPredicaterecord class.WrittenBookPredicate(Optional<CollectionPredicate<Filterable<Component>, WrittenBookPredicate.PagePredicate>> pages, Optional<String> author, Optional<String> title, MinMaxBounds.Ints generation, Optional<Boolean> resolved) Creates an instance of aWrittenBookPredicaterecord class.