Package net.minecraft
Record Class class_9643.class_9644<T,P extends Predicate<T>>
java.lang.Object
java.lang.Record
net.minecraft.class_9643.class_9644<T,P>
- Record Components:
test-count-
- Enclosing interface:
class_9643<T,P extends Predicate<T>>
public static record class_9643.class_9644<T,P extends Predicate<T>> (P extends Predicate<T> test, NumberRange.IntRange count)
extends Record
- Mappings:
Namespace Name named net/minecraft/class_9643$class_9644intermediary net/minecraft/class_9643$class_9644official bb$anamed testintermediary comp_2613official anamed countintermediary comp_2614official b
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncount()Returns the value of thecountrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.static <T,P extends Predicate<T>>
com.mojang.serialization.Codec<class_9643.class_9644<T, P>> method_59617(com.mojang.serialization.Codec<P> codec) booleanmethod_59619(Iterable<T> iterable) test()Returns the value of thetestrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
Constructor Details
-
class_9644
-
-
Method Details
-
method_59617
public static <T,P extends Predicate<T>> com.mojang.serialization.Codec<class_9643.class_9644<T,P>> method_59617(com.mojang.serialization.Codec<P> codec) - Mappings:
Namespace Name Mixin selector named method_59617Lnet/minecraft/class_9643$class_9644;method_59617(Lcom/mojang/serialization/Codec;)Lcom/mojang/serialization/Codec;intermediary method_59617Lnet/minecraft/class_9643$class_9644;method_59617(Lcom/mojang/serialization/Codec;)Lcom/mojang/serialization/Codec;official aLbb$a;a(Lcom/mojang/serialization/Codec;)Lcom/mojang/serialization/Codec;
-
method_59619
- Mappings:
Namespace Name Mixin selector named method_59619Lnet/minecraft/class_9643$class_9644;method_59619(Ljava/lang/Iterable;)Zintermediary method_59619Lnet/minecraft/class_9643$class_9644;method_59619(Ljava/lang/Iterable;)Zofficial aLbb$a;a(Ljava/lang/Iterable;)Z
-
toString
Returns 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. -
hashCode
public 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. -
equals
Indicates 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). -
test
Returns the value of thetestrecord component.- Returns:
- the value of the
testrecord component
-
count
Returns the value of thecountrecord component.- Returns:
- the value of the
countrecord component
-