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.
- Mappings:
Namespace Name official go$a
intermediary net/minecraft/class_5455$class_5456
named net/minecraft/util/registry/DynamicRegistryManager$Info
-
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
- Mappings:
Namespace Name Mixin selector official a
Lgo$a;a:Lwa;
intermediary field_25920
Lnet/minecraft/class_5455$class_5456;field_25920:Lnet/minecraft/class_5321;
named registry
Lnet/minecraft/util/registry/DynamicRegistryManager$Info;registry:Lnet/minecraft/util/registry/RegistryKey;
-
entryCodec
- Mappings:
Namespace Name Mixin selector official b
Lgo$a;b:Lcom/mojang/serialization/Codec;
intermediary field_25921
Lnet/minecraft/class_5455$class_5456;field_25921:Lcom/mojang/serialization/Codec;
named entryCodec
Lnet/minecraft/util/registry/DynamicRegistryManager$Info;entryCodec:Lcom/mojang/serialization/Codec;
-
networkEntryCodec
- Mappings:
Namespace Name Mixin selector official c
Lgo$a;c:Lcom/mojang/serialization/Codec;
intermediary field_26687
Lnet/minecraft/class_5455$class_5456;field_26687:Lcom/mojang/serialization/Codec;
named networkEntryCodec
Lnet/minecraft/util/registry/DynamicRegistryManager$Info;networkEntryCodec:Lcom/mojang/serialization/Codec;
-
-
Constructor Details
-
Info
public Info(RegistryKey<? extends Registry<E>> registry, com.mojang.serialization.Codec<E> entryCodec, @Nullable com.mojang.serialization.Codec<E> networkEntryCodec)- Mappings:
Namespace Name Mixin selector official <init>
Lgo$a;<init>(Lwa;Lcom/mojang/serialization/Codec;Lcom/mojang/serialization/Codec;)V
intermediary <init>
Lnet/minecraft/class_5455$class_5456;<init>(Lnet/minecraft/class_5321;Lcom/mojang/serialization/Codec;Lcom/mojang/serialization/Codec;)V
named <init>
Lnet/minecraft/util/registry/DynamicRegistryManager$Info;<init>(Lnet/minecraft/util/registry/RegistryKey;Lcom/mojang/serialization/Codec;Lcom/mojang/serialization/Codec;)V
-
-
Method Details
-
getRegistry
- Mappings:
Namespace Name Mixin selector official a
Lgo$a;a()Lwa;
intermediary method_30535
Lnet/minecraft/class_5455$class_5456;method_30535()Lnet/minecraft/class_5321;
named getRegistry
Lnet/minecraft/util/registry/DynamicRegistryManager$Info;getRegistry()Lnet/minecraft/util/registry/RegistryKey;
-
getEntryCodec
- Mappings:
Namespace Name Mixin selector official b
Lgo$a;b()Lcom/mojang/serialization/Codec;
intermediary method_30536
Lnet/minecraft/class_5455$class_5456;method_30536()Lcom/mojang/serialization/Codec;
named getEntryCodec
Lnet/minecraft/util/registry/DynamicRegistryManager$Info;getEntryCodec()Lcom/mojang/serialization/Codec;
-
getNetworkEntryCodec
- Mappings:
Namespace Name Mixin selector official c
Lgo$a;c()Lcom/mojang/serialization/Codec;
intermediary method_31061
Lnet/minecraft/class_5455$class_5456;method_31061()Lcom/mojang/serialization/Codec;
named getNetworkEntryCodec
Lnet/minecraft/util/registry/DynamicRegistryManager$Info;getNetworkEntryCodec()Lcom/mojang/serialization/Codec;
-
isSynced
public boolean isSynced()- Mappings:
Namespace Name Mixin selector official d
Lgo$a;d()Z
intermediary method_30537
Lnet/minecraft/class_5455$class_5456;method_30537()Z
named isSynced
Lnet/minecraft/util/registry/DynamicRegistryManager$Info;isSynced()Z
-