Package net.minecraft.util.registry
Interface WorldSettingsImport.IResourceAccess
- All Known Implementing Classes:
WorldSettingsImport.IResourceAccess.RegistryAccess
- Enclosing class:
- WorldSettingsImport<T>
public static interface WorldSettingsImport.IResourceAccess
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
-
Method Summary
Modifier and TypeMethodDescriptionforResourceManager
(IResourceManager p_244345_0_) listResources
(RegistryKey<? extends Registry<?>> p_241880_1_) <E> com.mojang.serialization.DataResult<com.mojang.datafixers.util.Pair<E,
OptionalInt>> parseElement
(com.mojang.serialization.DynamicOps<com.google.gson.JsonElement> p_241879_1_, RegistryKey<? extends Registry<E>> p_241879_2_, RegistryKey<E> p_241879_3_, com.mojang.serialization.Decoder<E> p_241879_4_)
-
Method Details
-
listResources
-
parseElement
<E> com.mojang.serialization.DataResult<com.mojang.datafixers.util.Pair<E,OptionalInt>> parseElement(com.mojang.serialization.DynamicOps<com.google.gson.JsonElement> p_241879_1_, RegistryKey<? extends Registry<E>> p_241879_2_, RegistryKey<E> p_241879_3_, com.mojang.serialization.Decoder<E> p_241879_4_) -
forResourceManager
-