Class EntryLoader.Impl

java.lang.Object
net.minecraft.util.dynamic.EntryLoader.Impl
All Implemented Interfaces:
EntryLoader
Enclosing interface:
EntryLoader

public static final class EntryLoader.Impl extends Object implements EntryLoader
Mappings:
Namespace Name
official aaz$b
intermediary net/minecraft/class_5506$class_5507
named net/minecraft/util/dynamic/EntryLoader$Impl
  • Field Details

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official a Laaz$b;a:Lorg/slf4j/Logger;
      intermediary field_36187 Lnet/minecraft/class_5506$class_5507;field_36187:Lorg/slf4j/Logger;
      named LOGGER Lnet/minecraft/util/dynamic/EntryLoader$Impl;LOGGER:Lorg/slf4j/Logger;
    • values

      private final Map<RegistryKey<?>,EntryLoader.Impl.Element> values
      Mappings:
      Namespace Name Mixin selector
      official b Laaz$b;b:Ljava/util/Map;
      intermediary field_26741 Lnet/minecraft/class_5506$class_5507;field_26741:Ljava/util/Map;
      named values Lnet/minecraft/util/dynamic/EntryLoader$Impl;values:Ljava/util/Map;
  • Constructor Details

    • Impl

      public Impl()
  • Method Details

    • add

      public <E> void add(DynamicRegistryManager registryManager, RegistryKey<E> key, com.mojang.serialization.Encoder<E> encoder, int rawId, E entry, com.mojang.serialization.Lifecycle lifecycle)
      Mappings:
      Namespace Name Mixin selector
      official a Laaz$b;a(Lhn;Laba;Lcom/mojang/serialization/Encoder;ILjava/lang/Object;Lcom/mojang/serialization/Lifecycle;)V
      intermediary method_31159 Lnet/minecraft/class_5506$class_5507;method_31159(Lnet/minecraft/class_5455;Lnet/minecraft/class_5321;Lcom/mojang/serialization/Encoder;ILjava/lang/Object;Lcom/mojang/serialization/Lifecycle;)V
      named add Lnet/minecraft/util/dynamic/EntryLoader$Impl;add(Lnet/minecraft/util/registry/DynamicRegistryManager;Lnet/minecraft/util/registry/RegistryKey;Lcom/mojang/serialization/Encoder;ILjava/lang/Object;Lcom/mojang/serialization/Lifecycle;)V
    • getKnownEntryPaths

      public <E> Map<RegistryKey<E>,EntryLoader.Parseable<E>> getKnownEntryPaths(RegistryKey<? extends Registry<E>> key)
      Specified by:
      getKnownEntryPaths in interface EntryLoader
      Returns:
      A collection of file Identifiers of all known entries of the given registry. Note that these are file Identifiers for use in a resource manager, not the logical names of the entries.
      Mappings:
      Namespace Name Mixin selector
      official a Laaz;a(Laba;)Ljava/util/Map;
      intermediary method_31156 Lnet/minecraft/class_5506;method_31156(Lnet/minecraft/class_5321;)Ljava/util/Map;
      named getKnownEntryPaths Lnet/minecraft/util/dynamic/EntryLoader;getKnownEntryPaths(Lnet/minecraft/util/registry/RegistryKey;)Ljava/util/Map;
    • createParseable

      public <E> Optional<EntryLoader.Parseable<E>> createParseable(RegistryKey<E> key)
      Specified by:
      createParseable in interface EntryLoader
      Mappings:
      Namespace Name Mixin selector
      official b Laaz;b(Laba;)Ljava/util/Optional;
      intermediary method_42083 Lnet/minecraft/class_5506;method_42083(Lnet/minecraft/class_5321;)Ljava/util/Optional;
      named createParseable Lnet/minecraft/util/dynamic/EntryLoader;createParseable(Lnet/minecraft/util/registry/RegistryKey;)Ljava/util/Optional;