Package net.minecraft.resources
Interface RegistryReadOps.ResourceAccess
- All Known Implementing Classes:
RegistryReadOps.ResourceAccess.MemoryMap
- Enclosing class:
- RegistryReadOps<T>
public static interface RegistryReadOps.ResourceAccess
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionforResourceManager(ResourceManager p_135715_)
listResources(ResourceKey<? extends Registry<?>> p_135720_)
<E> Optional<com.mojang.serialization.DataResult<com.mojang.datafixers.util.Pair<E,OptionalInt>>>
parseElement(com.mojang.serialization.DynamicOps<com.google.gson.JsonElement> p_179892_, ResourceKey<? extends Registry<E>> p_179893_, ResourceKey<E> p_179894_, com.mojang.serialization.Decoder<E> p_179895_)
-
Method Details
-
listResources
-
parseElement
<E> Optional<com.mojang.serialization.DataResult<com.mojang.datafixers.util.Pair<E,OptionalInt>>> parseElement(com.mojang.serialization.DynamicOps<com.google.gson.JsonElement> p_179892_, ResourceKey<? extends Registry<E>> p_179893_, ResourceKey<E> p_179894_, com.mojang.serialization.Decoder<E> p_179895_) -
forResourceManager
-