Uses of Record Class
net.minecraft.predicate.collection.CollectionCountsPredicate.Entry
-
Uses of CollectionCountsPredicate.Entry in net.minecraft.predicate.collection
Modifier and TypeFieldDescriptionprivate final CollectionCountsPredicate.Entry
<T, P> CollectionCountsPredicate.Single.entry
The field for theentry
record component.Modifier and TypeFieldDescriptionprivate final List
<CollectionCountsPredicate.Entry<T, P>> CollectionCountsPredicate.Multiple.entries
The field for theentries
record component.Modifier and TypeMethodDescriptionCollectionCountsPredicate.Single.entry()
Returns the value of theentry
record component.Modifier and TypeMethodDescriptionstatic <T,
P extends Predicate<T>>
com.mojang.serialization.Codec<CollectionCountsPredicate.Entry<T, P>> CollectionCountsPredicate.Entry.createCodec
(com.mojang.serialization.Codec<P> predicateCodec) CollectionCountsPredicate.Multiple.entries()
Returns the value of theentries
record component.CollectionCountsPredicate.Empty.getEntries()
CollectionCountsPredicate.getEntries()
CollectionCountsPredicate.Multiple.getEntries()
CollectionCountsPredicate.Single.getEntries()
Modifier and TypeMethodDescriptionstatic <T,
P extends Predicate<T>>
CollectionCountsPredicate<T, P> CollectionCountsPredicate.create
(CollectionCountsPredicate.Entry<T, P>[] entries) Modifier and TypeMethodDescriptionstatic <T,
P extends Predicate<T>>
CollectionCountsPredicate<T, P> CollectionCountsPredicate.create
(List<CollectionCountsPredicate.Entry<T, P>> entries) ModifierConstructorDescriptionSingle
(CollectionCountsPredicate.Entry<T, P> entry) Creates an instance of aSingle
record class.