static final class DynamicRegistryManager.Info<E> extends Object
Modifier and Type | Field and Description |
---|---|
private com.mojang.serialization.Codec<E> |
entryCodec |
private com.mojang.serialization.Codec<E> |
networkEntryCodec |
private RegistryKey<? extends Registry<E>> |
registry |
Constructor and Description |
---|
Info(RegistryKey<? extends Registry<E>> registry,
com.mojang.serialization.Codec<E> entryCodec,
com.mojang.serialization.Codec<E> networkEntryCodec) |
Modifier and Type | Method and Description |
---|---|
com.mojang.serialization.Codec<E> |
getEntryCodec() |
com.mojang.serialization.Codec<E> |
getNetworkEntryCodec() |
RegistryKey<? extends Registry<E>> |
getRegistry() |
boolean |
isSynced() |
private final RegistryKey<? extends Registry<E>> registry
private final com.mojang.serialization.Codec<E> entryCodec