public static interface RegistryOps.EntryLoader
Modifier and Type | Interface and Description |
---|---|
static class |
RegistryOps.EntryLoader.Impl |
Modifier and Type | Method and 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.EntryLoader |
resourceBacked(ResourceManager resourceManager) |
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.EntryLoader resourceBacked(ResourceManager resourceManager)