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> p_340851_) -
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.explosions
The field for theexplosions
record component.private final Optional
<CollectionPredicate<ItemStack, ItemPredicate>> BundlePredicate.items
The field for theitems
record component.private final Optional
<CollectionPredicate<ItemStack, ItemPredicate>> ContainerPredicate.items
The field for theitems
record component.private final Optional
<CollectionPredicate<ItemAttributeModifiers.Entry, AttributeModifiersPredicate.EntryPredicate>> AttributeModifiersPredicate.modifiers
The field for themodifiers
record component.private final Optional
<CollectionPredicate<Filterable<String>, WritableBookPredicate.PagePredicate>> WritableBookPredicate.pages
The field for thepages
record component.private final Optional
<CollectionPredicate<Filterable<Component>, WrittenBookPredicate.PagePredicate>> WrittenBookPredicate.pages
The field for thepages
record component.Methods in net.minecraft.core.component.predicates that return types with arguments of type CollectionPredicateModifier and TypeMethodDescriptionFireworksPredicate.explosions()
Returns the value of theexplosions
record component.BundlePredicate.items()
Returns the value of theitems
record component.ContainerPredicate.items()
Returns the value of theitems
record component.Optional
<CollectionPredicate<ItemAttributeModifiers.Entry, AttributeModifiersPredicate.EntryPredicate>> AttributeModifiersPredicate.modifiers()
Returns the value of themodifiers
record component.WritableBookPredicate.pages()
Returns the value of thepages
record component.WrittenBookPredicate.pages()
Returns the value of thepages
record 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 aAttributeModifiersPredicate
record class.Creates an instance of aBundlePredicate
record class.Creates an instance of aContainerPredicate
record class.FireworksPredicate
(Optional<CollectionPredicate<FireworkExplosion, FireworkExplosionPredicate.FireworkPredicate>> explosions, MinMaxBounds.Ints flightDuration) Creates an instance of aFireworksPredicate
record class.WritableBookPredicate
(Optional<CollectionPredicate<Filterable<String>, WritableBookPredicate.PagePredicate>> pages) Creates an instance of aWritableBookPredicate
record 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 aWrittenBookPredicate
record class.