Package net.minecraft.util.dynamic
Interface RegistryOps.EntryLoader
- All Known Implementing Classes:
RegistryOps.EntryLoader.Impl
- Enclosing class:
- RegistryOps<T>
public static interface RegistryOps.EntryLoader
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classRegistryOps.EntryLoader.Impl -
Method Summary
Modifier and Type Method Description Collection<Identifier>getKnownEntryPaths(RegistryKey<? extends Registry<?>> registryKey)<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)static RegistryOps.EntryLoaderresourceBacked(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.
-
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) -
resourceBacked
-