类 LongArrayTag
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<T>
-
- net.minecraft.nbt.AbstractListTag<LongTag>
-
- net.minecraft.nbt.LongArrayTag
-
public class LongArrayTag extends AbstractListTag<LongTag>
Represents an NBT 64-bit integer array.- Mappings:
Namespace Name official ncintermediary net/minecraft/class_2501named net/minecraft/nbt/LongArrayTag
-
-
字段概要
字段 修饰符和类型 字段 说明 private static intfield_33200static NbtType<LongArrayTag>TYPEprivate long[]value-
从类继承的字段 java.util.AbstractList
modCount
-
从接口继承的字段 net.minecraft.nbt.Tag
BYTE_ARRAY_TYPE, BYTE_TYPE, COMPOUND_TYPE, DOUBLE_TYPE, field_33246, field_33247, field_33248, field_33249, field_33264, FLOAT_TYPE, INT_ARRAY_TYPE, INT_TYPE, LIST_TYPE, LONG_ARRAY_TYPE, LONG_TYPE, NULL_TYPE, NUMBER_TYPE, SHORT_TYPE, STRING_TYPE
-
-
构造器概要
构造器 构造器 说明 LongArrayTag(long[] value)LongArrayTag(LongSet value)LongArrayTag(List<Long> value)
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 voidaccept(NbtElementVisitor visitor)voidadd(int int2, LongTag longTag)booleanaddElement(int index, Tag element)voidclear()LongArrayTagcopy()Copies this NBT element.booleanequals(Object o)LongTagget(int int2)bytegetHeldType()Gets the type of element that this list holds.long[]getLongArray()NbtType<LongArrayTag>getNbtType()Gets the NBT type definition of this NBT element.bytegetType()Gets the type of this NBT element.inthashCode()LongTagmethod_10606(int int2, LongTag longTag)LongTagremove(int int2)booleansetElement(int index, Tag element)intsize()private static long[]toArray(List<Long> list)StringtoString()voidwrite(DataOutput output)-
从类继承的方法 net.minecraft.nbt.AbstractListTag
set
-
从类继承的方法 java.util.AbstractList
add, addAll, indexOf, iterator, lastIndexOf, listIterator, listIterator, removeRange, subList
-
从类继承的方法 java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray
-
从接口继承的方法 java.util.Collection
parallelStream, removeIf, stream, toArray
-
从接口继承的方法 java.util.List
addAll, contains, containsAll, isEmpty, remove, removeAll, replaceAll, retainAll, sort, spliterator, toArray, toArray
-
-
-
-
字段详细资料
-
field_33200
private static final int field_33200
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official bLnc;b:Iintermediary field_33200Lnet/minecraft/class_2501;field_33200:Inamed field_33200Lnet/minecraft/nbt/LongArrayTag;field_33200:I
-
TYPE
public static final NbtType<LongArrayTag> TYPE
- Mappings:
Namespace Name Mixin selector official aLnc;a:Lnp;intermediary field_21040Lnet/minecraft/class_2501;field_21040:Lnet/minecraft/class_4614;named TYPELnet/minecraft/nbt/LongArrayTag;TYPE:Lnet/minecraft/nbt/NbtType;
-
value
private long[] value
- Mappings:
Namespace Name Mixin selector official cLnc;c:[Jintermediary field_11552Lnet/minecraft/class_2501;field_11552:[Jnamed valueLnet/minecraft/nbt/LongArrayTag;value:[J
-
-
构造器详细资料
-
LongArrayTag
public LongArrayTag(long[] value)
- Mappings:
Namespace Name Mixin selector official <init>Lnc;<init>([J)Vintermediary <init>Lnet/minecraft/class_2501;<init>([J)Vnamed <init>Lnet/minecraft/nbt/LongArrayTag;<init>([J)V
-
LongArrayTag
public LongArrayTag(LongSet value)
- Mappings:
Namespace Name Mixin selector official <init>Lnc;<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
-
-
方法详细资料
-
toArray
private static long[] toArray(List<Long> list)
- Mappings:
Namespace Name Mixin selector official aLnc;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
public void write(DataOutput output) throws IOException
- 抛出:
IOException- Mappings:
Namespace Name Mixin selector official aLnn;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()
Gets the type of this NBT element.- 返回:
- the type
- Mappings:
Namespace Name Mixin selector official aLnn;a()Bintermediary method_10711Lnet/minecraft/class_2520;method_10711()Bnamed getTypeLnet/minecraft/nbt/Tag;getType()B
-
getNbtType
public NbtType<LongArrayTag> getNbtType()
Gets the NBT type definition of this NBT element.- 返回:
- the element type definition
- Mappings:
Namespace Name Mixin selector official bLnn;b()Lnp;intermediary method_23258Lnet/minecraft/class_2520;method_23258()Lnet/minecraft/class_4614;named getNbtTypeLnet/minecraft/nbt/Tag;getNbtType()Lnet/minecraft/nbt/NbtType;
-
toString
public String toString()
- 指定者:
toString在接口中Tag- 覆盖:
toString在类中AbstractCollection<LongTag>- Mappings:
Namespace Name Mixin selector official toStringLnn;toString()Ljava/lang/String;intermediary toStringLnet/minecraft/class_2520;toString()Ljava/lang/String;named toStringLnet/minecraft/nbt/Tag;toString()Ljava/lang/String;
-
copy
public LongArrayTag copy()
从接口复制的说明:TagCopies this NBT element.- 返回:
- the copied element
- Mappings:
Namespace Name Mixin selector official dLnc;d()Lnc;intermediary method_10618Lnet/minecraft/class_2501;method_10618()Lnet/minecraft/class_2501;named copyLnet/minecraft/nbt/LongArrayTag;copy()Lnet/minecraft/nbt/LongArrayTag;
-
equals
public boolean equals(Object o)
- 指定者:
equals在接口中Collection<LongTag>- 指定者:
equals在接口中List<LongTag>- 覆盖:
equals在类中AbstractList<LongTag>- Mappings:
Namespace Name Mixin selector official equalsLnc;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()
- 指定者:
hashCode在接口中Collection<LongTag>- 指定者:
hashCode在接口中List<LongTag>- 覆盖:
hashCode在类中AbstractList<LongTag>- Mappings:
Namespace Name Mixin selector official hashCodeLnc;hashCode()Iintermediary hashCodeLnet/minecraft/class_2501;hashCode()Inamed hashCodeLnet/minecraft/nbt/LongArrayTag;hashCode()I
-
accept
public void accept(NbtElementVisitor visitor)
- Mappings:
Namespace Name Mixin selector official aLnn;a(Lnr;)Vintermediary method_32289Lnet/minecraft/class_2520;method_32289(Lnet/minecraft/class_5627;)Vnamed acceptLnet/minecraft/nbt/Tag;accept(Lnet/minecraft/nbt/visitor/NbtElementVisitor;)V
-
getLongArray
public long[] getLongArray()
- Mappings:
Namespace Name Mixin selector official fLnc;f()[Jintermediary method_10615Lnet/minecraft/class_2501;method_10615()[Jnamed getLongArrayLnet/minecraft/nbt/LongArrayTag;getLongArray()[J
-
size
public int size()
- 指定者:
size在接口中Collection<LongTag>- 指定者:
size在接口中List<LongTag>- 指定者:
size在类中AbstractCollection<LongTag>- Mappings:
Namespace Name Mixin selector official sizeLnc;size()Iintermediary sizeLnet/minecraft/class_2501;size()Inamed sizeLnet/minecraft/nbt/LongArrayTag;size()I
-
get
public LongTag get(int int2)
-
method_10606
public LongTag method_10606(int int2, LongTag longTag)
- Mappings:
Namespace Name Mixin selector official aLnc;a(ILnd;)Lnd;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
public void add(int int2, LongTag longTag)- 指定者:
add在接口中List<LongTag>- 指定者:
add在类中AbstractListTag<LongTag>- Mappings:
Namespace Name Mixin selector official bLnc;b(ILnd;)Vintermediary method_17812Lnet/minecraft/class_2501;method_17812(ILnet/minecraft/class_2503;)Vnamed addLnet/minecraft/nbt/LongArrayTag;add(ILnet/minecraft/nbt/LongTag;)V
-
setElement
public boolean setElement(int index, Tag element)- 指定者:
setElement在类中AbstractListTag<LongTag>- Mappings:
Namespace Name Mixin selector official aLmu;a(ILnn;)Zintermediary method_10535Lnet/minecraft/class_2483;method_10535(ILnet/minecraft/class_2520;)Znamed setElementLnet/minecraft/nbt/AbstractListTag;setElement(ILnet/minecraft/nbt/Tag;)Z
-
addElement
public boolean addElement(int index, Tag element)- 指定者:
addElement在类中AbstractListTag<LongTag>- Mappings:
Namespace Name Mixin selector official bLmu;b(ILnn;)Zintermediary method_10533Lnet/minecraft/class_2483;method_10533(ILnet/minecraft/class_2520;)Znamed addElementLnet/minecraft/nbt/AbstractListTag;addElement(ILnet/minecraft/nbt/Tag;)Z
-
remove
public LongTag remove(int int2)
- 指定者:
remove在接口中List<LongTag>- 指定者:
remove在类中AbstractListTag<LongTag>- Mappings:
Namespace Name Mixin selector official bLnc;b(I)Lnd;intermediary method_17811Lnet/minecraft/class_2501;method_17811(I)Lnet/minecraft/class_2503;named removeLnet/minecraft/nbt/LongArrayTag;remove(I)Lnet/minecraft/nbt/LongTag;
-
getHeldType
public byte getHeldType()
Gets the type of element that this list holds.- 指定者:
getHeldType在类中AbstractListTag<LongTag>- 返回:
- the type of element that this list holds
- Mappings:
Namespace Name Mixin selector official d_Lmu;d_()Bintermediary method_10601Lnet/minecraft/class_2483;method_10601()Bnamed getHeldTypeLnet/minecraft/nbt/AbstractListTag;getHeldType()B
-
clear
public void clear()
- 指定者:
clear在接口中Collection<LongTag>- 指定者:
clear在接口中List<LongTag>- 覆盖:
clear在类中AbstractList<LongTag>- Mappings:
Namespace Name Mixin selector official clearLnc;clear()Vintermediary clearLnet/minecraft/class_2501;clear()Vnamed clearLnet/minecraft/nbt/LongArrayTag;clear()V
-
-