Interface EntryLoader

All Known Implementing Classes:
EntryLoader.Impl

public interface EntryLoader
Mappings:
Namespace Name
official ye
intermediary net/minecraft/class_5506
named net/minecraft/util/dynamic/EntryLoader
  • Method Details

    • getKnownEntryPaths

      <E> Collection<RegistryKey<E>> getKnownEntryPaths(RegistryKey<? extends Registry<E>> key)
      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 Lye;a(Lyg;)Ljava/util/Collection;
      intermediary method_31156 Lnet/minecraft/class_5506;method_31156(Lnet/minecraft/class_5321;)Ljava/util/Collection;
      named getKnownEntryPaths Lnet/minecraft/util/dynamic/EntryLoader;getKnownEntryPaths(Lnet/minecraft/util/registry/RegistryKey;)Ljava/util/Collection;
    • load

      <E> Optional<com.mojang.serialization.DataResult<EntryLoader.Entry<E>>> load(com.mojang.serialization.DynamicOps<JsonElement> json, RegistryKey<? extends Registry<E>> registryId, RegistryKey<E> entryId, com.mojang.serialization.Decoder<E> decoder)
      Mappings:
      Namespace Name Mixin selector
      official a Lye;a(Lcom/mojang/serialization/DynamicOps;Lyg;Lyg;Lcom/mojang/serialization/Decoder;)Ljava/util/Optional;
      intermediary method_31155 Lnet/minecraft/class_5506;method_31155(Lcom/mojang/serialization/DynamicOps;Lnet/minecraft/class_5321;Lnet/minecraft/class_5321;Lcom/mojang/serialization/Decoder;)Ljava/util/Optional;
      named load Lnet/minecraft/util/dynamic/EntryLoader;load(Lcom/mojang/serialization/DynamicOps;Lnet/minecraft/util/registry/RegistryKey;Lnet/minecraft/util/registry/RegistryKey;Lcom/mojang/serialization/Decoder;)Ljava/util/Optional;
    • resourceBacked

      static EntryLoader resourceBacked(ResourceManager resourceManager)
      Mappings:
      Namespace Name Mixin selector
      official a Lye;a(Lafk;)Lye;
      intermediary method_31154 Lnet/minecraft/class_5506;method_31154(Lnet/minecraft/class_3300;)Lnet/minecraft/class_5506;
      named resourceBacked Lnet/minecraft/util/dynamic/EntryLoader;resourceBacked(Lnet/minecraft/resource/ResourceManager;)Lnet/minecraft/util/dynamic/EntryLoader;