Uses of Record Class
net.minecraft.predicate.collection.CollectionPredicate
Packages that use CollectionPredicate
-
Uses of CollectionPredicate in net.minecraft.predicate.collection
Methods in net.minecraft.predicate.collection that return types with arguments of type CollectionPredicateModifier and TypeMethodDescriptionstatic <T,P extends Predicate<T>>
com.mojang.serialization.Codec<CollectionPredicate<T, P>> CollectionPredicate.createCodec(com.mojang.serialization.Codec<P> predicateCodec) -
Uses of CollectionPredicate in net.minecraft.predicate.item
Fields in net.minecraft.predicate.item with type parameters of type CollectionPredicateModifier and TypeFieldDescriptionprivate final Optional<CollectionPredicate<FireworkExplosionComponent, FireworkExplosionPredicate.Predicate>> FireworksPredicate.explosionsThe field for theexplosionsrecord component.private final Optional<CollectionPredicate<ItemStack, ItemPredicate>> BundleContentsPredicate.itemsThe field for theitemsrecord component.private final Optional<CollectionPredicate<ItemStack, ItemPredicate>> ContainerPredicate.itemsThe field for theitemsrecord component.private final Optional<CollectionPredicate<AttributeModifiersComponent.Entry, AttributeModifiersPredicate.AttributeModifierPredicate>> AttributeModifiersPredicate.modifiersThe field for themodifiersrecord component.private final Optional<CollectionPredicate<RawFilteredPair<String>, WritableBookContentPredicate.RawStringPredicate>> WritableBookContentPredicate.pagesThe field for thepagesrecord component.private final Optional<CollectionPredicate<RawFilteredPair<Text>, WrittenBookContentPredicate.RawTextPredicate>> WrittenBookContentPredicate.pagesThe field for thepagesrecord component.Methods in net.minecraft.predicate.item that return types with arguments of type CollectionPredicateModifier and TypeMethodDescriptionFireworksPredicate.explosions()Returns the value of theexplosionsrecord component.BundleContentsPredicate.items()Returns the value of theitemsrecord component.ContainerPredicate.items()Returns the value of theitemsrecord component.Optional<CollectionPredicate<AttributeModifiersComponent.Entry, AttributeModifiersPredicate.AttributeModifierPredicate>> AttributeModifiersPredicate.modifiers()Returns the value of themodifiersrecord component.Optional<CollectionPredicate<RawFilteredPair<String>, WritableBookContentPredicate.RawStringPredicate>> WritableBookContentPredicate.pages()Returns the value of thepagesrecord component.WrittenBookContentPredicate.pages()Returns the value of thepagesrecord component.Constructor parameters in net.minecraft.predicate.item with type arguments of type CollectionPredicateModifierConstructorDescriptionAttributeModifiersPredicate(Optional<CollectionPredicate<AttributeModifiersComponent.Entry, AttributeModifiersPredicate.AttributeModifierPredicate>> modifiers) Creates an instance of aAttributeModifiersPredicaterecord class.Creates an instance of aBundleContentsPredicaterecord class.Creates an instance of aContainerPredicaterecord class.FireworksPredicate(Optional<CollectionPredicate<FireworkExplosionComponent, FireworkExplosionPredicate.Predicate>> explosions, NumberRange.IntRange flightDuration) Creates an instance of aFireworksPredicaterecord class.WritableBookContentPredicate(Optional<CollectionPredicate<RawFilteredPair<String>, WritableBookContentPredicate.RawStringPredicate>> pages) Creates an instance of aWritableBookContentPredicaterecord class.WrittenBookContentPredicate(Optional<CollectionPredicate<RawFilteredPair<Text>, WrittenBookContentPredicate.RawTextPredicate>> pages, Optional<String> author, Optional<String> title, NumberRange.IntRange generation, Optional<Boolean> resolved) Creates an instance of aWrittenBookContentPredicaterecord class.