Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- AdventureTagMapper - Class in com.saicone.nbt.mapper
-
TagMapper implementation to handle NBT values as Adventure code abstraction.
- AdventureTagMapper() - Constructor for class com.saicone.nbt.mapper.AdventureTagMapper
- ANSI - Static variable in class com.saicone.nbt.util.TagPalette
-
Tag palette with ANSI console color formatting.
- append(char) - Method in class com.saicone.nbt.io.AsyncStringWriter
- append(CharSequence) - Method in class com.saicone.nbt.io.AsyncStringWriter
- append(CharSequence, int, int) - Method in class com.saicone.nbt.io.AsyncStringWriter
- AsyncStringWriter - Class in com.saicone.nbt.io
-
A character stream that do the same functionality as
StringWriter
but using aStringBuilder
instead, that provides an asynchronous implementation of string writing.
Same asStringWriter
, closing this implementation has no effect since string builder is not a closeable implementation. - AsyncStringWriter() - Constructor for class com.saicone.nbt.io.AsyncStringWriter
-
Constructs an asynchronous string writer with newly generated string builder.
- AsyncStringWriter(StringBuilder) - Constructor for class com.saicone.nbt.io.AsyncStringWriter
-
Constructs an asynchronous string writer.
B
- base() - Method in class com.saicone.nbt.util.TagPalette
-
Get base color format for
{}
and any other part that doesn't have a defined color. - base(String) - Method in class com.saicone.nbt.util.TagPalette
-
Set base color format for
{}
and any other part that doesn't have a defined color. - BOOLEAN - Static variable in class com.saicone.nbt.TagType
-
Byte tag type represented as boolean value, only for compatibility purposes, this is not even a real tag type.
- BOOLEAN_ARRAY - Static variable in class com.saicone.nbt.TagType
-
Byte array tag type represented as boolean array value, only for compatibility purposes, this is not even a real tag type.
- booleanArray(Object) - Method in interface com.saicone.nbt.TagMapper
-
Get the provided object as primitive boolean array.
This includes compatibility with object array, primitive byte array and list of booleans. - bracket() - Method in class com.saicone.nbt.util.TagPalette
-
Get color format for
[]
. - bracket(String) - Method in class com.saicone.nbt.util.TagPalette
-
Set color format for
[]
. - build(TagType<?>, Object) - Method in class com.saicone.nbt.mapper.AdventureTagMapper
- build(TagType<?>, Object) - Method in class com.saicone.nbt.mapper.BukkitTagMapper
- build(TagType<?>, Object) - Method in class com.saicone.nbt.mapper.CloudburstTagMapper
- build(TagType<?>, Object) - Method in class com.saicone.nbt.mapper.JoNbtTagMapper
- build(TagType<?>, Object) - Method in class com.saicone.nbt.mapper.MinecraftTagMapper
- build(TagType<?>, Object) - Method in class com.saicone.nbt.mapper.NukkitTagMapper
- build(TagType<?>, Object) - Method in class com.saicone.nbt.mapper.ViaNbtTagMapper
- build(TagType<?>, Object) - Method in interface com.saicone.nbt.TagMapper
-
Create a tag object from its value represented as java object.
- build(Object) - Method in interface com.saicone.nbt.TagMapper
-
Create a tag object from its value represented as java object.
- buildAny(TagType<?>, Object) - Method in interface com.saicone.nbt.TagMapper
-
Create an unchecked tag object from its value represented as java object.
This method assumes that the required object is the type of that is returned. - buildAny(Object) - Method in interface com.saicone.nbt.TagMapper
-
Create an unchecked tag object from its value represented as java object.
This method assumes that the required object is the type of that is returned. - BukkitTagMapper - Class in com.saicone.nbt.mapper
-
TagMapper implementation to handle NBT values on Bukkit server implementations, including compatibility with mojang-mapped servers and older Bukkit versions like
1.7.x
.
Unlike other mapper implementations, this one useObject
as the main tag representation because every NBT object interaction is completely handled with aMethodHandle
. - BukkitTagMapper() - Constructor for class com.saicone.nbt.mapper.BukkitTagMapper
- BYTE - Static variable in class com.saicone.nbt.Tag
-
Byte tag ID, also used for Boolean objects.
- BYTE - Static variable in class com.saicone.nbt.TagType
-
Byte tag type.
- BYTE_ARRAY - Static variable in class com.saicone.nbt.Tag
-
Byte array tag ID, also used for Boolean array objects.
- BYTE_ARRAY - Static variable in class com.saicone.nbt.TagType
-
Byte array tag type.
- byteArray(Object) - Method in interface com.saicone.nbt.TagMapper
-
Get the provided object as primitive byte array.
This includes compatibility with object array, primitive boolean array and list of bytes.
C
- close() - Method in class com.saicone.nbt.io.AsyncStringWriter
- close() - Method in class com.saicone.nbt.io.ReverseDataOutputStream
- close() - Method in class com.saicone.nbt.io.TagInput
- close() - Method in class com.saicone.nbt.io.TagOutput
- close() - Method in class com.saicone.nbt.io.TagReader
- close() - Method in class com.saicone.nbt.io.TagWriter
- CloudburstTagMapper - Class in com.saicone.nbt.mapper
-
TagMapper implementation to handle NBT values as CloudburstMC code abstraction.
- CloudburstTagMapper() - Constructor for class com.saicone.nbt.mapper.CloudburstTagMapper
- colon() - Method in class com.saicone.nbt.util.TagPalette
-
Get color format for
:
. - colon(String) - Method in class com.saicone.nbt.util.TagPalette
-
Set color format for
:
. - color(Object, String) - Method in class com.saicone.nbt.util.TagPalette
-
Color nbt-represented java object with provided indent and
TagMapper
. - color(T, String, TagMapper<T>, int) - Method in class com.saicone.nbt.util.TagPalette
-
Color tag object with provided indent and
TagMapper
. - color(T, String, TagMapper<T>) - Method in class com.saicone.nbt.util.TagPalette
-
Color tag object with provided indent and
TagMapper
. - colorArray(TagType<?>, Object) - Method in class com.saicone.nbt.util.TagPalette
-
Color tag array with provided type.
- colorCompound(Map<String, T>, String, TagMapper<T>, int) - Method in class com.saicone.nbt.util.TagPalette
-
Color tag compound with provided indent and
TagMapper
. - colorList(List<T>, String, TagMapper<T>, int) - Method in class com.saicone.nbt.util.TagPalette
-
Color tag list with provided indent and
TagMapper
. - COLORS - Static variable in class com.saicone.nbt.util.TagPalette
-
Tag palette that provide color names.
- com.saicone.nbt - package com.saicone.nbt
-
This package provides the common tag-related classes that are used across the project.
- com.saicone.nbt.io - package com.saicone.nbt.io
-
This package provides input/output classes implementation to handle data as or from tag objects.
- com.saicone.nbt.mapper - package com.saicone.nbt.mapper
-
This package provides mapper implementations to handle nbt abstraction.
- com.saicone.nbt.util - package com.saicone.nbt.util
-
This package provides utility classes to handle tag objects as other formats.
- com.saicone.nbt.util.zip - package com.saicone.nbt.util.zip
-
This package provides zip-related utility classes.
- comma() - Method in class com.saicone.nbt.util.TagPalette
-
Get color format for
,
. - comma(String) - Method in class com.saicone.nbt.util.TagPalette
-
Set color format for
,
. - COMPOUND - Static variable in class com.saicone.nbt.Tag
-
Compound tag ID, also a Map with String keys and tag objects.
- COMPOUND - Static variable in class com.saicone.nbt.TagType
-
Compound tag type.
- copy() - Method in class com.saicone.nbt.util.TagPalette
-
Copy the current tag palette.
- copy(Tag) - Method in class com.saicone.nbt.mapper.NukkitTagMapper
- copy(Tag) - Method in class com.saicone.nbt.mapper.ViaNbtTagMapper
- copy(Object) - Method in class com.saicone.nbt.mapper.BukkitTagMapper
- copy(Object) - Method in class com.saicone.nbt.mapper.CloudburstTagMapper
- copy(Tag) - Method in class com.saicone.nbt.mapper.MinecraftTagMapper
- copy(Tag) - Method in class com.saicone.nbt.mapper.JoNbtTagMapper
- copy(T) - Method in interface com.saicone.nbt.TagMapper
-
Copy the provided tag object and any of its elements.
D
- decrementDepth() - Method in class com.saicone.nbt.io.TagInput
-
Decrement nested value depth usage.
- deepExtract(T) - Method in interface com.saicone.nbt.TagMapper
-
Deeply extract the inner value that tag object implementation contains and it's elements if inner value it is a List or Map.
- DEFAULT - Static variable in interface com.saicone.nbt.TagMapper
-
A default mapper compatible with any Java object that is represented on
TagType
. - DEFAULT - Static variable in class com.saicone.nbt.util.TagPalette
-
Tag palette with default legacy color codes.
- DEFAULT_BEDROCK_VERSION - Static variable in class com.saicone.nbt.Tag
-
Default bedrock file header version.
- DEFAULT_NBT_QUOTA - Static variable in class com.saicone.nbt.Tag
-
Default max NBT quota, around 2MB of data.
- DOUBLE - Static variable in class com.saicone.nbt.Tag
-
Double tag ID.
- DOUBLE - Static variable in class com.saicone.nbt.TagType
-
Double tag type.
E
- end() - Method in class com.saicone.nbt.util.TagPalette
-
Get end string to append.
- end(String) - Method in class com.saicone.nbt.util.TagPalette
-
Set end string to append.
- END - Static variable in class com.saicone.nbt.Tag
-
End tag ID, a tag that represent the end of stream or a null value.
- END - Static variable in class com.saicone.nbt.TagType
-
End tag type, a tag that represent the end of stream or a null value.
- equals(Object) - Method in class com.saicone.nbt.TagType
- extract(Tag) - Method in class com.saicone.nbt.mapper.NukkitTagMapper
- extract(Tag) - Method in class com.saicone.nbt.mapper.ViaNbtTagMapper
- extract(Object) - Method in class com.saicone.nbt.mapper.BukkitTagMapper
- extract(Object) - Method in class com.saicone.nbt.mapper.CloudburstTagMapper
- extract(BinaryTag) - Method in class com.saicone.nbt.mapper.AdventureTagMapper
- extract(Tag) - Method in class com.saicone.nbt.mapper.MinecraftTagMapper
- extract(Tag) - Method in class com.saicone.nbt.mapper.JoNbtTagMapper
- extract(T) - Method in interface com.saicone.nbt.TagMapper
-
Extracts the inner value that tag object implementation contains.
F
- FallbackDataOutput - Class in com.saicone.nbt.io
-
A delegated-first data output implementation that executes all the methods into delegated
DataOutput
.
The main difference is that anyUTFDataFormatException
will make the method to be executed again with an empty string instead. - FallbackDataOutput(DataOutput) - Constructor for class com.saicone.nbt.io.FallbackDataOutput
-
Constructs a fallback data output with delegated
DataOutput
. - FLOAT - Static variable in class com.saicone.nbt.Tag
-
Float tag ID.
- FLOAT - Static variable in class com.saicone.nbt.TagType
-
Float tag type.
- flush() - Method in class com.saicone.nbt.io.AsyncStringWriter
- flush() - Method in class com.saicone.nbt.io.TagWriter
- fromConfigValue(Object) - Static method in class com.saicone.nbt.util.TagConfig
-
Convert simplified configuration value into nbt-represented java object.
- fromConfigValue(Object, TagMapper<T>) - Static method in class com.saicone.nbt.util.TagConfig
-
Convert simplified configuration value into tag object with provided
TagMapper
. - fromJson(JsonElement) - Static method in class com.saicone.nbt.util.TagJson
-
Convert
JsonElement
into nbt-represented java object. - fromJson(JsonElement, TagMapper<T>) - Static method in class com.saicone.nbt.util.TagJson
-
Convert
JsonElement
into tag object with providedTagMapper
. - fromString(String) - Static method in class com.saicone.nbt.io.TagReader
-
Convert nbt-represented java object with provided
TagMapper
. - fromString(String, TagMapper<T>) - Static method in class com.saicone.nbt.io.TagReader
-
Convert SNBT into tag object with provided
TagMapper
.
G
- getArrayType(char) - Method in class com.saicone.nbt.io.TagReader
-
Get associated array tag type with provided suffix.
This method will only return array-value tag types. - getBuilder() - Method in class com.saicone.nbt.io.AsyncStringWriter
-
Get current string builder used to append characters.
- getByteHeader(File) - Method in class com.saicone.nbt.util.zip.ZipFormat
-
Get the byte array header required by the current algorithm implementation from file.
- getByteHeader(InputStream) - Method in class com.saicone.nbt.util.zip.ZipFormat
-
Get the byte array header required by the current algorithm implementation from
InputStream
. - getByteHeader(Path) - Method in class com.saicone.nbt.util.zip.ZipFormat
-
Get the byte array header required by the current algorithm implementation from path.
- getByteSize() - Method in class com.saicone.nbt.util.zip.ZipFormat
-
Get size of bytes that the current algorithm implementation have.
- getByteSize() - Method in class com.saicone.nbt.util.zip.ZipFormat.Gzip
- getByteSize() - Method in class com.saicone.nbt.util.zip.ZipFormat.Lz4
- getByteSize() - Method in class com.saicone.nbt.util.zip.ZipFormat.Zlib
- getCompressionLevel(int[]) - Method in class com.saicone.nbt.util.zip.ZipFormat.Zlib
-
Get zlib compression level from byte array header.
- getCompressionLevel(File) - Method in class com.saicone.nbt.util.zip.ZipFormat.Zlib
-
Get zlib compression level from file.
- getCompressionLevel(InputStream) - Method in class com.saicone.nbt.util.zip.ZipFormat.Zlib
-
Get zlib compression level from
InputStream
. - getCompressionLevel(Path) - Method in class com.saicone.nbt.util.zip.ZipFormat.Zlib
-
Get zlib compression level from path.
- getInput() - Method in class com.saicone.nbt.io.TagInput
-
Get the delegated data input.
- getMapper() - Method in class com.saicone.nbt.io.TagInput
-
Get the mapper that is used to create tag objects.
- getMapper() - Method in class com.saicone.nbt.io.TagOutput
-
Get the mapper that is used to extract values.
- getMapper() - Method in class com.saicone.nbt.io.TagReader
-
Get the mapper that is used to create tag objects.
- getMapper() - Method in class com.saicone.nbt.io.TagWriter
-
Get the mapper that is used to extract values.
- getOutput() - Method in class com.saicone.nbt.io.TagOutput
-
Get delegated data output
- getReader() - Method in class com.saicone.nbt.io.TagReader
-
Get the delegated reader.
- getRemainingDepth() - Method in class com.saicone.nbt.io.TagInput
-
Get the remaining nested value depth.
- getRemainingQuota() - Method in class com.saicone.nbt.io.TagInput
-
Get the remaining quota for tag byte size.
- getType(byte) - Static method in class com.saicone.nbt.TagType
-
Get tag type by ID, the provided type must be a valid ID or invalid tag type will be return.
- getType(char) - Method in class com.saicone.nbt.io.TagReader
-
Get associated tag type with provided suffix.
This method will only return single-value tag types. - getType(Class<?>) - Static method in class com.saicone.nbt.TagType
-
Get tag type by associated class type, the provided class type must be represented with NBT value or invalid tag type will be return.
- getType(Object) - Static method in class com.saicone.nbt.TagType
-
Get tag type by associated java object type, the provided object must be an object that can be represented with NBT value or invalid tag type will be return.
- getWriter() - Method in class com.saicone.nbt.io.TagWriter
-
Get the delegated writer.
- gzip() - Static method in class com.saicone.nbt.util.zip.ZipFormat
-
Get gzip compression algorithm implementation.
- Gzip() - Constructor for class com.saicone.nbt.util.zip.ZipFormat.Gzip
-
Constructs a gzip format.
H
- hashCode() - Method in class com.saicone.nbt.TagType
- hasStaticSize() - Method in class com.saicone.nbt.TagType
-
Check if the current tag type has a static byte size.
I
- id() - Method in class com.saicone.nbt.TagType
-
Get the current tag ID.
- incrementDepth() - Method in class com.saicone.nbt.io.TagInput
-
Increment nested value depth usage.
- INSTANCE - Static variable in class com.saicone.nbt.mapper.AdventureTagMapper
-
AdventureTagMapper
public instance. - INSTANCE - Static variable in class com.saicone.nbt.mapper.BukkitTagMapper
-
BukkitTagMapper
public instance. - INSTANCE - Static variable in class com.saicone.nbt.mapper.CloudburstTagMapper
-
CloudburstTagMapper
public instance. - INSTANCE - Static variable in class com.saicone.nbt.mapper.JoNbtTagMapper
-
JoNbtTagMapper
public instance. - INSTANCE - Static variable in class com.saicone.nbt.mapper.MinecraftTagMapper
-
MinecraftTagMapper
public instance. - INSTANCE - Static variable in class com.saicone.nbt.mapper.NukkitTagMapper
-
NukkitTagMapper
public instance. - INSTANCE - Static variable in class com.saicone.nbt.mapper.ViaNbtTagMapper
-
ViaNbtTagMapper
public instance. - INSTANCE - Static variable in class com.saicone.nbt.util.zip.ZipFormat.Gzip
-
ZipFormat.Gzip
public instance. - INSTANCE - Static variable in class com.saicone.nbt.util.zip.ZipFormat.Lz4
-
ZipFormat.Lz4
public instance. - INSTANCE - Static variable in class com.saicone.nbt.util.zip.ZipFormat.Zlib
-
ZipFormat.Zlib
public instance. - INT - Static variable in class com.saicone.nbt.Tag
-
Integer tag ID.
- INT - Static variable in class com.saicone.nbt.TagType
-
Integer tag type.
- INT_ARRAY - Static variable in class com.saicone.nbt.Tag
-
Integer array tag ID.
- INT_ARRAY - Static variable in class com.saicone.nbt.TagType
-
Integer array tag type.
- intArray(Object) - Method in interface com.saicone.nbt.TagMapper
-
Get the provided object as primitive int array.
This includes compatibility with object array and list of integers. - isArray() - Method in class com.saicone.nbt.TagType
-
Check if the current tag type is an array type.
- isDecimal() - Method in class com.saicone.nbt.TagType
-
Check if the current tag type is a decimal number type.
- isFormatted(int[]) - Method in class com.saicone.nbt.util.zip.ZipFormat.Gzip
- isFormatted(int[]) - Method in class com.saicone.nbt.util.zip.ZipFormat
-
Check if the provided byte array is formatted with the current algorithm implementation.
- isFormatted(int[]) - Method in class com.saicone.nbt.util.zip.ZipFormat.Lz4
- isFormatted(int[]) - Method in class com.saicone.nbt.util.zip.ZipFormat.Zlib
- isFormatted(File) - Method in class com.saicone.nbt.util.zip.ZipFormat
-
Check if the provided file is formatted with the current algorithm implementation.
- isFormatted(InputStream) - Method in class com.saicone.nbt.util.zip.ZipFormat
-
Check if the provided
InputStream
is formatted with the current algorithm implementation. - isFormatted(Path) - Method in class com.saicone.nbt.util.zip.ZipFormat
-
Check if the provided path is formatted with the current algorithm implementation.
- isGzipHeader(int, int) - Method in class com.saicone.nbt.util.zip.ZipFormat.Gzip
-
Check if the provided bytes are the same has
GZIPInputStream.GZIP_MAGIC
. - isLeadingSign(int) - Method in class com.saicone.nbt.io.TagReader
-
Check if provided char is a number leading sign.
- isLoaded() - Method in class com.saicone.nbt.util.zip.ZipFormat.Lz4
-
Check if lz4 library is loaded on classpath.
- isNumber(String) - Method in class com.saicone.nbt.io.TagReader
-
Check if the provided string is a number and also a decimal number.
- isPrimitive() - Method in class com.saicone.nbt.TagType
-
Check if the current tag type represents a primitive object type.
- isQuote(int) - Method in class com.saicone.nbt.io.TagReader
-
Check if provided char is a quote.
- isType(Object) - Method in class com.saicone.nbt.mapper.AdventureTagMapper
- isType(Object) - Method in class com.saicone.nbt.mapper.BukkitTagMapper
- isType(Object) - Method in class com.saicone.nbt.mapper.JoNbtTagMapper
- isType(Object) - Method in class com.saicone.nbt.mapper.MinecraftTagMapper
- isType(Object) - Method in class com.saicone.nbt.mapper.NukkitTagMapper
- isType(Object) - Method in class com.saicone.nbt.mapper.ViaNbtTagMapper
- isType(Object) - Method in interface com.saicone.nbt.TagMapper
-
Check if the provided object is part of custom tag object implementation used on this instance.
- isUnquoted(char) - Method in class com.saicone.nbt.io.TagWriter
-
Check if the provided char is an allowed unquoted character.
- isUnquoted(int) - Method in class com.saicone.nbt.io.TagReader
-
Check if provided char is an unquoted character.
- isUnquoted(String) - Method in class com.saicone.nbt.io.TagWriter
-
Check if the provided string should be unquoted.
- isValid() - Method in class com.saicone.nbt.TagType
-
Check if the current tag type is a valid tag.
- isValue() - Method in class com.saicone.nbt.TagType
-
Check if the current tag type is a single value object type.
J
- JoNbtTagMapper - Class in com.saicone.nbt.mapper
-
TagMapper implementation to handle NBT values as jo-nbt code abstraction.
- JoNbtTagMapper() - Constructor for class com.saicone.nbt.mapper.JoNbtTagMapper
- JSON - Static variable in class com.saicone.nbt.util.TagPalette
-
Tag palette with raw json color formatting.
K
- key() - Method in class com.saicone.nbt.util.TagPalette
-
Get color format for compound keys.
- key(String) - Method in class com.saicone.nbt.util.TagPalette
-
Set color format for compound keys.
L
- LIST - Static variable in class com.saicone.nbt.Tag
-
List tag ID.
- LIST - Static variable in class com.saicone.nbt.TagType
-
List tag type.
- listType(Tag) - Method in class com.saicone.nbt.mapper.NukkitTagMapper
- listType(Tag) - Method in class com.saicone.nbt.mapper.ViaNbtTagMapper
- listType(Object) - Method in class com.saicone.nbt.mapper.BukkitTagMapper
- listType(Object) - Method in class com.saicone.nbt.mapper.CloudburstTagMapper
- listType(BinaryTag) - Method in class com.saicone.nbt.mapper.AdventureTagMapper
- listType(Tag) - Method in class com.saicone.nbt.mapper.MinecraftTagMapper
- listType(Tag) - Method in class com.saicone.nbt.mapper.JoNbtTagMapper
- listType(T) - Method in interface com.saicone.nbt.TagMapper
-
Get a
TagType
that represents the type of tag that is being stored by provided list tag. - listTypeId(Tag) - Method in class com.saicone.nbt.mapper.NukkitTagMapper
- listTypeId(Tag) - Method in class com.saicone.nbt.mapper.ViaNbtTagMapper
- listTypeId(Object) - Method in class com.saicone.nbt.mapper.BukkitTagMapper
- listTypeId(Object) - Method in class com.saicone.nbt.mapper.CloudburstTagMapper
- listTypeId(Tag) - Method in class com.saicone.nbt.mapper.MinecraftTagMapper
- listTypeId(Tag) - Method in class com.saicone.nbt.mapper.JoNbtTagMapper
- listTypeId(T) - Method in interface com.saicone.nbt.TagMapper
-
Get the type id of tag that is being stored by provided list tag.
- LONG - Static variable in class com.saicone.nbt.Tag
-
Long tag ID.
- LONG - Static variable in class com.saicone.nbt.TagType
-
Long tag type.
- LONG_ARRAY - Static variable in class com.saicone.nbt.Tag
-
Long array tag ID.
- LONG_ARRAY - Static variable in class com.saicone.nbt.TagType
-
Long array tag type.
- longArray(Object) - Method in interface com.saicone.nbt.TagMapper
-
Get the provided object as primitive long array.
This includes compatibility with object array and list of longs. - lz4() - Static method in class com.saicone.nbt.util.zip.ZipFormat
-
Get lz4 compression algorithm implementation.
- Lz4() - Constructor for class com.saicone.nbt.util.zip.ZipFormat.Lz4
-
Constructs a lz4 format.
M
- MAGIC - Static variable in class com.saicone.nbt.util.zip.ZipFormat.Lz4
-
Lz4 header magic number.
- MAP_ENTRY_SIZE - Static variable in class com.saicone.nbt.Tag
-
Map entry pair size in bytes.
- MAP_KEY_SIZE - Static variable in class com.saicone.nbt.Tag
-
Map key size in bytes.
- mark(int) - Method in class com.saicone.nbt.io.TagReader
- markSupported() - Method in class com.saicone.nbt.io.TagReader
- MAX_STACK_DEPTH - Static variable in class com.saicone.nbt.Tag
-
Default max stack depth for nested values.
- maxDepth(int) - Method in class com.saicone.nbt.io.TagInput
-
Set the maximum nested value depth allowed by this instance.
- maxQuota(long) - Method in class com.saicone.nbt.io.TagInput
-
Set the maximum byte size allowed by this instance.
- MinecraftTagMapper - Class in com.saicone.nbt.mapper
-
TagMapper implementation to handle NBT values as Minecraft code abstraction.
- MinecraftTagMapper() - Constructor for class com.saicone.nbt.mapper.MinecraftTagMapper
- MINI_MESSAGE - Static variable in class com.saicone.nbt.util.TagPalette
-
Tag palette with MiniMessage color formatting.
N
- name() - Method in class com.saicone.nbt.TagType
-
Get the current tag name, for some types, the name is different from an allowed enum name.
- NetworkDataInputStream - Class in com.saicone.nbt.io
-
A network data input stream do the same functionality as
ReverseDataInputStream
but read every integer as VarInt32 and long as VarInt64.
This implementation aims to be same as Minecraft Bedrock network data decoding. - NetworkDataInputStream(InputStream) - Constructor for class com.saicone.nbt.io.NetworkDataInputStream
-
Constructs a network data input stream.
- NetworkDataOutputStream - Class in com.saicone.nbt.io
-
A network data output stream do the same functionality as
ReverseDataOutputStream
but writes integers as VarInt32, longs as VarInt64 and String size as unsigned VarInt32.
This implementation aims to be same as Minecraft Bedrock network data encoding. - NetworkDataOutputStream(OutputStream) - Constructor for class com.saicone.nbt.io.NetworkDataOutputStream
-
Constructs a network data output stream.
- newInputStream(File) - Method in class com.saicone.nbt.util.zip.ZipFormat
-
Create an
InputStream
with the current algorithm implementation. - newInputStream(InputStream) - Method in class com.saicone.nbt.util.zip.ZipFormat.Gzip
- newInputStream(InputStream) - Method in class com.saicone.nbt.util.zip.ZipFormat.Lz4
- newInputStream(InputStream) - Method in class com.saicone.nbt.util.zip.ZipFormat
-
Create an
InputStream
with the current algorithm implementation. - newInputStream(InputStream) - Method in class com.saicone.nbt.util.zip.ZipFormat.Zlib
- newInputStream(Path) - Method in class com.saicone.nbt.util.zip.ZipFormat
-
Create an
InputStream
with the current algorithm implementation. - newOutputStream(File) - Method in class com.saicone.nbt.util.zip.ZipFormat
-
Create an
OutputStream
with the current algorithm implementation. - newOutputStream(OutputStream) - Method in class com.saicone.nbt.util.zip.ZipFormat.Gzip
- newOutputStream(OutputStream) - Method in class com.saicone.nbt.util.zip.ZipFormat.Lz4
- newOutputStream(OutputStream) - Method in class com.saicone.nbt.util.zip.ZipFormat
-
Create an
OutputStream
with the current algorithm implementation. - newOutputStream(OutputStream) - Method in class com.saicone.nbt.util.zip.ZipFormat.Zlib
- newOutputStream(Path) - Method in class com.saicone.nbt.util.zip.ZipFormat
-
Create an
OutputStream
with the current algorithm implementation. - NukkitTagMapper - Class in com.saicone.nbt.mapper
-
TagMapper implementation to handle NBT values as Nukkit code abstraction.
- NukkitTagMapper() - Constructor for class com.saicone.nbt.mapper.NukkitTagMapper
O
- of(DataInput) - Static method in class com.saicone.nbt.io.TagInput
- of(DataInput, TagMapper<T>) - Static method in class com.saicone.nbt.io.TagInput
- of(DataOutput) - Static method in class com.saicone.nbt.io.TagOutput
-
Create a tag output that accepts nbt-represented java objects with provided
DataOutput
. - of(DataOutput, TagMapper<T>) - Static method in class com.saicone.nbt.io.TagOutput
-
Create a tag output with provided
DataOutput
andTagMapper
. - of(Reader) - Static method in class com.saicone.nbt.io.TagReader
-
Create a tag reader that create nbt-represented java objects with provided
Reader
. - of(Reader, TagMapper<T>) - Static method in class com.saicone.nbt.io.TagReader
- of(Writer) - Static method in class com.saicone.nbt.io.TagWriter
-
Create a tag writer that accepts nbt-represented java objects with provided
Writer
. - of(Writer, TagMapper<T>) - Static method in class com.saicone.nbt.io.TagWriter
- of(String) - Static method in class com.saicone.nbt.io.TagReader
-
Create a tag reader that create nbt-represented java objects with provided string to read.
- of(String, TagMapper<T>) - Static method in class com.saicone.nbt.io.TagReader
-
Create a tag reader with provided string to read and
TagMapper
.
P
- parse(TagType<?>, Object) - Method in interface com.saicone.nbt.TagMapper
-
Convert the provided value and any inner element to tag object.
This method safely convert any unmodifiable list or map into a required one. - parse(Object) - Method in class com.saicone.nbt.mapper.CloudburstTagMapper
- parse(Object) - Method in interface com.saicone.nbt.TagMapper
-
Convert the provided value and any inner element to tag object if it isn't a tag type.
This method safely convert any unmodifiable list or map into a required one. - parse(List<?>) - Method in class com.saicone.nbt.mapper.BukkitTagMapper
- parse(List<?>) - Method in class com.saicone.nbt.mapper.MinecraftTagMapper
- parse(List<?>) - Method in interface com.saicone.nbt.TagMapper
-
Convert the provided list and any inner element to tag object.
This method safely convert any unmodifiable list into a required one. - parse(Map<String, ?>) - Method in class com.saicone.nbt.mapper.BukkitTagMapper
- parse(Map<String, ?>) - Method in interface com.saicone.nbt.TagMapper
-
Convert the provided map and any inner value to tag object.
This method safely convert any unmodifiable map into a required one. - parseAny(TagType<?>, Object) - Method in interface com.saicone.nbt.TagMapper
-
Create an unchecked tag object from the provided value and any inner element.
This method assumes that the required object is the type of that is returned and also safely convert any unmodifiable list or map into a required one. - parseAny(Object) - Method in interface com.saicone.nbt.TagMapper
-
Create an unchecked tag object from the provided value and any inner element if it isn't a tag type.
This method assumes that the required object is the type of that is returned and also safely convert any unmodifiable list or map into a required one. - prettyName() - Method in class com.saicone.nbt.TagType
-
Get the current pretty name of tag.
Q
- quote() - Method in class com.saicone.nbt.util.TagPalette
-
Get color format for
"
. - quote(String) - Method in class com.saicone.nbt.util.TagPalette
-
Set color format for
"
.
R
- read() - Method in class com.saicone.nbt.io.TagReader
- read(char[], int, int) - Method in class com.saicone.nbt.io.TagReader
- readAny() - Method in class com.saicone.nbt.io.TagInput
-
Read tag object with any format.
This format is used primarily on network connections. - readArrayTag() - Method in class com.saicone.nbt.io.TagReader
-
Read array tag.
- readArrayTag(int) - Method in class com.saicone.nbt.io.TagReader
-
Read array tag with associated type ID.
- readArrayTag(TagType<?>, boolean, Function<String, Object>, Function<List<Object>, Object>) - Method in class com.saicone.nbt.io.TagReader
-
Read array tag with associated type.
- readBedrockFile() - Method in class com.saicone.nbt.io.TagInput
-
Read tag object with bedrock file format.
This method will skip the header. - readBoolean() - Method in class com.saicone.nbt.io.ReverseDataInputStream
- readByte() - Method in class com.saicone.nbt.io.ReverseDataInputStream
- readByteArray() - Method in class com.saicone.nbt.io.TagInput
-
Read tag array value.
- readChar() - Method in class com.saicone.nbt.io.ReverseDataInputStream
- readCompound() - Method in class com.saicone.nbt.io.TagInput
-
Read map of string keys and tag object values.
- readCompoundTag() - Method in class com.saicone.nbt.io.TagReader
-
Read compound tag.
- readCompoundTag0() - Method in class com.saicone.nbt.io.TagReader
-
Read compound tag after first bracket.
- readDouble() - Method in class com.saicone.nbt.io.ReverseDataInputStream
- readFloat() - Method in class com.saicone.nbt.io.ReverseDataInputStream
- readFully(byte[]) - Method in class com.saicone.nbt.io.ReverseDataInputStream
- readFully(byte[], int, int) - Method in class com.saicone.nbt.io.ReverseDataInputStream
- readInt() - Method in class com.saicone.nbt.io.NetworkDataInputStream
- readInt() - Method in class com.saicone.nbt.io.ReverseDataInputStream
- readIntArray() - Method in class com.saicone.nbt.io.TagInput
-
Read tag array value.
- readKey() - Method in class com.saicone.nbt.io.TagInput
-
Read map key and account its size into current instance.
- readKey() - Method in class com.saicone.nbt.io.TagReader
-
Read compound key.
- readLine() - Method in class com.saicone.nbt.io.ReverseDataInputStream
- readList() - Method in class com.saicone.nbt.io.TagInput
-
Read list of tags value.
- readListTag() - Method in class com.saicone.nbt.io.TagReader
-
Read list tag.
- readLong() - Method in class com.saicone.nbt.io.NetworkDataInputStream
- readLong() - Method in class com.saicone.nbt.io.ReverseDataInputStream
- readLongArray() - Method in class com.saicone.nbt.io.TagInput
-
Read tag array value.
- readQuoted(int) - Method in class com.saicone.nbt.io.TagReader
-
Read quoted value.
- readQuotedTag() - Method in class com.saicone.nbt.io.TagReader
-
Read quoted tag value, this only reads a String tag type.
- readQuotedTag(int) - Method in class com.saicone.nbt.io.TagReader
-
Read quoted tag value, this only reads a String tag type.
- readShort() - Method in class com.saicone.nbt.io.ReverseDataInputStream
- readTag() - Method in class com.saicone.nbt.io.TagReader
-
Read tag object.
- readTag(TagType<?>) - Method in class com.saicone.nbt.io.TagInput
-
Read tag object by providing a tag type.
This method assumes that tag ID was already skipped / read. - readUnnamed() - Method in class com.saicone.nbt.io.TagInput
-
Read tag object with unnamed tag format.
- readUnquoted() - Method in class com.saicone.nbt.io.TagReader
-
Read unquoted value.
- readUnquoted(int) - Method in class com.saicone.nbt.io.TagReader
-
Read unquoted value.
- readUnquotedTag() - Method in class com.saicone.nbt.io.TagReader
-
Read single-value unquoted tag object.
- readUnquotedTag(int) - Method in class com.saicone.nbt.io.TagReader
-
Read single-value unquoted tag object.
- readUnsignedByte() - Method in class com.saicone.nbt.io.ReverseDataInputStream
- readUnsignedShort() - Method in class com.saicone.nbt.io.ReverseDataInputStream
- readUnsignedVarInt32() - Method in class com.saicone.nbt.io.NetworkDataInputStream
-
Read an unsigned VarInt32 as integer.
- readUnsignedVarInt64() - Method in class com.saicone.nbt.io.NetworkDataInputStream
-
Read an unsigned VarInt64 as integer.
- readUTF() - Method in class com.saicone.nbt.io.NetworkDataInputStream
- readUTF() - Method in class com.saicone.nbt.io.ReverseDataInputStream
- readValueTag() - Method in class com.saicone.nbt.io.TagReader
-
Read single-value tag object.
- readValueTag(int) - Method in class com.saicone.nbt.io.TagReader
-
Read single-value tag object.
- ready() - Method in class com.saicone.nbt.io.TagReader
- reset() - Method in class com.saicone.nbt.io.TagReader
- ReverseDataInputStream - Class in com.saicone.nbt.io
-
A reverse data input stream do the same functionality as
DataInputStream
but read every number with its bytes reversed, in other words, using little endian decoding. - ReverseDataInputStream(InputStream) - Constructor for class com.saicone.nbt.io.ReverseDataInputStream
-
Constructs a reverse data input stream.
- ReverseDataOutputStream - Class in com.saicone.nbt.io
-
A reverse data output stream do the same functionality as
DataOutputStream
but writes every number with its bytes reversed, in other words, using little endian encoding.
Instead ofDataOutputStream
, it uses a simplified method to write Strings as UTF-8 format. - ReverseDataOutputStream(OutputStream) - Constructor for class com.saicone.nbt.io.ReverseDataOutputStream
-
Constructs a reverse data output stream.
S
- SHORT - Static variable in class com.saicone.nbt.Tag
-
Short tag ID
- SHORT - Static variable in class com.saicone.nbt.TagType
-
Short tag type.
- size() - Method in class com.saicone.nbt.TagType
-
Get the current base or static size of tag.
- size(Object) - Method in class com.saicone.nbt.mapper.BukkitTagMapper
- size(Object) - Method in class com.saicone.nbt.mapper.CloudburstTagMapper
- size(List<T>) - Method in interface com.saicone.nbt.TagMapper
-
Get the size of bytes from list tag value.
- size(Map<String, T>) - Method in interface com.saicone.nbt.TagMapper
-
Get the size of bytes from compound tag value.
- size(Tag) - Method in class com.saicone.nbt.mapper.MinecraftTagMapper
- size(Tag) - Method in class com.saicone.nbt.mapper.JoNbtTagMapper
- size(T) - Method in class com.saicone.nbt.TagType
-
Get the current size if object represented by this tag.
- size(T) - Method in interface com.saicone.nbt.TagMapper
-
Get the size of bytes from tag object implementation.
- skip(char) - Method in class com.saicone.nbt.io.TagReader
-
Skips specific character from reader, this method will ignore any whitespace before character.
- skip(long) - Method in class com.saicone.nbt.io.TagReader
- skipBytes(int) - Method in class com.saicone.nbt.io.ReverseDataInputStream
- skipSpaces() - Method in class com.saicone.nbt.io.TagReader
-
Skips whitespaces.
- STRING - Static variable in class com.saicone.nbt.Tag
-
String tag ID.
- STRING - Static variable in class com.saicone.nbt.TagType
-
String tag type.
- suffix() - Method in class com.saicone.nbt.TagType
-
Get the current suffix of tag, this may differ on array types or fake representations.
- suffix(TagType<?>) - Method in class com.saicone.nbt.util.TagPalette
-
Get suffix color format for provided tag.
- suffix(TagType<?>, String) - Method in class com.saicone.nbt.util.TagPalette
-
Set color format for defined tag suffix.
- suffix(String) - Method in class com.saicone.nbt.util.TagPalette
-
Set default color format for tag suffixes.
T
- Tag - Class in com.saicone.nbt
-
Constant class that holds common tag values.
- TagConfig - Class in com.saicone.nbt.util
-
Utility class to read/write tags from/as simplified configuration format.
- TagInput<T> - Class in com.saicone.nbt.io
-
Tag Output
A tag input provides methods for reading multiples data formats from a delegatedDataInput
and reconstructing from them data in any tag object type. - TagInput(DataInput, TagMapper<T>) - Constructor for class com.saicone.nbt.io.TagInput
- TagJson - Class in com.saicone.nbt.util
-
Utility class to read/write tags from/as json format.
- TagMapper<T> - Interface in com.saicone.nbt
-
Tag Mapper
A tag mapper is a customizable tag abstraction, for example, most NBT implementations use classes like "TagString" or "NbtCompound" referring the kind of value that is handled.
With a tag mapper this library can build NBT objects as that custom implementation and extract the values from them. - TagOutput<T> - Class in com.saicone.nbt.io
-
Tag Output
A tag output provides methods for converting multiples data formats from any tag object to a delegatedDataOutput
. - TagOutput(DataOutput, TagMapper<T>) - Constructor for class com.saicone.nbt.io.TagOutput
-
Constructs a tag output with provided
DataOutput
andTagMapper
. - TagPalette - Class in com.saicone.nbt.util
-
Utility class to colorize tag objects with provided or custom palettes.
- TagPalette() - Constructor for class com.saicone.nbt.util.TagPalette
-
Constructs a tag palette.
- TagReader<T> - Class in com.saicone.nbt.io
-
Reads SNBT formated tag objects from delegated reader.
The compatible format aims to be the same as Minecraft. - TagReader(Reader, TagMapper<T>) - Constructor for class com.saicone.nbt.io.TagReader
- TagType<T> - Class in com.saicone.nbt
-
Define a tag type with associated object representation.
A tag type can be used to get common information about tags like ID, name, pretty name and size in bytes. - TagWriter<T> - Class in com.saicone.nbt.io
-
Writes tag objects into delegated
Writer
as SNBT format.
The formatting method aims to be compatible with older Minecraft versions by avoiding the usage of single quotes. - TagWriter(Writer, TagMapper<T>) - Constructor for class com.saicone.nbt.io.TagWriter
- toConfigValue(Object) - Static method in class com.saicone.nbt.util.TagConfig
-
Convert nbt-represented java object into config value.
- toConfigValue(T, TagMapper<T>) - Static method in class com.saicone.nbt.util.TagConfig
-
Convert tag object into config value with provided
TagMapper
. - toJson(Object) - Static method in class com.saicone.nbt.util.TagJson
-
Convert nbt-represented java object into
JsonElement
. - toJson(T, TagMapper<T>) - Static method in class com.saicone.nbt.util.TagJson
-
Convert tag object into
JsonElement
with providedTagMapper
. - toString() - Method in class com.saicone.nbt.io.AsyncStringWriter
- toString(Object) - Static method in class com.saicone.nbt.io.TagWriter
-
Convert nbt-represented java object into SNBT.
- toString(T, TagMapper<T>) - Static method in class com.saicone.nbt.io.TagWriter
-
Convert tag object into SNBT with provided
TagMapper
. - type(Tag) - Method in class com.saicone.nbt.mapper.NukkitTagMapper
- type(TagType<?>) - Method in class com.saicone.nbt.util.TagPalette
-
Get base color format for provided tag type.
- type(TagType<?>, String) - Method in class com.saicone.nbt.util.TagPalette
-
Set color format for defined tag type.
- type(Tag) - Method in class com.saicone.nbt.mapper.ViaNbtTagMapper
- type(Iterable<T>) - Method in interface com.saicone.nbt.TagMapper
- type(Object) - Method in class com.saicone.nbt.mapper.BukkitTagMapper
- type(Object) - Method in class com.saicone.nbt.mapper.CloudburstTagMapper
- type(String) - Method in class com.saicone.nbt.util.TagPalette
-
Set default color format for tag types.
- type(BinaryTag) - Method in class com.saicone.nbt.mapper.AdventureTagMapper
- type(Tag) - Method in class com.saicone.nbt.mapper.MinecraftTagMapper
- type(Tag) - Method in class com.saicone.nbt.mapper.JoNbtTagMapper
- type(T) - Method in interface com.saicone.nbt.TagMapper
-
Get a
TagType
that represents the tag object implementation. - typeId(Tag) - Method in class com.saicone.nbt.mapper.NukkitTagMapper
- typeId(Tag) - Method in class com.saicone.nbt.mapper.ViaNbtTagMapper
- typeId(Iterable<T>) - Method in interface com.saicone.nbt.TagMapper
-
Get the type id of tag that is being stored by provided
Iterable
. - typeId(Object) - Method in class com.saicone.nbt.mapper.BukkitTagMapper
- typeId(Object) - Method in class com.saicone.nbt.mapper.CloudburstTagMapper
- typeId(Tag) - Method in class com.saicone.nbt.mapper.MinecraftTagMapper
- typeId(Tag) - Method in class com.saicone.nbt.mapper.JoNbtTagMapper
- typeId(T) - Method in interface com.saicone.nbt.TagMapper
-
Get the type id of tag object implementation.
U
- UNKNOWN - Static variable in class com.saicone.nbt.Tag
-
Unknown tag ID, used when any tag representation doesn't belong to a real tag.
- unlimited() - Method in class com.saicone.nbt.io.TagInput
-
Set the maximum byte size allowed by this instance to an unlimited one.
- useBytes(long) - Method in class com.saicone.nbt.io.TagInput
-
Use a byte size.
- useBytes(long, long) - Method in class com.saicone.nbt.io.TagInput
-
Use an amount of bytes with a static size.
V
- ViaNbtTagMapper - Class in com.saicone.nbt.mapper
-
TagMapper implementation to handle NBT values as ViaNBT code abstraction.
- ViaNbtTagMapper() - Constructor for class com.saicone.nbt.mapper.ViaNbtTagMapper
W
- write(byte[]) - Method in class com.saicone.nbt.io.FallbackDataOutput
- write(byte[]) - Method in class com.saicone.nbt.io.ReverseDataOutputStream
- write(byte[], int, int) - Method in class com.saicone.nbt.io.FallbackDataOutput
- write(byte[], int, int) - Method in class com.saicone.nbt.io.ReverseDataOutputStream
- write(char[], int, int) - Method in class com.saicone.nbt.io.AsyncStringWriter
- write(char[], int, int) - Method in class com.saicone.nbt.io.TagWriter
- write(int) - Method in class com.saicone.nbt.io.AsyncStringWriter
- write(int) - Method in class com.saicone.nbt.io.FallbackDataOutput
- write(String) - Method in class com.saicone.nbt.io.AsyncStringWriter
- write(String, int, int) - Method in class com.saicone.nbt.io.AsyncStringWriter
- writeAny(T) - Method in class com.saicone.nbt.io.TagOutput
-
Write tag object as any format.
This format is used primarily on network connections. - writeBedrockFile(int, int, T) - Method in class com.saicone.nbt.io.TagOutput
-
Write tag object as bedrock file format with provided header version and size.
- writeBedrockFile(int, T) - Method in class com.saicone.nbt.io.TagOutput
-
Write tag object as bedrock file format with provided header size.
- writeBedrockFile(T) - Method in class com.saicone.nbt.io.TagOutput
-
Write tag object as bedrock file format.
- writeBoolean(boolean) - Method in class com.saicone.nbt.io.FallbackDataOutput
- writeBoolean(boolean) - Method in class com.saicone.nbt.io.ReverseDataOutputStream
- writeBooleanArrayTag(boolean[]) - Method in class com.saicone.nbt.io.TagWriter
-
Write fake boolean array tag value.
- writeByte(int) - Method in class com.saicone.nbt.io.FallbackDataOutput
- writeByte(int) - Method in class com.saicone.nbt.io.ReverseDataOutputStream
- writeByteArray(byte[]) - Method in class com.saicone.nbt.io.TagOutput
-
Write byte array tag value.
- writeByteArrayTag(byte[]) - Method in class com.saicone.nbt.io.TagWriter
-
Write byte array tag value.
- writeBytes(String) - Method in class com.saicone.nbt.io.FallbackDataOutput
- writeBytes(String) - Method in class com.saicone.nbt.io.ReverseDataOutputStream
- writeChar(int) - Method in class com.saicone.nbt.io.FallbackDataOutput
- writeChar(int) - Method in class com.saicone.nbt.io.ReverseDataOutputStream
- writeChars(String) - Method in class com.saicone.nbt.io.FallbackDataOutput
- writeChars(String) - Method in class com.saicone.nbt.io.ReverseDataOutputStream
- writeCompound(Map<String, T>) - Method in class com.saicone.nbt.io.TagOutput
-
Write map of string-tag entries value from compound tag type.
- writeCompoundTag(Map<String, T>) - Method in class com.saicone.nbt.io.TagWriter
-
Write map of string-tag entries value from compound tag type.
- writeDouble(double) - Method in class com.saicone.nbt.io.FallbackDataOutput
- writeDouble(double) - Method in class com.saicone.nbt.io.ReverseDataOutputStream
- writeFloat(float) - Method in class com.saicone.nbt.io.FallbackDataOutput
- writeFloat(float) - Method in class com.saicone.nbt.io.ReverseDataOutputStream
- writeInt(int) - Method in class com.saicone.nbt.io.FallbackDataOutput
- writeInt(int) - Method in class com.saicone.nbt.io.NetworkDataOutputStream
- writeInt(int) - Method in class com.saicone.nbt.io.ReverseDataOutputStream
- writeIntArray(int[]) - Method in class com.saicone.nbt.io.TagOutput
-
Write int array tag value.
- writeIntArrayTag(int[]) - Method in class com.saicone.nbt.io.TagWriter
-
Write int array tag value.
- writeList(List<T>) - Method in class com.saicone.nbt.io.TagOutput
-
Write list of tag objects value from list tag type.
- writeListTag(List<T>) - Method in class com.saicone.nbt.io.TagWriter
-
Write list of tag objects value from list tag type.
- writeLong(long) - Method in class com.saicone.nbt.io.FallbackDataOutput
- writeLong(long) - Method in class com.saicone.nbt.io.NetworkDataOutputStream
- writeLong(long) - Method in class com.saicone.nbt.io.ReverseDataOutputStream
- writeLongArray(long[]) - Method in class com.saicone.nbt.io.TagOutput
-
Write long array tag value.
- writeLongArrayTag(long[]) - Method in class com.saicone.nbt.io.TagWriter
-
Write long array tag value.
- writePrimitiveTag(TagType<V>, V) - Method in class com.saicone.nbt.io.TagWriter
-
Write to provided primitive tag value with associated type.
- writeShort(int) - Method in class com.saicone.nbt.io.FallbackDataOutput
- writeShort(int) - Method in class com.saicone.nbt.io.ReverseDataOutputStream
- writeStringTag(String) - Method in class com.saicone.nbt.io.TagWriter
-
Write string tag value, any
"
will be replaced with\"
to match SNBT compatibility. - writeTag(TagType<?>, Object) - Method in class com.saicone.nbt.io.TagOutput
-
Write tag value with associated tag type.
This method doesn't perform any tag ID write, it only writes a tag value. - writeTag(T) - Method in class com.saicone.nbt.io.TagOutput
-
Write tag object value.
This method doesn't perform any tag ID write, it only writes a tag value. - writeTag(T) - Method in class com.saicone.nbt.io.TagWriter
-
Write to provided tag object.
- writeUnnamed(T) - Method in class com.saicone.nbt.io.TagOutput
-
Write tag object as unnamed tag format.
- writeUnsignedVarInt32(int) - Method in class com.saicone.nbt.io.NetworkDataOutputStream
-
Write an integer as VarInt32 using Andrew Steinborn blended method with a little optimization.
- writeUnsignedVarInt64(long) - Method in class com.saicone.nbt.io.NetworkDataOutputStream
-
Write an long as VarInt64 using Andrew Steinborn blended method extended for long values with a little optimization.
- writeUTF(String) - Method in class com.saicone.nbt.io.FallbackDataOutput
- writeUTF(String) - Method in class com.saicone.nbt.io.NetworkDataOutputStream
- writeUTF(String) - Method in class com.saicone.nbt.io.ReverseDataOutputStream
Z
- ZipFormat - Class in com.saicone.nbt.util.zip
-
Utility class for compression algorithms related methods.
Compatibility with gzip, zlib and lz4 is provided by default. - ZipFormat() - Constructor for class com.saicone.nbt.util.zip.ZipFormat
-
Constructs a zip format.
- ZipFormat.Gzip - Class in com.saicone.nbt.util.zip
-
ZipFormat
implementation for gzip algorithm. - ZipFormat.Lz4 - Class in com.saicone.nbt.util.zip
-
ZipFormat
implementation for lz4 algorithm. - ZipFormat.Zlib - Class in com.saicone.nbt.util.zip
-
ZipFormat
implementation for zlib algorithm. - zlib() - Static method in class com.saicone.nbt.util.zip.ZipFormat
-
Get zlib compression algorithm implementation.
- Zlib() - Constructor for class com.saicone.nbt.util.zip.ZipFormat.Zlib
-
Constructs a zlib format.
All Classes and Interfaces|All Packages|Constant Field Values