Package net.minecraft.util.collection
Record Class ListOperation.class_9677<T>
java.lang.Object
java.lang.Record
net.minecraft.util.collection.ListOperation.class_9677<T>
- Record Components:
value-operation-
- Enclosing interface:
ListOperation
public static record ListOperation.class_9677<T>(List<T> value, ListOperation operation)
extends Record
- Mappings:
Namespace Name named net/minecraft/util/collection/ListOperation$class_9677intermediary net/minecraft/class_9368$class_9677official err$enamed valueintermediary comp_2651official anamed operationintermediary comp_2652official b
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.static <T> com.mojang.serialization.Codec<ListOperation.class_9677<T>> method_59828(com.mojang.serialization.Codec<T> codec, int int2) method_59831(List<T> list) Returns the value of theoperationrecord component.final StringtoString()Returns a string representation of this record class.value()Returns the value of thevaluerecord component.
-
Field Details
-
Constructor Details
-
class_9677
-
-
Method Details
-
method_59828
public static <T> com.mojang.serialization.Codec<ListOperation.class_9677<T>> method_59828(com.mojang.serialization.Codec<T> codec, int int2) - Mappings:
Namespace Name Mixin selector named method_59828Lnet/minecraft/util/collection/ListOperation$class_9677;method_59828(Lcom/mojang/serialization/Codec;I)Lcom/mojang/serialization/Codec;intermediary method_59828Lnet/minecraft/class_9368$class_9677;method_59828(Lcom/mojang/serialization/Codec;I)Lcom/mojang/serialization/Codec;official aLerr$e;a(Lcom/mojang/serialization/Codec;I)Lcom/mojang/serialization/Codec;
-
method_59831
- Mappings:
Namespace Name Mixin selector named method_59831Lnet/minecraft/util/collection/ListOperation$class_9677;method_59831(Ljava/util/List;)Ljava/util/List;intermediary method_59831Lnet/minecraft/class_9368$class_9677;method_59831(Ljava/util/List;)Ljava/util/List;official aLerr$e;a(Ljava/util/List;)Ljava/util/List;
-
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). -
value
Returns the value of thevaluerecord component.- Returns:
- the value of the
valuerecord component
-
operation
Returns the value of theoperationrecord component.- Returns:
- the value of the
operationrecord component
-