Interface NbtComponentSerializer

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

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

    Modifier and Type
    Method
    Description
    @NotNull net.kyori.adventure.text.format.Style
    deserializeStyle(@NotNull net.kyori.adventure.nbt.BinaryTag tag)
     
    static @NotNull NbtComponentSerializer
    nbt()
     
    @NotNull net.kyori.adventure.nbt.CompoundBinaryTag
    serializeStyle(@NotNull net.kyori.adventure.text.format.Style style)
     

    Methods inherited from interface net.kyori.adventure.text.serializer.ComponentSerializer

    deseializeOrNull, deserialize, deserializeOr, deserializeOrNull, serialize, serializeOr, serializeOrNull
  • Method Details

    • nbt

      @NotNull static @NotNull NbtComponentSerializer nbt()
    • deserializeStyle

      @NotNull @NotNull net.kyori.adventure.text.format.Style deserializeStyle(@NotNull @NotNull net.kyori.adventure.nbt.BinaryTag tag)
    • serializeStyle

      @NotNull @NotNull net.kyori.adventure.nbt.CompoundBinaryTag serializeStyle(@NotNull @NotNull net.kyori.adventure.text.format.Style style)