Package net.minecraft.nbt
Class ByteArrayTag
public class ByteArrayTag extends AbstractListTag<ByteTag>
- Mappings:
Namespace Name official mnintermediary net/minecraft/class_2479named net/minecraft/nbt/ByteArrayTag
-
Field Summary
Fields Modifier and Type Field Description static TagReader<ByteArrayTag>READERprivate byte[]valueFields inherited from class java.util.AbstractList
modCount -
Constructor Summary
Constructors Constructor Description ByteArrayTag(byte[] value)ByteArrayTag(List<Byte> value) -
Method Summary
Modifier and Type Method Description voidaccept(NbtTagVisitor visitor)booleanaddTag(int index, Tag tag)voidclear()Tagcopy()booleanequals(Object o)ByteTagget(int int2)byte[]getByteArray()bytegetElementType()TagReader<ByteArrayTag>getReader()bytegetType()inthashCode()voidmethod_10531(int int2, ByteTag byteTag)ByteTagmethod_10536(int int2)ByteTagset(int int2, ByteTag byteTag)booleansetTag(int index, Tag tag)intsize()private static byte[]toArray(List<Byte> list)StringtoString()voidwrite(DataOutput output)Methods inherited from class net.minecraft.nbt.AbstractListTag
add, removeMethods 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 aLmn;a:Lnk;intermediary field_21024Lnet/minecraft/class_2479;field_21024:Lnet/minecraft/class_4614;named READERLnet/minecraft/nbt/ByteArrayTag;READER:Lnet/minecraft/nbt/TagReader;
-
value
private byte[] value- Mappings:
Namespace Name Mixin selector official bLmn;b:[Bintermediary field_11493Lnet/minecraft/class_2479;field_11493:[Bnamed valueLnet/minecraft/nbt/ByteArrayTag;value:[B
-
-
Constructor Details
-
ByteArrayTag
public ByteArrayTag(byte[] value)- Mappings:
Namespace Name Mixin selector official <init>Lmn;<init>([B)Vintermediary <init>Lnet/minecraft/class_2479;<init>([B)Vnamed <init>Lnet/minecraft/nbt/ByteArrayTag;<init>([B)V
-
ByteArrayTag
- Mappings:
Namespace Name Mixin selector official <init>Lmn;<init>(Ljava/util/List;)Vintermediary <init>Lnet/minecraft/class_2479;<init>(Ljava/util/List;)Vnamed <init>Lnet/minecraft/nbt/ByteArrayTag;<init>(Ljava/util/List;)V
-
-
Method Details
-
toArray
- Mappings:
Namespace Name Mixin selector official aLmn;a(Ljava/util/List;)[Bintermediary method_10522Lnet/minecraft/class_2479;method_10522(Ljava/util/List;)[Bnamed toArrayLnet/minecraft/nbt/ByteArrayTag;toArray(Ljava/util/List;)[B
-
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<ByteTag>- 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 cLni;c()Lni;intermediary method_10707Lnet/minecraft/class_2520;method_10707()Lnet/minecraft/class_2520;named copyLnet/minecraft/nbt/Tag;copy()Lnet/minecraft/nbt/Tag;
-
equals
- Specified by:
equalsin interfaceCollection<ByteTag>- Specified by:
equalsin interfaceList<ByteTag>- Overrides:
equalsin classAbstractList<ByteTag>- Mappings:
Namespace Name Mixin selector official equalsLmn;equals(Ljava/lang/Object;)Zintermediary equalsLnet/minecraft/class_2479;equals(Ljava/lang/Object;)Znamed equalsLnet/minecraft/nbt/ByteArrayTag;equals(Ljava/lang/Object;)Z
-
hashCode
public int hashCode()- Specified by:
hashCodein interfaceCollection<ByteTag>- Specified by:
hashCodein interfaceList<ByteTag>- Overrides:
hashCodein classAbstractList<ByteTag>- Mappings:
Namespace Name Mixin selector official hashCodeLmn;hashCode()Iintermediary hashCodeLnet/minecraft/class_2479;hashCode()Inamed hashCodeLnet/minecraft/nbt/ByteArrayTag;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
-
getByteArray
public byte[] getByteArray()- Mappings:
Namespace Name Mixin selector official dLmn;d()[Bintermediary method_10521Lnet/minecraft/class_2479;method_10521()[Bnamed getByteArrayLnet/minecraft/nbt/ByteArrayTag;getByteArray()[B
-
size
public int size()- Specified by:
sizein interfaceCollection<ByteTag>- Specified by:
sizein interfaceList<ByteTag>- Specified by:
sizein classAbstractCollection<ByteTag>- Mappings:
Namespace Name Mixin selector official sizeLmn;size()Iintermediary sizeLnet/minecraft/class_2479;size()Inamed sizeLnet/minecraft/nbt/ByteArrayTag;size()I
-
get
- Specified by:
getin interfaceList<ByteTag>- Specified by:
getin classAbstractList<ByteTag>- Mappings:
Namespace Name Mixin selector official aLmn;a(I)Lmo;intermediary method_10523Lnet/minecraft/class_2479;method_10523(I)Lnet/minecraft/class_2481;named getLnet/minecraft/nbt/ByteArrayTag;get(I)Lnet/minecraft/nbt/ByteTag;
-
set
- Specified by:
setin interfaceList<ByteTag>- Specified by:
setin classAbstractListTag<ByteTag>- Mappings:
Namespace Name Mixin selector official aLmn;a(ILmo;)Lmo;intermediary method_17803Lnet/minecraft/class_2479;method_17803(ILnet/minecraft/class_2481;)Lnet/minecraft/class_2481;named setLnet/minecraft/nbt/ByteArrayTag;set(ILnet/minecraft/nbt/ByteTag;)Lnet/minecraft/nbt/ByteTag;
-
method_10531
- Mappings:
Namespace Name Mixin selector official bLmn;b(ILmo;)Vintermediary method_17805Lnet/minecraft/class_2479;method_17805(ILnet/minecraft/class_2481;)Vnamed method_10531Lnet/minecraft/nbt/ByteArrayTag;method_10531(ILnet/minecraft/nbt/ByteTag;)V
-
setTag
- Specified by:
setTagin classAbstractListTag<ByteTag>- 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<ByteTag>- 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
-
method_10536
- Mappings:
Namespace Name Mixin selector official bLmn;b(I)Lmo;intermediary method_17804Lnet/minecraft/class_2479;method_17804(I)Lnet/minecraft/class_2481;named method_10536Lnet/minecraft/nbt/ByteArrayTag;method_10536(I)Lnet/minecraft/nbt/ByteTag;
-
getElementType
public byte getElementType()- Specified by:
getElementTypein classAbstractListTag<ByteTag>- 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<ByteTag>- Specified by:
clearin interfaceList<ByteTag>- Overrides:
clearin classAbstractList<ByteTag>- Mappings:
Namespace Name Mixin selector official clearLmn;clear()Vintermediary clearLnet/minecraft/class_2479;clear()Vnamed clearLnet/minecraft/nbt/ByteArrayTag;clear()V
-