Package net.minecraft.nbt
Class LongArrayTag
public class LongArrayTag extends AbstractListTag<LongTag>
- Mappings:
Namespace Name official mxintermediary net/minecraft/class_2501named net/minecraft/nbt/LongArrayTag
-
Field Summary
Fields Modifier and Type Field Description static TagReader<LongArrayTag>READERprivate long[]valueFields inherited from class java.util.AbstractList
modCount -
Constructor Summary
Constructors Constructor Description LongArrayTag(long[] value)LongArrayTag(LongSet value)LongArrayTag(List<Long> value) -
Method Summary
Modifier and Type Method Description voidaccept(NbtTagVisitor visitor)voidadd(int int2, LongTag longTag)booleanaddTag(int index, Tag tag)voidclear()LongArrayTagcopy()booleanequals(Object o)LongTagget(int int2)bytegetElementType()long[]getLongArray()TagReader<LongArrayTag>getReader()bytegetType()inthashCode()LongTagmethod_10606(int int2, LongTag longTag)LongTagremove(int int2)booleansetTag(int index, Tag tag)intsize()private static long[]toArray(List<Long> list)StringtoString()voidwrite(DataOutput output)Methods inherited from class net.minecraft.nbt.AbstractListTag
setMethods inherited from class java.util.AbstractList
add, addAll, indexOf, iterator, lastIndexOf, listIterator, listIterator, removeRange, subListMethods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArrayMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.List
addAll, contains, containsAll, isEmpty, remove, removeAll, replaceAll, retainAll, sort, spliterator, toArray, toArray
-
Field Details
-
READER
- Mappings:
Namespace Name Mixin selector official aLmx;a:Lnk;intermediary field_21040Lnet/minecraft/class_2501;field_21040:Lnet/minecraft/class_4614;named READERLnet/minecraft/nbt/LongArrayTag;READER:Lnet/minecraft/nbt/TagReader;
-
value
private long[] value- Mappings:
Namespace Name Mixin selector official bLmx;b:[Jintermediary field_11552Lnet/minecraft/class_2501;field_11552:[Jnamed valueLnet/minecraft/nbt/LongArrayTag;value:[J
-
-
Constructor Details
-
LongArrayTag
public LongArrayTag(long[] value)- Mappings:
Namespace Name Mixin selector official <init>Lmx;<init>([J)Vintermediary <init>Lnet/minecraft/class_2501;<init>([J)Vnamed <init>Lnet/minecraft/nbt/LongArrayTag;<init>([J)V
-
LongArrayTag
- Mappings:
Namespace Name Mixin selector official <init>Lmx;<init>(Lit/unimi/dsi/fastutil/longs/LongSet;)Vintermediary <init>Lnet/minecraft/class_2501;<init>(Lit/unimi/dsi/fastutil/longs/LongSet;)Vnamed <init>Lnet/minecraft/nbt/LongArrayTag;<init>(Lit/unimi/dsi/fastutil/longs/LongSet;)V
-
LongArrayTag
- Mappings:
Namespace Name Mixin selector official <init>Lmx;<init>(Ljava/util/List;)Vintermediary <init>Lnet/minecraft/class_2501;<init>(Ljava/util/List;)Vnamed <init>Lnet/minecraft/nbt/LongArrayTag;<init>(Ljava/util/List;)V
-
-
Method Details
-
toArray
- Mappings:
Namespace Name Mixin selector official aLmx;a(Ljava/util/List;)[Jintermediary method_10617Lnet/minecraft/class_2501;method_10617(Ljava/util/List;)[Jnamed toArrayLnet/minecraft/nbt/LongArrayTag;toArray(Ljava/util/List;)[J
-
write
- Throws:
IOException- Mappings:
Namespace Name Mixin selector official aLni;a(Ljava/io/DataOutput;)Vintermediary method_10713Lnet/minecraft/class_2520;method_10713(Ljava/io/DataOutput;)Vnamed writeLnet/minecraft/nbt/Tag;write(Ljava/io/DataOutput;)V
-
getType
public byte getType()- Mappings:
Namespace Name Mixin selector official aLni;a()Bintermediary method_10711Lnet/minecraft/class_2520;method_10711()Bnamed getTypeLnet/minecraft/nbt/Tag;getType()B
-
getReader
- Mappings:
Namespace Name Mixin selector official bLni;b()Lnk;intermediary method_23258Lnet/minecraft/class_2520;method_23258()Lnet/minecraft/class_4614;named getReaderLnet/minecraft/nbt/Tag;getReader()Lnet/minecraft/nbt/TagReader;
-
toString
- Specified by:
toStringin interfaceTag- Overrides:
toStringin classAbstractCollection<LongTag>- Mappings:
Namespace Name Mixin selector official toStringLni;toString()Ljava/lang/String;intermediary toStringLnet/minecraft/class_2520;toString()Ljava/lang/String;named toStringLnet/minecraft/nbt/Tag;toString()Ljava/lang/String;
-
copy
- Mappings:
Namespace Name Mixin selector official dLmx;d()Lmx;intermediary method_10618Lnet/minecraft/class_2501;method_10618()Lnet/minecraft/class_2501;named copyLnet/minecraft/nbt/LongArrayTag;copy()Lnet/minecraft/nbt/LongArrayTag;
-
equals
- Specified by:
equalsin interfaceCollection<LongTag>- Specified by:
equalsin interfaceList<LongTag>- Overrides:
equalsin classAbstractList<LongTag>- Mappings:
Namespace Name Mixin selector official equalsLmx;equals(Ljava/lang/Object;)Zintermediary equalsLnet/minecraft/class_2501;equals(Ljava/lang/Object;)Znamed equalsLnet/minecraft/nbt/LongArrayTag;equals(Ljava/lang/Object;)Z
-
hashCode
public int hashCode()- Specified by:
hashCodein interfaceCollection<LongTag>- Specified by:
hashCodein interfaceList<LongTag>- Overrides:
hashCodein classAbstractList<LongTag>- Mappings:
Namespace Name Mixin selector official hashCodeLmx;hashCode()Iintermediary hashCodeLnet/minecraft/class_2501;hashCode()Inamed hashCodeLnet/minecraft/nbt/LongArrayTag;hashCode()I
-
accept
- Mappings:
Namespace Name Mixin selector official aLni;a(Lnm;)Vintermediary method_32289Lnet/minecraft/class_2520;method_32289(Lnet/minecraft/class_5627;)Vnamed acceptLnet/minecraft/nbt/Tag;accept(Lnet/minecraft/nbt/visitor/NbtTagVisitor;)V
-
getLongArray
public long[] getLongArray()- Mappings:
Namespace Name Mixin selector official fLmx;f()[Jintermediary method_10615Lnet/minecraft/class_2501;method_10615()[Jnamed getLongArrayLnet/minecraft/nbt/LongArrayTag;getLongArray()[J
-
size
public int size()- Specified by:
sizein interfaceCollection<LongTag>- Specified by:
sizein interfaceList<LongTag>- Specified by:
sizein classAbstractCollection<LongTag>- Mappings:
Namespace Name Mixin selector official sizeLmx;size()Iintermediary sizeLnet/minecraft/class_2501;size()Inamed sizeLnet/minecraft/nbt/LongArrayTag;size()I
-
get
- Specified by:
getin interfaceList<LongTag>- Specified by:
getin classAbstractList<LongTag>- Mappings:
Namespace Name Mixin selector official aLmx;a(I)Lmy;intermediary method_10616Lnet/minecraft/class_2501;method_10616(I)Lnet/minecraft/class_2503;named getLnet/minecraft/nbt/LongArrayTag;get(I)Lnet/minecraft/nbt/LongTag;
-
method_10606
- Mappings:
Namespace Name Mixin selector official aLmx;a(ILmy;)Lmy;intermediary method_17810Lnet/minecraft/class_2501;method_17810(ILnet/minecraft/class_2503;)Lnet/minecraft/class_2503;named method_10606Lnet/minecraft/nbt/LongArrayTag;method_10606(ILnet/minecraft/nbt/LongTag;)Lnet/minecraft/nbt/LongTag;
-
add
- Specified by:
addin interfaceList<LongTag>- Specified by:
addin classAbstractListTag<LongTag>- Mappings:
Namespace Name Mixin selector official bLmx;b(ILmy;)Vintermediary method_17812Lnet/minecraft/class_2501;method_17812(ILnet/minecraft/class_2503;)Vnamed addLnet/minecraft/nbt/LongArrayTag;add(ILnet/minecraft/nbt/LongTag;)V
-
setTag
- Specified by:
setTagin classAbstractListTag<LongTag>- Mappings:
Namespace Name Mixin selector official aLmp;a(ILni;)Zintermediary method_10535Lnet/minecraft/class_2483;method_10535(ILnet/minecraft/class_2520;)Znamed setTagLnet/minecraft/nbt/AbstractListTag;setTag(ILnet/minecraft/nbt/Tag;)Z
-
addTag
- Specified by:
addTagin classAbstractListTag<LongTag>- Mappings:
Namespace Name Mixin selector official bLmp;b(ILni;)Zintermediary method_10533Lnet/minecraft/class_2483;method_10533(ILnet/minecraft/class_2520;)Znamed addTagLnet/minecraft/nbt/AbstractListTag;addTag(ILnet/minecraft/nbt/Tag;)Z
-
remove
- Specified by:
removein interfaceList<LongTag>- Specified by:
removein classAbstractListTag<LongTag>- Mappings:
Namespace Name Mixin selector official bLmx;b(I)Lmy;intermediary method_17811Lnet/minecraft/class_2501;method_17811(I)Lnet/minecraft/class_2503;named removeLnet/minecraft/nbt/LongArrayTag;remove(I)Lnet/minecraft/nbt/LongTag;
-
getElementType
public byte getElementType()- Specified by:
getElementTypein classAbstractListTag<LongTag>- Mappings:
Namespace Name Mixin selector official e_Lmp;e_()Bintermediary method_10601Lnet/minecraft/class_2483;method_10601()Bnamed getElementTypeLnet/minecraft/nbt/AbstractListTag;getElementType()B
-
clear
public void clear()- Specified by:
clearin interfaceCollection<LongTag>- Specified by:
clearin interfaceList<LongTag>- Overrides:
clearin classAbstractList<LongTag>- Mappings:
Namespace Name Mixin selector official clearLmx;clear()Vintermediary clearLnet/minecraft/class_2501;clear()Vnamed clearLnet/minecraft/nbt/LongArrayTag;clear()V
-