A B C D E F G I K L N O P R S T U V W Z
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- acceptLegacy(boolean) - Method in class net.kyori.adventure.nbt.TagStringIO.Builder
-
Configure whether or not the resulting IO configuration will accept legacy-formatted data.
- add(Iterable<? extends T>) - Method in interface net.kyori.adventure.nbt.ListTagSetter
-
Adds multiple tags.
- add(T) - Method in interface net.kyori.adventure.nbt.ListTagSetter
-
Adds a tag.
- ArrayBinaryTag - Interface in net.kyori.adventure.nbt
-
An array binary tag.
- asBinaryTag() - Method in interface net.kyori.adventure.nbt.BinaryTag
- asBinaryTag() - Method in interface net.kyori.adventure.nbt.BinaryTagLike
-
Gets a
BinaryTag
representation. - asCompound(String) - Method in class net.kyori.adventure.nbt.TagStringIO
-
Read the string into a compound tag structure.
- asString(CompoundBinaryTag) - Method in class net.kyori.adventure.nbt.TagStringIO
-
Get a string representation of the provided tag.
B
- BinaryTag - Interface in net.kyori.adventure.nbt
-
A binary tag.
- BinaryTagIO - Class in net.kyori.adventure.nbt
-
Serialization operations for binary tags.
- BinaryTagIO.Compression - Class in net.kyori.adventure.nbt
-
Compression types.
- BinaryTagIO.Reader - Interface in net.kyori.adventure.nbt
-
CompoundBinaryTag
reader. - BinaryTagIO.Writer - Interface in net.kyori.adventure.nbt
-
CompoundBinaryTag
writer. - BinaryTagLike - Interface in net.kyori.adventure.nbt
-
Something that can be represented as a binary tag.
- BinaryTagType<T extends BinaryTag> - Class in net.kyori.adventure.nbt
-
A binary tag type.
- BinaryTagType() - Constructor for class net.kyori.adventure.nbt.BinaryTagType
- BinaryTagTypes - Class in net.kyori.adventure.nbt
-
All known binary tag types.
- build() - Method in interface net.kyori.adventure.nbt.CompoundBinaryTag.Builder
-
Builds.
- build() - Method in interface net.kyori.adventure.nbt.ListBinaryTag.Builder
-
Builds.
- build() - Method in class net.kyori.adventure.nbt.TagStringIO.Builder
-
Create a new IO configuration from this builder.
- builder() - Static method in interface net.kyori.adventure.nbt.CompoundBinaryTag
-
Creates a builder.
- builder() - Static method in interface net.kyori.adventure.nbt.ListBinaryTag
-
Creates a builder.
- builder() - Static method in class net.kyori.adventure.nbt.TagStringIO
-
Create an new builder to configure IO.
- builder(BinaryTagType<T>) - Static method in interface net.kyori.adventure.nbt.ListBinaryTag
-
Creates a builder.
- BYTE - Static variable in class net.kyori.adventure.nbt.BinaryTagTypes
- BYTE_ARRAY - Static variable in class net.kyori.adventure.nbt.BinaryTagTypes
- byteArrayBinaryTag(byte...) - Static method in interface net.kyori.adventure.nbt.ByteArrayBinaryTag
-
Creates a binary tag holding a
byte
-array value. - ByteArrayBinaryTag - Interface in net.kyori.adventure.nbt
-
A binary tag holding a
byte
-array value. - byteBinaryTag(byte) - Static method in interface net.kyori.adventure.nbt.ByteBinaryTag
-
Creates a binary tag holding a
byte
value. - ByteBinaryTag - Interface in net.kyori.adventure.nbt
-
A binary tag holding a
byte
value. - byteValue() - Method in interface net.kyori.adventure.nbt.NumberBinaryTag
-
Gets the value as a
byte
.
C
- COMPOUND - Static variable in class net.kyori.adventure.nbt.BinaryTagTypes
- CompoundBinaryTag - Interface in net.kyori.adventure.nbt
-
Binary tag holding a mapping of string keys to
BinaryTag
values. - CompoundBinaryTag.Builder - Interface in net.kyori.adventure.nbt
-
A compound tag builder.
- CompoundTagSetter<R> - Interface in net.kyori.adventure.nbt
-
Common methods between
CompoundBinaryTag
andCompoundBinaryTag.Builder
. - Compression() - Constructor for class net.kyori.adventure.nbt.BinaryTagIO.Compression
D
- DOUBLE - Static variable in class net.kyori.adventure.nbt.BinaryTagTypes
- doubleBinaryTag(double) - Static method in interface net.kyori.adventure.nbt.DoubleBinaryTag
-
Creates a binary tag holding a
double
value. - DoubleBinaryTag - Interface in net.kyori.adventure.nbt
-
A binary tag holding a
double
value. - doubleValue() - Method in interface net.kyori.adventure.nbt.NumberBinaryTag
-
Gets the value as a
double
.
E
- elementType() - Method in interface net.kyori.adventure.nbt.ListBinaryTag
-
Gets the type of element stored in this list.
- emitLegacy(boolean) - Method in class net.kyori.adventure.nbt.TagStringIO.Builder
-
Configure whether or not the resulting IO configuration will emit legacy-formatted data.
- empty() - Static method in interface net.kyori.adventure.nbt.CompoundBinaryTag
-
Gets an empty compound tag.
- empty() - Static method in interface net.kyori.adventure.nbt.ListBinaryTag
-
Gets an empty list tag.
- END - Static variable in class net.kyori.adventure.nbt.BinaryTagTypes
- endBinaryTag() - Static method in interface net.kyori.adventure.nbt.EndBinaryTag
-
Gets the end tag.
- EndBinaryTag - Interface in net.kyori.adventure.nbt
-
An end tag.
F
- FLOAT - Static variable in class net.kyori.adventure.nbt.BinaryTagTypes
- floatBinaryTag(float) - Static method in interface net.kyori.adventure.nbt.FloatBinaryTag
-
Creates a binary tag holding a
float
value. - FloatBinaryTag - Interface in net.kyori.adventure.nbt
-
A binary tag holding a
float
value. - floatValue() - Method in interface net.kyori.adventure.nbt.NumberBinaryTag
-
Gets the value as a
float
. - forEachInt(IntConsumer) - Method in interface net.kyori.adventure.nbt.IntArrayBinaryTag
-
Perform an action for every int in the backing array.
- forEachLong(LongConsumer) - Method in interface net.kyori.adventure.nbt.LongArrayBinaryTag
-
Perform an action for every long in the backing array.
- from(Iterable<? extends BinaryTag>) - Static method in interface net.kyori.adventure.nbt.ListBinaryTag
-
Creates a list tag from
tags
. - from(Map<String, ? extends BinaryTag>) - Static method in interface net.kyori.adventure.nbt.CompoundBinaryTag
-
Creates a compound tag populated with
tags
.
G
- get() - Static method in interface net.kyori.adventure.nbt.EndBinaryTag
-
Deprecated.for removal since 4.14.0, use
EndBinaryTag.endBinaryTag()
instead - get() - Static method in class net.kyori.adventure.nbt.TagStringIO
-
Get an instance of
TagStringIO
that creates reads and writes using standard options. - get(@org.jetbrains.annotations.Range(from=0L, to=2147483647L) int) - Method in interface net.kyori.adventure.nbt.ListBinaryTag
-
Gets a tag.
- get(int) - Method in interface net.kyori.adventure.nbt.ByteArrayBinaryTag
-
Gets the value at
index
in this tag. - get(int) - Method in interface net.kyori.adventure.nbt.IntArrayBinaryTag
-
Gets the value at
index
in this tag. - get(int) - Method in interface net.kyori.adventure.nbt.LongArrayBinaryTag
-
Gets the value at
index
in this tag. - get(String) - Method in interface net.kyori.adventure.nbt.CompoundBinaryTag
-
Gets a tag.
- getBoolean(String) - Method in interface net.kyori.adventure.nbt.CompoundBinaryTag
-
Gets a boolean.
- getBoolean(String, boolean) - Method in interface net.kyori.adventure.nbt.CompoundBinaryTag
-
Gets a boolean.
- getByte(@org.jetbrains.annotations.Range(from=0L, to=2147483647L) int) - Method in interface net.kyori.adventure.nbt.ListBinaryTag
-
Gets a byte.
- getByte(@org.jetbrains.annotations.Range(from=0L, to=2147483647L) int, byte) - Method in interface net.kyori.adventure.nbt.ListBinaryTag
-
Gets a byte.
- getByte(String) - Method in interface net.kyori.adventure.nbt.CompoundBinaryTag
-
Gets a byte.
- getByte(String, byte) - Method in interface net.kyori.adventure.nbt.CompoundBinaryTag
-
Gets a byte.
- getByteArray(@org.jetbrains.annotations.Range(from=0L, to=2147483647L) int) - Method in interface net.kyori.adventure.nbt.ListBinaryTag
-
Gets an array of bytes.
- getByteArray(@org.jetbrains.annotations.Range(from=0L, to=2147483647L) int, byte[]) - Method in interface net.kyori.adventure.nbt.ListBinaryTag
-
Gets an array of bytes.
- getByteArray(String) - Method in interface net.kyori.adventure.nbt.CompoundBinaryTag
-
Gets an array of bytes.
- getByteArray(String, byte[]) - Method in interface net.kyori.adventure.nbt.CompoundBinaryTag
-
Gets an array of bytes.
- getCompound(@org.jetbrains.annotations.Range(from=0L, to=2147483647L) int) - Method in interface net.kyori.adventure.nbt.ListBinaryTag
-
Gets a compound.
- getCompound(@org.jetbrains.annotations.Range(from=0L, to=2147483647L) int, CompoundBinaryTag) - Method in interface net.kyori.adventure.nbt.ListBinaryTag
-
Gets a compound.
- getCompound(String) - Method in interface net.kyori.adventure.nbt.CompoundBinaryTag
-
Gets a compound.
- getCompound(String, CompoundBinaryTag) - Method in interface net.kyori.adventure.nbt.CompoundBinaryTag
-
Gets a compound.
- getDouble(@org.jetbrains.annotations.Range(from=0L, to=2147483647L) int) - Method in interface net.kyori.adventure.nbt.ListBinaryTag
-
Gets a double.
- getDouble(@org.jetbrains.annotations.Range(from=0L, to=2147483647L) int, double) - Method in interface net.kyori.adventure.nbt.ListBinaryTag
-
Gets a double.
- getDouble(String) - Method in interface net.kyori.adventure.nbt.CompoundBinaryTag
-
Gets a double.
- getDouble(String, double) - Method in interface net.kyori.adventure.nbt.CompoundBinaryTag
-
Gets a double.
- getFloat(@org.jetbrains.annotations.Range(from=0L, to=2147483647L) int) - Method in interface net.kyori.adventure.nbt.ListBinaryTag
-
Gets a float.
- getFloat(@org.jetbrains.annotations.Range(from=0L, to=2147483647L) int, float) - Method in interface net.kyori.adventure.nbt.ListBinaryTag
-
Gets a float.
- getFloat(String) - Method in interface net.kyori.adventure.nbt.CompoundBinaryTag
-
Gets a float.
- getFloat(String, float) - Method in interface net.kyori.adventure.nbt.CompoundBinaryTag
-
Gets a float.
- getInt(@org.jetbrains.annotations.Range(from=0L, to=2147483647L) int) - Method in interface net.kyori.adventure.nbt.ListBinaryTag
-
Gets an int.
- getInt(@org.jetbrains.annotations.Range(from=0L, to=2147483647L) int, int) - Method in interface net.kyori.adventure.nbt.ListBinaryTag
-
Gets an int.
- getInt(String) - Method in interface net.kyori.adventure.nbt.CompoundBinaryTag
-
Gets an int.
- getInt(String, int) - Method in interface net.kyori.adventure.nbt.CompoundBinaryTag
-
Gets an int.
- getIntArray(@org.jetbrains.annotations.Range(from=0L, to=2147483647L) int) - Method in interface net.kyori.adventure.nbt.ListBinaryTag
-
Gets an array of ints.
- getIntArray(@org.jetbrains.annotations.Range(from=0L, to=2147483647L) int, int[]) - Method in interface net.kyori.adventure.nbt.ListBinaryTag
-
Gets an array of ints.
- getIntArray(String) - Method in interface net.kyori.adventure.nbt.CompoundBinaryTag
-
Gets an array of ints.
- getIntArray(String, int[]) - Method in interface net.kyori.adventure.nbt.CompoundBinaryTag
-
Gets an array of ints.
- getList(@org.jetbrains.annotations.Range(from=0L, to=2147483647L) int) - Method in interface net.kyori.adventure.nbt.ListBinaryTag
-
Gets a list.
- getList(@org.jetbrains.annotations.Range(from=0L, to=2147483647L) int, ListBinaryTag) - Method in interface net.kyori.adventure.nbt.ListBinaryTag
-
Gets a list.
- getList(@org.jetbrains.annotations.Range(from=0L, to=2147483647L) int, BinaryTagType<?>) - Method in interface net.kyori.adventure.nbt.ListBinaryTag
-
Gets a list.
- getList(@org.jetbrains.annotations.Range(from=0L, to=2147483647L) int, BinaryTagType<?>, ListBinaryTag) - Method in interface net.kyori.adventure.nbt.ListBinaryTag
-
Gets a list.
- getList(String) - Method in interface net.kyori.adventure.nbt.CompoundBinaryTag
-
Gets a list.
- getList(String, BinaryTagType<? extends BinaryTag>) - Method in interface net.kyori.adventure.nbt.CompoundBinaryTag
-
Gets a list, ensuring that the type is the same as
type
. - getList(String, BinaryTagType<? extends BinaryTag>, ListBinaryTag) - Method in interface net.kyori.adventure.nbt.CompoundBinaryTag
-
Gets a list, ensuring that the type is the same as
type
. - getList(String, ListBinaryTag) - Method in interface net.kyori.adventure.nbt.CompoundBinaryTag
-
Gets a list.
- getLong(@org.jetbrains.annotations.Range(from=0L, to=2147483647L) int) - Method in interface net.kyori.adventure.nbt.ListBinaryTag
-
Gets a long.
- getLong(@org.jetbrains.annotations.Range(from=0L, to=2147483647L) int, long) - Method in interface net.kyori.adventure.nbt.ListBinaryTag
-
Gets a long.
- getLong(String) - Method in interface net.kyori.adventure.nbt.CompoundBinaryTag
-
Gets a long.
- getLong(String, long) - Method in interface net.kyori.adventure.nbt.CompoundBinaryTag
-
Gets a long.
- getLongArray(@org.jetbrains.annotations.Range(from=0L, to=2147483647L) int) - Method in interface net.kyori.adventure.nbt.ListBinaryTag
-
Gets an array of longs.
- getLongArray(@org.jetbrains.annotations.Range(from=0L, to=2147483647L) int, long[]) - Method in interface net.kyori.adventure.nbt.ListBinaryTag
-
Gets an array of longs.
- getLongArray(String) - Method in interface net.kyori.adventure.nbt.CompoundBinaryTag
-
Gets an array of longs.
- getLongArray(String, long[]) - Method in interface net.kyori.adventure.nbt.CompoundBinaryTag
-
Gets an array of longs.
- getShort(@org.jetbrains.annotations.Range(from=0L, to=2147483647L) int) - Method in interface net.kyori.adventure.nbt.ListBinaryTag
-
Gets a short.
- getShort(@org.jetbrains.annotations.Range(from=0L, to=2147483647L) int, short) - Method in interface net.kyori.adventure.nbt.ListBinaryTag
-
Gets a short.
- getShort(String) - Method in interface net.kyori.adventure.nbt.CompoundBinaryTag
-
Gets a short.
- getShort(String, short) - Method in interface net.kyori.adventure.nbt.CompoundBinaryTag
-
Gets a short.
- getString(@org.jetbrains.annotations.Range(from=0L, to=2147483647L) int) - Method in interface net.kyori.adventure.nbt.ListBinaryTag
-
Gets a string.
- getString(@org.jetbrains.annotations.Range(from=0L, to=2147483647L) int, String) - Method in interface net.kyori.adventure.nbt.ListBinaryTag
-
Gets a string.
- getString(String) - Method in interface net.kyori.adventure.nbt.CompoundBinaryTag
-
Gets a string.
- getString(String, String) - Method in interface net.kyori.adventure.nbt.CompoundBinaryTag
-
Gets a string.
- GZIP - Static variable in class net.kyori.adventure.nbt.BinaryTagIO.Compression
-
GZIP compression.
I
- id() - Method in class net.kyori.adventure.nbt.BinaryTagType
-
Gets the id.
- indent(int) - Method in class net.kyori.adventure.nbt.TagStringIO.Builder
-
Set the indent for new levels of pretty-printing.
- indentTab(int) - Method in class net.kyori.adventure.nbt.TagStringIO.Builder
-
Set the indent for new levels of pretty-printing.
- INT - Static variable in class net.kyori.adventure.nbt.BinaryTagTypes
- INT_ARRAY - Static variable in class net.kyori.adventure.nbt.BinaryTagTypes
- intArrayBinaryTag(int...) - Static method in interface net.kyori.adventure.nbt.IntArrayBinaryTag
-
Creates a binary tag holding an
int
-array value. - IntArrayBinaryTag - Interface in net.kyori.adventure.nbt
-
A binary tag holding an
int
-array value. - intBinaryTag(int) - Static method in interface net.kyori.adventure.nbt.IntBinaryTag
-
Creates a binary tag holding an
int
value. - IntBinaryTag - Interface in net.kyori.adventure.nbt
-
A binary tag holding an
int
value. - intValue() - Method in interface net.kyori.adventure.nbt.NumberBinaryTag
-
Gets the value as a
int
. - iterator() - Method in interface net.kyori.adventure.nbt.IntArrayBinaryTag
- iterator() - Method in interface net.kyori.adventure.nbt.LongArrayBinaryTag
K
- keySet() - Method in interface net.kyori.adventure.nbt.CompoundBinaryTag
-
Gets a set of all keys.
L
- LIST - Static variable in class net.kyori.adventure.nbt.BinaryTagTypes
- listBinaryTag(BinaryTagType<? extends BinaryTag>, List<BinaryTag>) - Static method in interface net.kyori.adventure.nbt.ListBinaryTag
-
Creates a tag.
- ListBinaryTag - Interface in net.kyori.adventure.nbt
-
A list of zero or more values of a single tag type.
- ListBinaryTag.Builder<T extends BinaryTag> - Interface in net.kyori.adventure.nbt
-
A list tag builder.
- ListTagSetter<R,T extends BinaryTag> - Interface in net.kyori.adventure.nbt
-
Common methods between
ListBinaryTag
andListBinaryTag.Builder
. - listType() - Method in interface net.kyori.adventure.nbt.ListBinaryTag
-
Deprecated.since 4.4.0, use
ListBinaryTag.elementType()
instead - LONG - Static variable in class net.kyori.adventure.nbt.BinaryTagTypes
- LONG_ARRAY - Static variable in class net.kyori.adventure.nbt.BinaryTagTypes
- longArrayBinaryTag(long...) - Static method in interface net.kyori.adventure.nbt.LongArrayBinaryTag
-
Creates a binary tag holding a
long
-array value. - LongArrayBinaryTag - Interface in net.kyori.adventure.nbt
-
A binary tag holding a
long
-array value. - longBinaryTag(long) - Static method in interface net.kyori.adventure.nbt.LongBinaryTag
-
Creates a binary tag holding a
long
value. - LongBinaryTag - Interface in net.kyori.adventure.nbt
-
A binary tag holding a
long
value. - longValue() - Method in interface net.kyori.adventure.nbt.NumberBinaryTag
-
Gets the value as a
long
.
N
- net.kyori.adventure.nbt - package net.kyori.adventure.nbt
-
An implementation of the NBT format.
- NONE - Static variable in class net.kyori.adventure.nbt.BinaryTagIO.Compression
-
No compression.
- NumberBinaryTag - Interface in net.kyori.adventure.nbt
-
A numeric binary tag.
O
- of(byte) - Static method in interface net.kyori.adventure.nbt.ByteBinaryTag
-
Deprecated.for removal since 4.14.0, use
ByteBinaryTag.byteBinaryTag(byte)
instead. - of(byte...) - Static method in interface net.kyori.adventure.nbt.ByteArrayBinaryTag
-
Deprecated.for removal since 4.14.0, use
ByteArrayBinaryTag.byteArrayBinaryTag(byte...)
instead. - of(double) - Static method in interface net.kyori.adventure.nbt.DoubleBinaryTag
-
Deprecated.for removal since 4.14.0, use
DoubleBinaryTag.doubleBinaryTag(double)
instead. - of(float) - Static method in interface net.kyori.adventure.nbt.FloatBinaryTag
-
Deprecated.for removal since 4.14.0, use
FloatBinaryTag.floatBinaryTag(float)
instead. - of(int) - Static method in interface net.kyori.adventure.nbt.IntBinaryTag
-
Deprecated.for removal since 4.14.0, use
IntBinaryTag.intBinaryTag(int)
instead. - of(int...) - Static method in interface net.kyori.adventure.nbt.IntArrayBinaryTag
-
Deprecated.for removal since 4.14.0, use
IntArrayBinaryTag.intArrayBinaryTag(int...)
instead. - of(long) - Static method in interface net.kyori.adventure.nbt.LongBinaryTag
-
Deprecated.for removal since 4.14.0, use
LongBinaryTag.longBinaryTag(long)
instead. - of(long...) - Static method in interface net.kyori.adventure.nbt.LongArrayBinaryTag
-
Deprecated.for removal since 4.14.0, use
LongArrayBinaryTag.longArrayBinaryTag(long...)
instead. - of(short) - Static method in interface net.kyori.adventure.nbt.ShortBinaryTag
-
Deprecated.for removal since 4.14.0, use
ShortBinaryTag.shortBinaryTag(short)
instead. - of(String) - Static method in interface net.kyori.adventure.nbt.StringBinaryTag
-
Deprecated.for removal since 4.14.0, use
StringBinaryTag.stringBinaryTag(String)
instead. - of(BinaryTagType<? extends BinaryTag>, List<BinaryTag>) - Static method in interface net.kyori.adventure.nbt.ListBinaryTag
-
Deprecated.for removal since 4.14.0, use
ListBinaryTag.listBinaryTag(BinaryTagType, List)
instead. - ONE - Static variable in interface net.kyori.adventure.nbt.ByteBinaryTag
-
A tag with the value
1
.
P
- put(String, BinaryTag) - Method in interface net.kyori.adventure.nbt.CompoundTagSetter
-
Inserts a tag.
- put(Map<String, ? extends BinaryTag>) - Method in interface net.kyori.adventure.nbt.CompoundTagSetter
-
Inserts some tags.
- put(CompoundBinaryTag) - Method in interface net.kyori.adventure.nbt.CompoundTagSetter
-
Inserts the tags in
tag
, overwriting any that are inthis
. - putBoolean(String, boolean) - Method in interface net.kyori.adventure.nbt.CompoundTagSetter
-
Inserts a boolean.
- putByte(String, byte) - Method in interface net.kyori.adventure.nbt.CompoundTagSetter
-
Inserts a byte.
- putByteArray(String, byte[]) - Method in interface net.kyori.adventure.nbt.CompoundTagSetter
-
Inserts an array of bytes.
- putDouble(String, double) - Method in interface net.kyori.adventure.nbt.CompoundTagSetter
-
Inserts a double.
- putFloat(String, float) - Method in interface net.kyori.adventure.nbt.CompoundTagSetter
-
Inserts a float.
- putInt(String, int) - Method in interface net.kyori.adventure.nbt.CompoundTagSetter
-
Inserts an int.
- putIntArray(String, int[]) - Method in interface net.kyori.adventure.nbt.CompoundTagSetter
-
Inserts an array of ints.
- putLong(String, long) - Method in interface net.kyori.adventure.nbt.CompoundTagSetter
-
Inserts a long.
- putLongArray(String, long[]) - Method in interface net.kyori.adventure.nbt.CompoundTagSetter
-
Inserts an array of longs.
- putShort(String, short) - Method in interface net.kyori.adventure.nbt.CompoundTagSetter
-
Inserts a short.
- putString(String, String) - Method in interface net.kyori.adventure.nbt.CompoundTagSetter
-
Inserts a string.
R
- read(DataInput) - Method in interface net.kyori.adventure.nbt.BinaryTagIO.Reader
-
Reads a binary tag from
input
. - read(DataInput) - Method in class net.kyori.adventure.nbt.BinaryTagType
-
Reads a tag.
- read(InputStream) - Method in interface net.kyori.adventure.nbt.BinaryTagIO.Reader
-
Reads a binary tag from
input
. - read(InputStream, BinaryTagIO.Compression) - Method in interface net.kyori.adventure.nbt.BinaryTagIO.Reader
-
Reads a binary tag from
input
with acompression
type. - read(Path) - Method in interface net.kyori.adventure.nbt.BinaryTagIO.Reader
-
Reads a binary tag from
path
. - read(Path, BinaryTagIO.Compression) - Method in interface net.kyori.adventure.nbt.BinaryTagIO.Reader
-
Reads a binary tag from
path
with acompression
type. - readCompressedInputStream(InputStream) - Static method in class net.kyori.adventure.nbt.BinaryTagIO
-
Deprecated.since 4.4.0, use
BinaryTagIO.reader()
- readCompressedPath(Path) - Static method in class net.kyori.adventure.nbt.BinaryTagIO
-
Deprecated.since 4.4.0, use
BinaryTagIO.reader()
- readDataInput(DataInput) - Static method in class net.kyori.adventure.nbt.BinaryTagIO
-
Deprecated.since 4.4.0, use
BinaryTagIO.reader()
- reader() - Static method in class net.kyori.adventure.nbt.BinaryTagIO
-
Returns
BinaryTagIO.Reader
, used to read binary tags. - reader(long) - Static method in class net.kyori.adventure.nbt.BinaryTagIO
-
Returns
BinaryTagIO.Reader
, used to read binary tags. - readInputStream(InputStream) - Static method in class net.kyori.adventure.nbt.BinaryTagIO
-
Deprecated.since 4.4.0, use
BinaryTagIO.reader()
- readNamed(DataInput) - Method in interface net.kyori.adventure.nbt.BinaryTagIO.Reader
-
Reads a binary tag, with a name, from
input
. - readNamed(InputStream) - Method in interface net.kyori.adventure.nbt.BinaryTagIO.Reader
-
Reads a binary tag, with a name, from
input
. - readNamed(InputStream, BinaryTagIO.Compression) - Method in interface net.kyori.adventure.nbt.BinaryTagIO.Reader
-
Reads a binary tag, with a name, from
input
. - readNamed(Path) - Method in interface net.kyori.adventure.nbt.BinaryTagIO.Reader
-
Reads a binary tag, with a name, from
path
. - readNamed(Path, BinaryTagIO.Compression) - Method in interface net.kyori.adventure.nbt.BinaryTagIO.Reader
-
Reads a binary tag, with a name, from
path
. - readPath(Path) - Static method in class net.kyori.adventure.nbt.BinaryTagIO
-
Deprecated.since 4.4.0, use
BinaryTagIO.reader()
- remove(int, Consumer<? super BinaryTag>) - Method in interface net.kyori.adventure.nbt.ListBinaryTag
-
Removes the tag at index
index
, optionally providingremovedConsumer
with the tag previously at indexindex
. - remove(String) - Method in interface net.kyori.adventure.nbt.CompoundTagSetter
-
Removes a tag.
- remove(String, Consumer<? super BinaryTag>) - Method in interface net.kyori.adventure.nbt.CompoundTagSetter
-
Removes a tag.
S
- set(int, BinaryTag, Consumer<? super BinaryTag>) - Method in interface net.kyori.adventure.nbt.ListBinaryTag
-
Sets the tag at index
index
totag
, optionally providingremovedConsumer
with the tag previously at indexindex
. - SHORT - Static variable in class net.kyori.adventure.nbt.BinaryTagTypes
- shortBinaryTag(short) - Static method in interface net.kyori.adventure.nbt.ShortBinaryTag
-
Creates a binary tag holding a
short
value. - ShortBinaryTag - Interface in net.kyori.adventure.nbt
-
A binary tag holding a
short
value. - shortValue() - Method in interface net.kyori.adventure.nbt.NumberBinaryTag
-
Gets the value as a
short
. - size() - Method in interface net.kyori.adventure.nbt.ByteArrayBinaryTag
-
Get the size of the array.
- size() - Method in interface net.kyori.adventure.nbt.IntArrayBinaryTag
-
Get the length of the array.
- size() - Method in interface net.kyori.adventure.nbt.ListBinaryTag
-
Gets the size.
- size() - Method in interface net.kyori.adventure.nbt.LongArrayBinaryTag
-
Gets the length of the array.
- spliterator() - Method in interface net.kyori.adventure.nbt.IntArrayBinaryTag
- spliterator() - Method in interface net.kyori.adventure.nbt.LongArrayBinaryTag
- stream() - Method in interface net.kyori.adventure.nbt.IntArrayBinaryTag
-
Create a stream whose elements are the elements of this array tag.
- stream() - Method in interface net.kyori.adventure.nbt.ListBinaryTag
-
Creates a stream of the tags contained within this list.
- stream() - Method in interface net.kyori.adventure.nbt.LongArrayBinaryTag
-
Create a stream whose elements are the elements of this array tag.
- STRING - Static variable in class net.kyori.adventure.nbt.BinaryTagTypes
- stringBinaryTag(String) - Static method in interface net.kyori.adventure.nbt.StringBinaryTag
-
Creates a binary tag holding a
String
value. - StringBinaryTag - Interface in net.kyori.adventure.nbt
-
A binary tag holding a
String
value.
T
- TagStringIO - Class in net.kyori.adventure.nbt
-
A holder for string tag format options.
- TagStringIO.Builder - Class in net.kyori.adventure.nbt
-
Builder for a SNBT I/O handler.
- test(BinaryTagType<? extends BinaryTag>) - Method in class net.kyori.adventure.nbt.BinaryTagType
- toWriter(CompoundBinaryTag, Writer) - Method in class net.kyori.adventure.nbt.TagStringIO
-
Writes a tag to in string format.
- type() - Method in interface net.kyori.adventure.nbt.ArrayBinaryTag
- type() - Method in interface net.kyori.adventure.nbt.BinaryTag
-
Gets the tag type.
- type() - Method in interface net.kyori.adventure.nbt.ByteArrayBinaryTag
- type() - Method in interface net.kyori.adventure.nbt.ByteBinaryTag
- type() - Method in interface net.kyori.adventure.nbt.CompoundBinaryTag
- type() - Method in interface net.kyori.adventure.nbt.DoubleBinaryTag
- type() - Method in interface net.kyori.adventure.nbt.EndBinaryTag
- type() - Method in interface net.kyori.adventure.nbt.FloatBinaryTag
- type() - Method in interface net.kyori.adventure.nbt.IntArrayBinaryTag
- type() - Method in interface net.kyori.adventure.nbt.IntBinaryTag
- type() - Method in interface net.kyori.adventure.nbt.ListBinaryTag
- type() - Method in interface net.kyori.adventure.nbt.LongArrayBinaryTag
- type() - Method in interface net.kyori.adventure.nbt.LongBinaryTag
- type() - Method in interface net.kyori.adventure.nbt.NumberBinaryTag
- type() - Method in interface net.kyori.adventure.nbt.ShortBinaryTag
- type() - Method in interface net.kyori.adventure.nbt.StringBinaryTag
U
- unlimitedReader() - Static method in class net.kyori.adventure.nbt.BinaryTagIO
-
Returns
BinaryTagIO.Reader
, used to read binary tags.
V
- value() - Method in interface net.kyori.adventure.nbt.ByteArrayBinaryTag
-
Gets the value.
- value() - Method in interface net.kyori.adventure.nbt.ByteBinaryTag
-
Gets the value.
- value() - Method in interface net.kyori.adventure.nbt.DoubleBinaryTag
-
Gets the value.
- value() - Method in interface net.kyori.adventure.nbt.FloatBinaryTag
-
Gets the value.
- value() - Method in interface net.kyori.adventure.nbt.IntArrayBinaryTag
-
Gets the value.
- value() - Method in interface net.kyori.adventure.nbt.IntBinaryTag
-
Gets the value.
- value() - Method in interface net.kyori.adventure.nbt.LongArrayBinaryTag
-
Gets the value.
- value() - Method in interface net.kyori.adventure.nbt.LongBinaryTag
-
Gets the value.
- value() - Method in interface net.kyori.adventure.nbt.ShortBinaryTag
-
Gets the value.
- value() - Method in interface net.kyori.adventure.nbt.StringBinaryTag
-
Gets the value.
W
- write(CompoundBinaryTag, DataOutput) - Method in interface net.kyori.adventure.nbt.BinaryTagIO.Writer
-
Writes a binary tag to
output
. - write(CompoundBinaryTag, OutputStream) - Method in interface net.kyori.adventure.nbt.BinaryTagIO.Writer
-
Writes a binary tag to
output
. - write(CompoundBinaryTag, OutputStream, BinaryTagIO.Compression) - Method in interface net.kyori.adventure.nbt.BinaryTagIO.Writer
-
Writes a binary tag to
output
with acompression
type. - write(CompoundBinaryTag, Path) - Method in interface net.kyori.adventure.nbt.BinaryTagIO.Writer
-
Writes a binary tag to
path
with acompression
type. - write(CompoundBinaryTag, Path, BinaryTagIO.Compression) - Method in interface net.kyori.adventure.nbt.BinaryTagIO.Writer
-
Writes a binary tag to
path
with acompression
type. - write(T, DataOutput) - Method in class net.kyori.adventure.nbt.BinaryTagType
-
Writes a tag.
- writeCompressedOutputStream(CompoundBinaryTag, OutputStream) - Static method in class net.kyori.adventure.nbt.BinaryTagIO
-
Deprecated.since 4.4.0, use
BinaryTagIO.writer()
- writeCompressedPath(CompoundBinaryTag, Path) - Static method in class net.kyori.adventure.nbt.BinaryTagIO
-
Deprecated.since 4.4.0, use
BinaryTagIO.writer()
- writeDataOutput(CompoundBinaryTag, DataOutput) - Static method in class net.kyori.adventure.nbt.BinaryTagIO
-
Deprecated.since 4.4.0, use
BinaryTagIO.writer()
- writeNamed(Map.Entry<String, CompoundBinaryTag>, DataOutput) - Method in interface net.kyori.adventure.nbt.BinaryTagIO.Writer
-
Writes a binary tag, with a name, to
output
. - writeNamed(Map.Entry<String, CompoundBinaryTag>, OutputStream) - Method in interface net.kyori.adventure.nbt.BinaryTagIO.Writer
-
Writes a binary tag, with a name, to
output
. - writeNamed(Map.Entry<String, CompoundBinaryTag>, OutputStream, BinaryTagIO.Compression) - Method in interface net.kyori.adventure.nbt.BinaryTagIO.Writer
-
Writes a binary tag, with a name, to
output
with acompression
type. - writeNamed(Map.Entry<String, CompoundBinaryTag>, Path) - Method in interface net.kyori.adventure.nbt.BinaryTagIO.Writer
-
Writes a binary tag, with a name, to
path
. - writeNamed(Map.Entry<String, CompoundBinaryTag>, Path, BinaryTagIO.Compression) - Method in interface net.kyori.adventure.nbt.BinaryTagIO.Writer
-
Writes a binary tag, with a name, to
path
with acompression
type. - writeOutputStream(CompoundBinaryTag, OutputStream) - Static method in class net.kyori.adventure.nbt.BinaryTagIO
-
Deprecated.since 4.4.0, use
BinaryTagIO.writer()
- writePath(CompoundBinaryTag, Path) - Static method in class net.kyori.adventure.nbt.BinaryTagIO
-
Deprecated.since 4.4.0, use
BinaryTagIO.writer()
- writer() - Static method in class net.kyori.adventure.nbt.BinaryTagIO
-
Returns
BinaryTagIO.Writer
, used to write binary tags.
Z
- ZERO - Static variable in interface net.kyori.adventure.nbt.ByteBinaryTag
-
A tag with the value
0
. - ZLIB - Static variable in class net.kyori.adventure.nbt.BinaryTagIO.Compression
-
ZLIB compression.
All Classes All Packages