Class ResourceManagerRegistryLoadTask<T>
java.lang.Object
net.minecraft.resources.RegistryLoadTask<T>
net.minecraft.resources.ResourceManagerRegistryLoadTask<T>
-
Nested Class Summary
Nested classes/interfaces inherited from class RegistryLoadTask
RegistryLoadTask.PendingRegistration<T> -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Function<Optional<KnownPack>, RegistrationInfo> private final ResourceManagerFields inherited from class RegistryLoadTask
concurrentRegistrationGetter, data, loadingErrors -
Constructor Summary
ConstructorsConstructorDescriptionResourceManagerRegistryLoadTask(RegistryDataLoader.RegistryData<T> data, com.mojang.serialization.Lifecycle lifecycle, Map<ResourceKey<?>, Exception> loadingErrors, ResourceManager resourceManager) -
Method Summary
Modifier and TypeMethodDescriptionload(RegistryOps.RegistryInfoLookup context, Executor executor) Methods inherited from class RegistryLoadTask
createRegistryInfo, freezeRegistry, readOnlyRegistry, registerElements, registerTags, registryKey, validateRegistry
-
Field Details
-
REGISTRATION_INFO_CACHE
-
resourceManager
-
-
Constructor Details
-
ResourceManagerRegistryLoadTask
public ResourceManagerRegistryLoadTask(RegistryDataLoader.RegistryData<T> data, com.mojang.serialization.Lifecycle lifecycle, Map<ResourceKey<?>, Exception> loadingErrors, ResourceManager resourceManager)
-
-
Method Details
-
load
- Specified by:
loadin classRegistryLoadTask<T>
-