Uses of Record Class
net.minecraft.predicate.collection.CollectionPredicate
-
Uses of CollectionPredicate in net.minecraft.predicate.collection
Modifier 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
Modifier and TypeFieldDescriptionprivate final Optional
<CollectionPredicate<FireworkExplosionComponent, FireworkExplosionPredicate.Predicate>> FireworksPredicate.explosions
The field for theexplosions
record component.private final Optional
<CollectionPredicate<ItemStack, ItemPredicate>> BundleContentsPredicate.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<AttributeModifiersComponent.Entry, AttributeModifiersPredicate.AttributeModifierPredicate>> AttributeModifiersPredicate.modifiers
The field for themodifiers
record component.private final Optional
<CollectionPredicate<RawFilteredPair<String>, WritableBookContentPredicate.RawStringPredicate>> WritableBookContentPredicate.pages
The field for thepages
record component.private final Optional
<CollectionPredicate<RawFilteredPair<Text>, WrittenBookContentPredicate.RawTextPredicate>> WrittenBookContentPredicate.pages
The field for thepages
record component.Modifier and TypeMethodDescriptionFireworksPredicate.explosions()
Returns the value of theexplosions
record component.BundleContentsPredicate.items()
Returns the value of theitems
record component.ContainerPredicate.items()
Returns the value of theitems
record component.Optional
<CollectionPredicate<AttributeModifiersComponent.Entry, AttributeModifiersPredicate.AttributeModifierPredicate>> AttributeModifiersPredicate.modifiers()
Returns the value of themodifiers
record component.Optional
<CollectionPredicate<RawFilteredPair<String>, WritableBookContentPredicate.RawStringPredicate>> WritableBookContentPredicate.pages()
Returns the value of thepages
record component.WrittenBookContentPredicate.pages()
Returns the value of thepages
record component.ModifierConstructorDescriptionAttributeModifiersPredicate
(Optional<CollectionPredicate<AttributeModifiersComponent.Entry, AttributeModifiersPredicate.AttributeModifierPredicate>> optional) FireworksPredicate
(Optional<CollectionPredicate<FireworkExplosionComponent, FireworkExplosionPredicate.Predicate>> optional, NumberRange.IntRange intRange) WritableBookContentPredicate
(Optional<CollectionPredicate<RawFilteredPair<String>, WritableBookContentPredicate.RawStringPredicate>> optional) WrittenBookContentPredicate
(Optional<CollectionPredicate<RawFilteredPair<Text>, WrittenBookContentPredicate.RawTextPredicate>> optional, Optional<String> optional2, Optional<String> optional3, NumberRange.IntRange intRange, Optional<Boolean> optional4)