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 Summary
Modifier and TypeMethodDescription@NotNull Style
deserializeStyle
(@NotNull net.kyori.adventure.nbt.BinaryTag tag) static @NotNull NbtComponentSerializer
nbt()
@NotNull net.kyori.adventure.nbt.CompoundBinaryTag
serializeStyle
(@NotNull Style style) Methods inherited from interface net.kyori.adventure.text.serializer.ComponentSerializer
deseializeOrNull, deserialize, deserializeOr, deserializeOrNull, serialize, serializeOr, serializeOrNull
-
Method Details
-
nbt
-
deserializeStyle
-
serializeStyle
@NotNull @NotNull net.kyori.adventure.nbt.CompoundBinaryTag serializeStyle(@NotNull @NotNull Style style)
-