Package net.minecraft.resources
Interface RegistryResourceAccess
- All Known Implementing Classes:
RegistryResourceAccess.InMemoryStorage
public interface RegistryResourceAccess
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
static final record
-
Method Summary
Modifier and TypeMethodDescriptionstatic RegistryResourceAccess
forResourceManager
(ResourceManager p_195882_) <E> Collection<ResourceKey<E>>
listResources
(ResourceKey<? extends Registry<E>> p_195887_) <E> Optional<com.mojang.serialization.DataResult<RegistryResourceAccess.ParsedEntry<E>>>
parseElement
(com.mojang.serialization.DynamicOps<com.google.gson.JsonElement> p_195883_, ResourceKey<? extends Registry<E>> p_195884_, ResourceKey<E> p_195885_, com.mojang.serialization.Decoder<E> p_195886_)
-
Method Details
-
listResources
-
parseElement
<E> Optional<com.mojang.serialization.DataResult<RegistryResourceAccess.ParsedEntry<E>>> parseElement(com.mojang.serialization.DynamicOps<com.google.gson.JsonElement> p_195883_, ResourceKey<? extends Registry<E>> p_195884_, ResourceKey<E> p_195885_, com.mojang.serialization.Decoder<E> p_195886_) -
forResourceManager
-