Package net.minecraft.util.dynamic
Interface EntryLoader
- All Known Implementing Classes:
EntryLoader.Impl
public interface EntryLoader
- Mappings:
Namespace Name official xy
intermediary net/minecraft/class_5506
named net/minecraft/util/dynamic/EntryLoader
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final record
static final class
-
Method Summary
Modifier and TypeMethodDescription<E> Collection<RegistryKey<E>>
getKnownEntryPaths
(RegistryKey<? extends Registry<E>> key) <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) static EntryLoader
resourceBacked
(ResourceManager resourceManager)
-
Method Details
-
getKnownEntryPaths
- 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
Lxy;a(Lya;)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
Lxy;a(Lcom/mojang/serialization/DynamicOps;Lya;Lya;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
- Mappings:
Namespace Name Mixin selector official a
Lxy;a(Lafe;)Lxy;
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;
-