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 - named - net/minecraft/util/collection/ListOperation$Insert- intermediary - net/minecraft/class_9368$class_9370- official - exe$b- named - offset- intermediary - comp_2463- official - c
- 
Nested Class SummaryNested classes/interfaces inherited from interface net.minecraft.util.collection.ListOperationListOperation.Append, ListOperation.Insert, ListOperation.Mode, ListOperation.ReplaceAll, ListOperation.ReplaceSection, ListOperation.Values<T>
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec<ListOperation.Insert> private static final Loggerprivate final intThe field for theoffsetrecord component.Fields inherited from interface net.minecraft.util.collection.ListOperationUNLIMITED_SIZE_CODEC
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescription<T> List<T> final booleanIndicates whether some other object is "equal to" this one.getMode()final inthashCode()Returns a hash code value for this object.intoffset()Returns the value of theoffsetrecord component.final StringtoString()Returns a string representation of this record class.Methods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.util.collection.ListOperationapply
- 
Field Details- 
offsetprivate final int offsetThe field for theoffsetrecord component.
- 
LOGGER- Mappings:
- Namespace - Name - Mixin selector - named - LOGGER- Lnet/minecraft/util/collection/ListOperation$Insert;LOGGER:Lorg/slf4j/Logger;- intermediary - field_49851- Lnet/minecraft/class_9368$class_9370;field_49851:Lorg/slf4j/Logger;- official - d- Lexe$b;d:Lorg/slf4j/Logger;
 
- 
CODEC- Mappings:
- Namespace - Name - Mixin selector - named - CODEC- Lnet/minecraft/util/collection/ListOperation$Insert;CODEC:Lcom/mojang/serialization/MapCodec;- intermediary - field_49850- Lnet/minecraft/class_9368$class_9370;field_49850:Lcom/mojang/serialization/MapCodec;- official - b- Lexe$b;b:Lcom/mojang/serialization/MapCodec;
 
 
- 
- 
Constructor Details- 
Insertpublic Insert(int int2) 
 
- 
- 
Method Details- 
getMode- Specified by:
- getModein interface- ListOperation
- Mappings:
- Namespace - Name - Mixin selector - named - getMode- Lnet/minecraft/util/collection/ListOperation;getMode()Lnet/minecraft/util/collection/ListOperation$Mode;- intermediary - method_58191- Lnet/minecraft/class_9368;method_58191()Lnet/minecraft/class_9368$class_9373;- official - a- Lexe;a()Lexe$f;
 
- 
apply- Specified by:
- applyin interface- ListOperation
- Mappings:
- Namespace - Name - Mixin selector - named - apply- Lnet/minecraft/util/collection/ListOperation;apply(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;- official - a- Lexe;a(Ljava/util/List;Ljava/util/List;I)Ljava/util/List;
 
- 
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 with '=='.
- 
offsetpublic int offset()Returns the value of theoffsetrecord component.- Returns:
- the value of the offsetrecord component
 
 
-