Package net.minecraft.nbt
Class LongArrayTag
public class LongArrayTag extends AbstractListTag<LongTag>
- Mappings:
Namespace Name official mx
intermediary net/minecraft/class_2501
named net/minecraft/nbt/LongArrayTag
-
Field Summary
Fields Modifier and Type Field Description static TagReader<LongArrayTag>
READER
private long[]
value
Fields 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 void
accept(NbtTagVisitor visitor)
void
add(int int2, LongTag longTag)
boolean
addTag(int index, Tag tag)
void
clear()
LongArrayTag
copy()
boolean
equals(Object o)
LongTag
get(int int2)
byte
getElementType()
long[]
getLongArray()
TagReader<LongArrayTag>
getReader()
byte
getType()
int
hashCode()
LongTag
method_10606(int int2, LongTag longTag)
LongTag
remove(int int2)
boolean
setTag(int index, Tag tag)
int
size()
private static long[]
toArray(List<Long> list)
String
toString()
void
write(DataOutput output)
Methods inherited from class net.minecraft.nbt.AbstractListTag
set
Methods inherited from class java.util.AbstractList
add, addAll, indexOf, iterator, lastIndexOf, listIterator, listIterator, removeRange, subList
Methods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
Methods 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 a
Lmx;a:Lnk;
intermediary field_21040
Lnet/minecraft/class_2501;field_21040:Lnet/minecraft/class_4614;
named READER
Lnet/minecraft/nbt/LongArrayTag;READER:Lnet/minecraft/nbt/TagReader;
-
value
private long[] value- Mappings:
Namespace Name Mixin selector official b
Lmx;b:[J
intermediary field_11552
Lnet/minecraft/class_2501;field_11552:[J
named value
Lnet/minecraft/nbt/LongArrayTag;value:[J
-
-
Constructor Details
-
LongArrayTag
public LongArrayTag(long[] value)- Mappings:
Namespace Name Mixin selector official <init>
Lmx;<init>([J)V
intermediary <init>
Lnet/minecraft/class_2501;<init>([J)V
named <init>
Lnet/minecraft/nbt/LongArrayTag;<init>([J)V
-
LongArrayTag
- Mappings:
Namespace Name Mixin selector official <init>
Lmx;<init>(Lit/unimi/dsi/fastutil/longs/LongSet;)V
intermediary <init>
Lnet/minecraft/class_2501;<init>(Lit/unimi/dsi/fastutil/longs/LongSet;)V
named <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;)V
intermediary <init>
Lnet/minecraft/class_2501;<init>(Ljava/util/List;)V
named <init>
Lnet/minecraft/nbt/LongArrayTag;<init>(Ljava/util/List;)V
-
-
Method Details
-
toArray
- Mappings:
Namespace Name Mixin selector official a
Lmx;a(Ljava/util/List;)[J
intermediary method_10617
Lnet/minecraft/class_2501;method_10617(Ljava/util/List;)[J
named toArray
Lnet/minecraft/nbt/LongArrayTag;toArray(Ljava/util/List;)[J
-
write
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official a
Lni;a(Ljava/io/DataOutput;)V
intermediary method_10713
Lnet/minecraft/class_2520;method_10713(Ljava/io/DataOutput;)V
named write
Lnet/minecraft/nbt/Tag;write(Ljava/io/DataOutput;)V
-
getType
public byte getType()- Mappings:
Namespace Name Mixin selector official a
Lni;a()B
intermediary method_10711
Lnet/minecraft/class_2520;method_10711()B
named getType
Lnet/minecraft/nbt/Tag;getType()B
-
getReader
- Mappings:
Namespace Name Mixin selector official b
Lni;b()Lnk;
intermediary method_23258
Lnet/minecraft/class_2520;method_23258()Lnet/minecraft/class_4614;
named getReader
Lnet/minecraft/nbt/Tag;getReader()Lnet/minecraft/nbt/TagReader;
-
toString
- Specified by:
toString
in interfaceTag
- Overrides:
toString
in classAbstractCollection<LongTag>
- Mappings:
Namespace Name Mixin selector official toString
Lni;toString()Ljava/lang/String;
intermediary toString
Lnet/minecraft/class_2520;toString()Ljava/lang/String;
named toString
Lnet/minecraft/nbt/Tag;toString()Ljava/lang/String;
-
copy
- Mappings:
Namespace Name Mixin selector official d
Lmx;d()Lmx;
intermediary method_10618
Lnet/minecraft/class_2501;method_10618()Lnet/minecraft/class_2501;
named copy
Lnet/minecraft/nbt/LongArrayTag;copy()Lnet/minecraft/nbt/LongArrayTag;
-
equals
- Specified by:
equals
in interfaceCollection<LongTag>
- Specified by:
equals
in interfaceList<LongTag>
- Overrides:
equals
in classAbstractList<LongTag>
- Mappings:
Namespace Name Mixin selector official equals
Lmx;equals(Ljava/lang/Object;)Z
intermediary equals
Lnet/minecraft/class_2501;equals(Ljava/lang/Object;)Z
named equals
Lnet/minecraft/nbt/LongArrayTag;equals(Ljava/lang/Object;)Z
-
hashCode
public int hashCode()- Specified by:
hashCode
in interfaceCollection<LongTag>
- Specified by:
hashCode
in interfaceList<LongTag>
- Overrides:
hashCode
in classAbstractList<LongTag>
- Mappings:
Namespace Name Mixin selector official hashCode
Lmx;hashCode()I
intermediary hashCode
Lnet/minecraft/class_2501;hashCode()I
named hashCode
Lnet/minecraft/nbt/LongArrayTag;hashCode()I
-
accept
- Mappings:
Namespace Name Mixin selector official a
Lni;a(Lnm;)V
intermediary method_32289
Lnet/minecraft/class_2520;method_32289(Lnet/minecraft/class_5627;)V
named accept
Lnet/minecraft/nbt/Tag;accept(Lnet/minecraft/nbt/visitor/NbtTagVisitor;)V
-
getLongArray
public long[] getLongArray()- Mappings:
Namespace Name Mixin selector official f
Lmx;f()[J
intermediary method_10615
Lnet/minecraft/class_2501;method_10615()[J
named getLongArray
Lnet/minecraft/nbt/LongArrayTag;getLongArray()[J
-
size
public int size()- Specified by:
size
in interfaceCollection<LongTag>
- Specified by:
size
in interfaceList<LongTag>
- Specified by:
size
in classAbstractCollection<LongTag>
- Mappings:
Namespace Name Mixin selector official size
Lmx;size()I
intermediary size
Lnet/minecraft/class_2501;size()I
named size
Lnet/minecraft/nbt/LongArrayTag;size()I
-
get
- Specified by:
get
in interfaceList<LongTag>
- Specified by:
get
in classAbstractList<LongTag>
- Mappings:
Namespace Name Mixin selector official a
Lmx;a(I)Lmy;
intermediary method_10616
Lnet/minecraft/class_2501;method_10616(I)Lnet/minecraft/class_2503;
named get
Lnet/minecraft/nbt/LongArrayTag;get(I)Lnet/minecraft/nbt/LongTag;
-
method_10606
- Mappings:
Namespace Name Mixin selector official a
Lmx;a(ILmy;)Lmy;
intermediary method_17810
Lnet/minecraft/class_2501;method_17810(ILnet/minecraft/class_2503;)Lnet/minecraft/class_2503;
named method_10606
Lnet/minecraft/nbt/LongArrayTag;method_10606(ILnet/minecraft/nbt/LongTag;)Lnet/minecraft/nbt/LongTag;
-
add
- Specified by:
add
in interfaceList<LongTag>
- Specified by:
add
in classAbstractListTag<LongTag>
- Mappings:
Namespace Name Mixin selector official b
Lmx;b(ILmy;)V
intermediary method_17812
Lnet/minecraft/class_2501;method_17812(ILnet/minecraft/class_2503;)V
named add
Lnet/minecraft/nbt/LongArrayTag;add(ILnet/minecraft/nbt/LongTag;)V
-
setTag
- Specified by:
setTag
in classAbstractListTag<LongTag>
- Mappings:
Namespace Name Mixin selector official a
Lmp;a(ILni;)Z
intermediary method_10535
Lnet/minecraft/class_2483;method_10535(ILnet/minecraft/class_2520;)Z
named setTag
Lnet/minecraft/nbt/AbstractListTag;setTag(ILnet/minecraft/nbt/Tag;)Z
-
addTag
- Specified by:
addTag
in classAbstractListTag<LongTag>
- Mappings:
Namespace Name Mixin selector official b
Lmp;b(ILni;)Z
intermediary method_10533
Lnet/minecraft/class_2483;method_10533(ILnet/minecraft/class_2520;)Z
named addTag
Lnet/minecraft/nbt/AbstractListTag;addTag(ILnet/minecraft/nbt/Tag;)Z
-
remove
- Specified by:
remove
in interfaceList<LongTag>
- Specified by:
remove
in classAbstractListTag<LongTag>
- Mappings:
Namespace Name Mixin selector official b
Lmx;b(I)Lmy;
intermediary method_17811
Lnet/minecraft/class_2501;method_17811(I)Lnet/minecraft/class_2503;
named remove
Lnet/minecraft/nbt/LongArrayTag;remove(I)Lnet/minecraft/nbt/LongTag;
-
getElementType
public byte getElementType()- Specified by:
getElementType
in classAbstractListTag<LongTag>
- Mappings:
Namespace Name Mixin selector official e_
Lmp;e_()B
intermediary method_10601
Lnet/minecraft/class_2483;method_10601()B
named getElementType
Lnet/minecraft/nbt/AbstractListTag;getElementType()B
-
clear
public void clear()- Specified by:
clear
in interfaceCollection<LongTag>
- Specified by:
clear
in interfaceList<LongTag>
- Overrides:
clear
in classAbstractList<LongTag>
- Mappings:
Namespace Name Mixin selector official clear
Lmx;clear()V
intermediary clear
Lnet/minecraft/class_2501;clear()V
named clear
Lnet/minecraft/nbt/LongArrayTag;clear()V
-