接口 RegistryOps.EntryLoader

  • 所有已知实现类:
    RegistryOps.EntryLoader.Impl
    封闭类:
    RegistryOps<T>

    public static interface RegistryOps.EntryLoader
    Mappings:
    Namespace Name
    official wm$b
    intermediary net/minecraft/class_5382$class_5506
    named net/minecraft/util/dynamic/RegistryOps$EntryLoader
    • 方法详细资料

      • getKnownEntryPaths

        Collection<Identifier> getKnownEntryPaths​(RegistryKey<? extends Registry<?>> key)
        返回:
        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 Lwm$b;a(Lwo;)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 Lwm$b;a(Lcom/mojang/serialization/DynamicOps;Lwo;Lwo;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 Lwm$b;a(Ladl;)Lwm$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;