Package net.minecraft.util.dynamic
Interface EntryLoader
- All Known Implementing Classes:
EntryLoader.Impl
public interface EntryLoader
- Mappings:
Namespace Name official aaz
intermediary net/minecraft/class_5506
named net/minecraft/util/dynamic/EntryLoader
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final record
static final class
static interface
-
Method Summary
Modifier and TypeMethodDescription<E> Optional<EntryLoader.Parseable<E>>
createParseable
(RegistryKey<E> key) <E> Map<RegistryKey<E>,
EntryLoader.Parseable<E>> getKnownEntryPaths
(RegistryKey<? extends Registry<E>> key) static EntryLoader
resourceBacked
(ResourceManager resourceManager)
-
Method Details
-
getKnownEntryPaths
<E> Map<RegistryKey<E>,EntryLoader.Parseable<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
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
- 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;
-
resourceBacked
- Mappings:
Namespace Name Mixin selector official a
Laaz;a(Laim;)Laaz;
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;
-