Interface NbtComponentSerializer
- All Superinterfaces:
ComponentDecoder<BinaryTag, Component>, ComponentEncoder<Component, BinaryTag>, ComponentSerializer<Component, Component, BinaryTag>
public interface NbtComponentSerializer
extends ComponentSerializer<Component, Component, BinaryTag>
-
Method Summary
Modifier and TypeMethodDescriptiondefault StyleDeprecated, for removal: This API element is subject to removal in a future version.static NbtComponentSerializernbt()default CompoundBinaryTagserializeStyle(Style style) Deprecated, for removal: This API element is subject to removal in a future version.useCodec.COMPONENT_STYLEinstead.Methods inherited from interface ComponentSerializer
deseializeOrNull, deserialize, deserializeOr, deserializeOrNull, serialize, serializeOr, serializeOrNull
-
Method Details
-
nbt
-
deserializeStyle
Deprecated, for removal: This API element is subject to removal in a future version.useCodec.COMPONENT_STYLEinstead. -
serializeStyle
Deprecated, for removal: This API element is subject to removal in a future version.useCodec.COMPONENT_STYLEinstead.
-
Codec.COMPONENT_STYLEinstead.