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 Details

    • registry

      private final RegistryKey<? extends Registry<E>> 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

      private final com.mojang.serialization.Codec<E> 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

      @Nullable private final com.mojang.serialization.Codec<E> 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

      public RegistryKey<? extends Registry<E>> 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

      public com.mojang.serialization.Codec<E> 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

      @Nullable public com.mojang.serialization.Codec<E> 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