Class NbtTagHolder
java.lang.Object
com.github.retrooper.packetevents.util.adventure.NbtTagHolder
- All Implemented Interfaces:
net.kyori.adventure.nbt.api.BinaryTagHolder
,net.kyori.adventure.text.event.DataComponentValue
,net.kyori.adventure.text.event.DataComponentValue.TagSerializable
,net.kyori.examination.Examinable
@NullMarked
public final class NbtTagHolder
extends Object
implements net.kyori.adventure.nbt.api.BinaryTagHolder
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.kyori.adventure.text.event.DataComponentValue
net.kyori.adventure.text.event.DataComponentValue.Removed, net.kyori.adventure.text.event.DataComponentValue.TagSerializable
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.kyori.adventure.nbt.api.BinaryTagHolder
asBinaryTag
Methods inherited from interface net.kyori.examination.Examinable
examinableName, examinableProperties, examine
-
Constructor Details
-
NbtTagHolder
-
-
Method Details
-
string
- Specified by:
string
in interfacenet.kyori.adventure.nbt.api.BinaryTagHolder
-
get
@NotNull public <T,DX extends Exception> T get(@NotNull @NotNull net.kyori.adventure.util.Codec<T, String, throws DXDX, ?> codec) - Specified by:
get
in interfacenet.kyori.adventure.nbt.api.BinaryTagHolder
- Throws:
DX
-
getTag
-