Interface NbtComponentSerializer

All Superinterfaces:
ComponentDecoder<net.kyori.adventure.nbt.BinaryTag,Component>, ComponentEncoder<Component,net.kyori.adventure.nbt.BinaryTag>, ComponentSerializer<Component,Component,net.kyori.adventure.nbt.BinaryTag>

public interface NbtComponentSerializer extends ComponentSerializer<Component,Component,net.kyori.adventure.nbt.BinaryTag>
  • Method Details

    • nbt

      @NotNull static @NotNull NbtComponentSerializer nbt()
    • deserializeStyle

      @Deprecated(forRemoval=true) @NotNull default @NotNull Style deserializeStyle(@NotNull @NotNull net.kyori.adventure.nbt.BinaryTag tag)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • serializeStyle

      @Deprecated(forRemoval=true) @NotNull default @NotNull net.kyori.adventure.nbt.CompoundBinaryTag serializeStyle(@NotNull @NotNull Style style)
      Deprecated, for removal: This API element is subject to removal in a future version.