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 TypeMethodDescription@NotNull net.kyori.adventure.text.format.StyledeserializeStyle(@NotNull net.kyori.adventure.nbt.BinaryTag tag) static @NotNull NbtComponentSerializernbt()@NotNull net.kyori.adventure.nbt.CompoundBinaryTagserializeStyle(@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
-
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)
-