Package net.minecraft.nbt
Class ByteArrayTag
- 
Field SummaryFieldsFields inherited from class java.util.AbstractListmodCountFields inherited from interface net.minecraft.nbt.TagARRAY_HEADER, MAX_DEPTH, OBJECT_HEADER, OBJECT_REFERENCE, STRING_SIZE, TAG_ANY_NUMERIC, TAG_BYTE, TAG_BYTE_ARRAY, TAG_COMPOUND, TAG_DOUBLE, TAG_END, TAG_FLOAT, TAG_INT, TAG_INT_ARRAY, TAG_LIST, TAG_LONG, TAG_LONG_ARRAY, TAG_SHORT, TAG_STRING
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class java.util.AbstractListadd, addAll, indexOf, iterator, lastIndexOf, listIterator, listIterator, removeRange, subListMethods inherited from class java.util.AbstractCollectionaddAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArrayMethods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.CollectionparallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.ListaddAll, contains, containsAll, isEmpty, remove, removeAll, replaceAll, retainAll, sort, spliterator, toArray, toArrayMethods inherited from interface net.minecraft.nbt.TaggetAsString
- 
Field Details- 
SELF_SIZE_IN_BITSprivate static final int SELF_SIZE_IN_BITS- See Also:
- Constant Field Values
 
- 
TYPE
- 
dataprivate byte[] data
 
- 
- 
Constructor Details- 
ByteArrayTagpublic ByteArrayTag(byte[] p_128191_)
- 
ByteArrayTag
 
- 
- 
Method Details- 
toArray
- 
write- Throws:
- IOException
 
- 
getIdpublic byte getId()
- 
getType
- 
toString- Specified by:
- toStringin interface- Tag
- Overrides:
- toStringin class- AbstractCollection<ByteTag>
 
- 
copy
- 
equals- Specified by:
- equalsin interface- Collection<ByteTag>
- Specified by:
- equalsin interface- List<ByteTag>
- Overrides:
- equalsin class- AbstractList<ByteTag>
 
- 
hashCodepublic int hashCode()- Specified by:
- hashCodein interface- Collection<ByteTag>
- Specified by:
- hashCodein interface- List<ByteTag>
- Overrides:
- hashCodein class- AbstractList<ByteTag>
 
- 
accept
- 
getAsByteArraypublic byte[] getAsByteArray()
- 
sizepublic int size()- Specified by:
- sizein interface- Collection<ByteTag>
- Specified by:
- sizein interface- List<ByteTag>
- Specified by:
- sizein class- AbstractCollection<ByteTag>
 
- 
get
- 
set
- 
add
- 
setTag- Specified by:
- setTagin class- CollectionTag<ByteTag>
 
- 
addTag- Specified by:
- addTagin class- CollectionTag<ByteTag>
 
- 
remove
- 
getElementTypepublic byte getElementType()- Specified by:
- getElementTypein class- CollectionTag<ByteTag>
 
- 
clearpublic void clear()- Specified by:
- clearin interface- Collection<ByteTag>
- Specified by:
- clearin interface- List<ByteTag>
- Overrides:
- clearin class- AbstractList<ByteTag>
 
 
-