Package net.minecraft.util.registry
Class DynamicRegistryManager.Info<E>
java.lang.Object
net.minecraft.util.registry.DynamicRegistryManager.Info<E>
- Enclosing class:
- DynamicRegistryManager
static final class DynamicRegistryManager.Info<E> extends Object
Represents the serialization behavior of the registries, including the
id of the registry, the codec for its elements, and whether the registry
should be sent to the client.
-
Field Summary
Fields Modifier and Type Field Description private com.mojang.serialization.Codec<E>
entryCodec
private com.mojang.serialization.Codec<E>
networkEntryCodec
private RegistryKey<? extends Registry<E>>
registry
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description com.mojang.serialization.Codec<E>
getEntryCodec()
com.mojang.serialization.Codec<E>
getNetworkEntryCodec()
RegistryKey<? extends Registry<E>>
getRegistry()
boolean
isSynced()
-
Field Details
-
registry
-
entryCodec
-
networkEntryCodec
-
-
Constructor Details
-
Info
-
-
Method Details
-
getRegistry
-
getEntryCodec
-
getNetworkEntryCodec
-
isSynced
public boolean isSynced()
-