Package net.minecraft.nbt
Class ByteArrayTag
public class ByteArrayTag extends AbstractListTag<ByteTag>
- Mappings:
Namespace Name official mn
intermediary net/minecraft/class_2479
named net/minecraft/nbt/ByteArrayTag
-
Field Summary
Fields Modifier and Type Field Description static TagReader<ByteArrayTag>
READER
private byte[]
value
Fields 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 void
accept(NbtTagVisitor visitor)
boolean
addTag(int index, Tag tag)
void
clear()
Tag
copy()
boolean
equals(Object o)
ByteTag
get(int int2)
byte[]
getByteArray()
byte
getElementType()
TagReader<ByteArrayTag>
getReader()
byte
getType()
int
hashCode()
void
method_10531(int int2, ByteTag byteTag)
ByteTag
method_10536(int int2)
ByteTag
set(int int2, ByteTag byteTag)
boolean
setTag(int index, Tag tag)
int
size()
private static byte[]
toArray(List<Byte> list)
String
toString()
void
write(DataOutput output)
Methods inherited from class net.minecraft.nbt.AbstractListTag
add, remove
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
Lmn;a:Lnk;
intermediary field_21024
Lnet/minecraft/class_2479;field_21024:Lnet/minecraft/class_4614;
named READER
Lnet/minecraft/nbt/ByteArrayTag;READER:Lnet/minecraft/nbt/TagReader;
-
value
private byte[] value- Mappings:
Namespace Name Mixin selector official b
Lmn;b:[B
intermediary field_11493
Lnet/minecraft/class_2479;field_11493:[B
named value
Lnet/minecraft/nbt/ByteArrayTag;value:[B
-
-
Constructor Details
-
ByteArrayTag
public ByteArrayTag(byte[] value)- Mappings:
Namespace Name Mixin selector official <init>
Lmn;<init>([B)V
intermediary <init>
Lnet/minecraft/class_2479;<init>([B)V
named <init>
Lnet/minecraft/nbt/ByteArrayTag;<init>([B)V
-
ByteArrayTag
- Mappings:
Namespace Name Mixin selector official <init>
Lmn;<init>(Ljava/util/List;)V
intermediary <init>
Lnet/minecraft/class_2479;<init>(Ljava/util/List;)V
named <init>
Lnet/minecraft/nbt/ByteArrayTag;<init>(Ljava/util/List;)V
-
-
Method Details
-
toArray
- Mappings:
Namespace Name Mixin selector official a
Lmn;a(Ljava/util/List;)[B
intermediary method_10522
Lnet/minecraft/class_2479;method_10522(Ljava/util/List;)[B
named toArray
Lnet/minecraft/nbt/ByteArrayTag;toArray(Ljava/util/List;)[B
-
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<ByteTag>
- 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 c
Lni;c()Lni;
intermediary method_10707
Lnet/minecraft/class_2520;method_10707()Lnet/minecraft/class_2520;
named copy
Lnet/minecraft/nbt/Tag;copy()Lnet/minecraft/nbt/Tag;
-
equals
- Specified by:
equals
in interfaceCollection<ByteTag>
- Specified by:
equals
in interfaceList<ByteTag>
- Overrides:
equals
in classAbstractList<ByteTag>
- Mappings:
Namespace Name Mixin selector official equals
Lmn;equals(Ljava/lang/Object;)Z
intermediary equals
Lnet/minecraft/class_2479;equals(Ljava/lang/Object;)Z
named equals
Lnet/minecraft/nbt/ByteArrayTag;equals(Ljava/lang/Object;)Z
-
hashCode
public int hashCode()- Specified by:
hashCode
in interfaceCollection<ByteTag>
- Specified by:
hashCode
in interfaceList<ByteTag>
- Overrides:
hashCode
in classAbstractList<ByteTag>
- Mappings:
Namespace Name Mixin selector official hashCode
Lmn;hashCode()I
intermediary hashCode
Lnet/minecraft/class_2479;hashCode()I
named hashCode
Lnet/minecraft/nbt/ByteArrayTag;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
-
getByteArray
public byte[] getByteArray()- Mappings:
Namespace Name Mixin selector official d
Lmn;d()[B
intermediary method_10521
Lnet/minecraft/class_2479;method_10521()[B
named getByteArray
Lnet/minecraft/nbt/ByteArrayTag;getByteArray()[B
-
size
public int size()- Specified by:
size
in interfaceCollection<ByteTag>
- Specified by:
size
in interfaceList<ByteTag>
- Specified by:
size
in classAbstractCollection<ByteTag>
- Mappings:
Namespace Name Mixin selector official size
Lmn;size()I
intermediary size
Lnet/minecraft/class_2479;size()I
named size
Lnet/minecraft/nbt/ByteArrayTag;size()I
-
get
- Specified by:
get
in interfaceList<ByteTag>
- Specified by:
get
in classAbstractList<ByteTag>
- Mappings:
Namespace Name Mixin selector official a
Lmn;a(I)Lmo;
intermediary method_10523
Lnet/minecraft/class_2479;method_10523(I)Lnet/minecraft/class_2481;
named get
Lnet/minecraft/nbt/ByteArrayTag;get(I)Lnet/minecraft/nbt/ByteTag;
-
set
- Specified by:
set
in interfaceList<ByteTag>
- Specified by:
set
in classAbstractListTag<ByteTag>
- Mappings:
Namespace Name Mixin selector official a
Lmn;a(ILmo;)Lmo;
intermediary method_17803
Lnet/minecraft/class_2479;method_17803(ILnet/minecraft/class_2481;)Lnet/minecraft/class_2481;
named set
Lnet/minecraft/nbt/ByteArrayTag;set(ILnet/minecraft/nbt/ByteTag;)Lnet/minecraft/nbt/ByteTag;
-
method_10531
- Mappings:
Namespace Name Mixin selector official b
Lmn;b(ILmo;)V
intermediary method_17805
Lnet/minecraft/class_2479;method_17805(ILnet/minecraft/class_2481;)V
named method_10531
Lnet/minecraft/nbt/ByteArrayTag;method_10531(ILnet/minecraft/nbt/ByteTag;)V
-
setTag
- Specified by:
setTag
in classAbstractListTag<ByteTag>
- 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<ByteTag>
- 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
-
method_10536
- Mappings:
Namespace Name Mixin selector official b
Lmn;b(I)Lmo;
intermediary method_17804
Lnet/minecraft/class_2479;method_17804(I)Lnet/minecraft/class_2481;
named method_10536
Lnet/minecraft/nbt/ByteArrayTag;method_10536(I)Lnet/minecraft/nbt/ByteTag;
-
getElementType
public byte getElementType()- Specified by:
getElementType
in classAbstractListTag<ByteTag>
- 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<ByteTag>
- Specified by:
clear
in interfaceList<ByteTag>
- Overrides:
clear
in classAbstractList<ByteTag>
- Mappings:
Namespace Name Mixin selector official clear
Lmn;clear()V
intermediary clear
Lnet/minecraft/class_2479;clear()V
named clear
Lnet/minecraft/nbt/ByteArrayTag;clear()V
-