public class TypeSerializers
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected ItemComponentRegistry |
registry |
| Constructor and Description |
|---|
TypeSerializers(ItemComponentRegistry registry) |
| Modifier and Type | Method and Description |
|---|---|
protected <T> net.lenni0451.mcstructs.converter.codec.Codec<T> |
init(java.lang.String key,
java.util.function.Supplier<net.lenni0451.mcstructs.converter.codec.Codec<T>> codecSupplier) |
protected final ItemComponentRegistry registry
public TypeSerializers(ItemComponentRegistry registry)