Class TagStringIOExt
java.lang.Object
net.kyori.adventure.nbt.TagStringIOExt
Deprecated, for removal: This API element is subject to removal in a future version.
Deprecated in Adventure 4.22.0 in favor of
TagStringIO
, as related functionality has been upstreamed.
Use MinestomAdventure.tagStringIO()
to access the configured TagStringIO instance.
Replacements:
writeTag(BinaryTag)
->TagStringIO.asString(BinaryTag)
writeTag(BinaryTag, String)
->TagStringIO.asString(BinaryTag)
readTag(String)
->TagStringIO.asTag(String)
readTagEmbedded(String)
->TagStringIO.asTag(String, Appendable)
-
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull net.kyori.adventure.nbt.BinaryTag
Deprecated, for removal: This API element is subject to removal in a future version.readTagEmbedded
(@NotNull String input) Deprecated, for removal: This API element is subject to removal in a future version.UseTagStringIO.asTag(String, Appendable)
Reads a tag and returns the remainder of the input buffer.static @NotNull String
writeTag
(@NotNull net.kyori.adventure.nbt.BinaryTag tag) Deprecated, for removal: This API element is subject to removal in a future version.UseTagStringIO.asString(BinaryTag)
static @NotNull String
Deprecated, for removal: This API element is subject to removal in a future version.UseTagStringIO.asString(BinaryTag)
-
Method Details
-
writeTag
@Deprecated(forRemoval=true) @NotNull public static @NotNull String writeTag(@NotNull @NotNull net.kyori.adventure.nbt.BinaryTag tag) Deprecated, for removal: This API element is subject to removal in a future version.UseTagStringIO.asString(BinaryTag)
-
writeTag
@Deprecated(forRemoval=true) @NotNull public static @NotNull String writeTag(@NotNull @NotNull net.kyori.adventure.nbt.BinaryTag input, @NotNull @NotNull String indent) Deprecated, for removal: This API element is subject to removal in a future version.UseTagStringIO.asString(BinaryTag)
-
readTag
@Deprecated(forRemoval=true) @NotNull public static @NotNull net.kyori.adventure.nbt.BinaryTag readTag(@NotNull @NotNull String input) throws IOException Deprecated, for removal: This API element is subject to removal in a future version.UseTagStringIO.asTag(String)
- Throws:
IOException
-
readTagEmbedded
@Deprecated(forRemoval=true) public static Map.Entry<@NotNull net.kyori.adventure.nbt.BinaryTag, @NotNull String> readTagEmbedded(@NotNull @NotNull String input) throws IOException Deprecated, for removal: This API element is subject to removal in a future version.UseTagStringIO.asTag(String, Appendable)
Reads a tag and returns the remainder of the input buffer.- Throws:
IOException
-
TagStringIO.asTag(String)