public abstract class DialogSerializer
extends java.lang.Object
| Modifier and Type | Field | Description |
|---|---|---|
static DialogSerializer |
LATEST |
The latest dialog codec.
|
static DialogSerializer |
V1_21_6 |
The dialog codec for 1.21.6.
|
| Constructor | Description |
|---|---|
DialogSerializer() |
| Modifier and Type | Method | Description |
|---|---|---|
abstract net.lenni0451.mcstructs.converter.codec.Codec<net.lenni0451.mcstructs.registry.EitherEntry<Dialog>> |
getCodec() |
Get the codec for dialogs that performs registry lookups.
|
abstract net.lenni0451.mcstructs.converter.codec.Codec<Dialog> |
getDirectCodec() |
Get the direct codec for dialogs.
|
abstract net.lenni0451.mcstructs.converter.codec.Codec<net.lenni0451.mcstructs.registry.TypedTagEntryList<Dialog>> |
getListCodec() |
Get the codec for a tag or list of dialogs.
|
public static final DialogSerializer V1_21_6
public static final DialogSerializer LATEST
public abstract net.lenni0451.mcstructs.converter.codec.Codec<Dialog> getDirectCodec()
public abstract net.lenni0451.mcstructs.converter.codec.Codec<net.lenni0451.mcstructs.registry.EitherEntry<Dialog>> getCodec()
public abstract net.lenni0451.mcstructs.converter.codec.Codec<net.lenni0451.mcstructs.registry.TypedTagEntryList<Dialog>> getListCodec()