Interface RegistryOps.EntryLoader

All Known Implementing Classes:
RegistryOps.EntryLoader.Impl
Enclosing class:
RegistryOps<T>

public static interface RegistryOps.EntryLoader
Mappings:
Namespace Name
official vy$b
intermediary net/minecraft/class_5382$class_5506
named net/minecraft/util/dynamic/RegistryOps$EntryLoader
  • Method Details

    • getKnownEntryPaths

      Collection<Identifier> getKnownEntryPaths​(RegistryKey<? extends Registry<?>> registryKey)
      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 Lvy$b;a(Lwa;)Ljava/util/Collection;
      intermediary method_31156 Lnet/minecraft/class_5382$class_5506;method_31156(Lnet/minecraft/class_5321;)Ljava/util/Collection;
      named getKnownEntryPaths Lnet/minecraft/util/dynamic/RegistryOps$EntryLoader;getKnownEntryPaths(Lnet/minecraft/util/registry/RegistryKey;)Ljava/util/Collection;
    • load

      <E> com.mojang.serialization.DataResult<com.mojang.datafixers.util.Pair<E,​OptionalInt>> load​(com.mojang.serialization.DynamicOps<JsonElement> dynamicOps, RegistryKey<? extends Registry<E>> registryId, RegistryKey<E> entryId, com.mojang.serialization.Decoder<E> decoder)
      Mappings:
      Namespace Name Mixin selector
      official a Lvy$b;a(Lcom/mojang/serialization/DynamicOps;Lwa;Lwa;Lcom/mojang/serialization/Decoder;)Lcom/mojang/serialization/DataResult;
      intermediary method_31155 Lnet/minecraft/class_5382$class_5506;method_31155(Lcom/mojang/serialization/DynamicOps;Lnet/minecraft/class_5321;Lnet/minecraft/class_5321;Lcom/mojang/serialization/Decoder;)Lcom/mojang/serialization/DataResult;
      named load Lnet/minecraft/util/dynamic/RegistryOps$EntryLoader;load(Lcom/mojang/serialization/DynamicOps;Lnet/minecraft/util/registry/RegistryKey;Lnet/minecraft/util/registry/RegistryKey;Lcom/mojang/serialization/Decoder;)Lcom/mojang/serialization/DataResult;
    • resourceBacked

      static RegistryOps.EntryLoader resourceBacked​(ResourceManager resourceManager)
      Mappings:
      Namespace Name Mixin selector
      official a Lvy$b;a(Lacx;)Lvy$b;
      intermediary method_31154 Lnet/minecraft/class_5382$class_5506;method_31154(Lnet/minecraft/class_3300;)Lnet/minecraft/class_5382$class_5506;
      named resourceBacked Lnet/minecraft/util/dynamic/RegistryOps$EntryLoader;resourceBacked(Lnet/minecraft/resource/ResourceManager;)Lnet/minecraft/util/dynamic/RegistryOps$EntryLoader;