Package net.minecraft.util.collection
Record Class ListOperation.Insert
java.lang.Object
java.lang.Record
net.minecraft.util.collection.ListOperation.Insert
- Record Components:
offset
-
- All Implemented Interfaces:
ListOperation
- Enclosing interface:
ListOperation
- Mappings:
Namespace Name official epv$b
intermediary net/minecraft/class_9368$class_9370
named net/minecraft/util/collection/ListOperation$Insert
official b
intermediary comp_2463
named offset
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.util.collection.ListOperation
ListOperation.Append, ListOperation.Insert, ListOperation.Mode, ListOperation.ReplaceAll, ListOperation.ReplaceSection
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> List
<T> final boolean
Indicates whether some other object is "equal to" this one.getMode()
final int
hashCode()
Returns a hash code value for this object.int
offset()
Returns the value of theoffset
record component.final String
toString()
Returns a string representation of this record class.
-
Field Details
-
offset
private final int offsetThe field for theoffset
record component. -
LOGGER
- Mappings:
Namespace Name Mixin selector official c
Lepv$b;c:Lorg/slf4j/Logger;
intermediary field_49851
Lnet/minecraft/class_9368$class_9370;field_49851:Lorg/slf4j/Logger;
named LOGGER
Lnet/minecraft/util/collection/ListOperation$Insert;LOGGER:Lorg/slf4j/Logger;
-
CODEC
- Mappings:
Namespace Name Mixin selector official a
Lepv$b;a:Lcom/mojang/serialization/MapCodec;
intermediary field_49850
Lnet/minecraft/class_9368$class_9370;field_49850:Lcom/mojang/serialization/MapCodec;
named CODEC
Lnet/minecraft/util/collection/ListOperation$Insert;CODEC:Lcom/mojang/serialization/MapCodec;
-
-
Constructor Details
-
Insert
public Insert(int int2)
-
-
Method Details
-
getMode
- Specified by:
getMode
in interfaceListOperation
- Mappings:
Namespace Name Mixin selector official a
Lepv;a()Lepv$e;
intermediary method_58191
Lnet/minecraft/class_9368;method_58191()Lnet/minecraft/class_9368$class_9373;
named getMode
Lnet/minecraft/util/collection/ListOperation;getMode()Lnet/minecraft/util/collection/ListOperation$Mode;
-
apply
- Specified by:
apply
in interfaceListOperation
- Mappings:
Namespace Name Mixin selector official a
Lepv;a(Ljava/util/List;Ljava/util/List;I)Ljava/util/List;
intermediary method_58192
Lnet/minecraft/class_9368;method_58192(Ljava/util/List;Ljava/util/List;I)Ljava/util/List;
named apply
Lnet/minecraft/util/collection/ListOperation;apply(Ljava/util/List;Ljava/util/List;I)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 with '=='. -
offset
public int offset()Returns the value of theoffset
record component.- Returns:
- the value of the
offset
record component
-