Modifier and Type | Field and Description |
---|---|
private byte[] |
data |
static INBTType<ByteArrayNBT> |
TYPE |
SYNTAX_HIGHLIGHTING_KEY, SYNTAX_HIGHLIGHTING_NUMBER, SYNTAX_HIGHLIGHTING_NUMBER_TYPE, SYNTAX_HIGHLIGHTING_STRING
Constructor and Description |
---|
ByteArrayNBT(byte[] data) |
ByteArrayNBT(java.util.List<java.lang.Byte> p_i47529_1_) |
Modifier and Type | Method and Description |
---|---|
void |
add(int p_add_1_,
ByteNBT p_add_2_) |
void |
clear() |
INBT |
copy() |
boolean |
equals(java.lang.Object p_equals_1_) |
boolean |
func_218659_a(int p_218659_1_,
INBT p_218659_2_) |
boolean |
func_218660_b(int p_218660_1_,
INBT p_218660_2_) |
ByteNBT |
get(int p_get_1_) |
byte[] |
getByteArray() |
byte |
getId() |
INBTType<ByteArrayNBT> |
getType() |
int |
hashCode() |
ByteNBT |
remove(int p_remove_1_) |
ByteNBT |
set(int p_set_1_,
ByteNBT p_set_2_) |
int |
size() |
private static byte[] |
toArray(java.util.List<java.lang.Byte> p_193589_0_) |
ITextComponent |
toFormattedComponent(java.lang.String indentation,
int indentDepth) |
java.lang.String |
toString() |
void |
write(java.io.DataOutput output) |
add, addAll, indexOf, iterator, lastIndexOf, listIterator, listIterator, removeRange, subList
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getString, toFormattedComponent
public static final INBTType<ByteArrayNBT> TYPE
private byte[] data
public ByteArrayNBT(byte[] data)
public ByteArrayNBT(java.util.List<java.lang.Byte> p_i47529_1_)
private static byte[] toArray(java.util.List<java.lang.Byte> p_193589_0_)
public void write(java.io.DataOutput output) throws java.io.IOException
java.io.IOException
public byte getId()
public INBTType<ByteArrayNBT> getType()
public java.lang.String toString()
public INBT copy()
public boolean equals(java.lang.Object p_equals_1_)
public int hashCode()
public ITextComponent toFormattedComponent(java.lang.String indentation, int indentDepth)
public byte[] getByteArray()
public int size()
public ByteNBT get(int p_get_1_)
public ByteNBT set(int p_set_1_, ByteNBT p_set_2_)
set
in interface java.util.List<ByteNBT>
set
in class CollectionNBT<ByteNBT>
public void add(int p_add_1_, ByteNBT p_add_2_)
add
in interface java.util.List<ByteNBT>
add
in class CollectionNBT<ByteNBT>
public boolean func_218659_a(int p_218659_1_, INBT p_218659_2_)
func_218659_a
in class CollectionNBT<ByteNBT>
public boolean func_218660_b(int p_218660_1_, INBT p_218660_2_)
func_218660_b
in class CollectionNBT<ByteNBT>
public ByteNBT remove(int p_remove_1_)
remove
in interface java.util.List<ByteNBT>
remove
in class CollectionNBT<ByteNBT>