Record Class CollectionCountsPredicate.Entry<T,P extends Predicate<T>> 
java.lang.Object
java.lang.Record
net.minecraft.predicate.collection.CollectionCountsPredicate.Entry<T,P> 
- Record Components:
- test-
- count-
- Enclosing interface:
- CollectionCountsPredicate<T,- P extends Predicate<T>> 
public static record CollectionCountsPredicate.Entry<T,P extends Predicate<T>> (P extends Predicate<T> test, NumberRange.IntRange count)
extends Record
- Mappings:
- Namespace - Name - named - net/minecraft/predicate/collection/CollectionCountsPredicate$Entry- intermediary - net/minecraft/class_9643$class_9644- official - be$a- named - test- intermediary - comp_2613- official - a- named - count- intermediary - comp_2614- official - b
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptioncount()Returns the value of thecountrecord component.static <T,P extends Predicate<T>> 
 com.mojang.serialization.Codec<CollectionCountsPredicate.Entry<T, P>> createCodec(com.mojang.serialization.Codec<P> predicateCodec) final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.test()Returns the value of thetestrecord component.booleanfinal StringtoString()Returns a string representation of this record class.
- 
Field Details
- 
Constructor Details- 
Entry
 
- 
- 
Method Details- 
createCodecpublic static <T,P extends Predicate<T>> com.mojang.serialization.Codec<CollectionCountsPredicate.Entry<T,P>> createCodec(com.mojang.serialization.Codec<P> predicateCodec) - Mappings:
- Namespace - Name - Mixin selector - named - createCodec- Lnet/minecraft/predicate/collection/CollectionCountsPredicate$Entry;createCodec(Lcom/mojang/serialization/Codec;)Lcom/mojang/serialization/Codec;- intermediary - method_59617- Lnet/minecraft/class_9643$class_9644;method_59617(Lcom/mojang/serialization/Codec;)Lcom/mojang/serialization/Codec;- official - a- Lbe$a;a(Lcom/mojang/serialization/Codec;)Lcom/mojang/serialization/Codec;
 
- 
test- Mappings:
- Namespace - Name - Mixin selector - named - test- Lnet/minecraft/predicate/collection/CollectionCountsPredicate$Entry;test(Ljava/lang/Iterable;)Z- intermediary - method_59619- Lnet/minecraft/class_9643$class_9644;method_59619(Ljava/lang/Iterable;)Z- official - a- Lbe$a;a(Ljava/lang/Iterable;)Z
 
- 
toStringReturns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
- 
hashCodepublic final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
- 
equalsIndicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object).
- 
testReturns the value of thetestrecord component.- Returns:
- the value of the testrecord component
 
- 
countReturns the value of thecountrecord component.- Returns:
- the value of the countrecord component
 
 
-