net.minecraft.registry

public class ContentsLoader<T>

extends RegistryLoader<T>

net.minecraft.resources.NetworkRegistryLoadTask
net.minecraft.class_1_20
net.minecraft.registry.ContentsLoader

Field summary

Modifier and TypeField
private static final RegistryEntryInfo
NETWORK_REGISTRATION_INFO
field_1_1020
EXPERIMENTAL_REGISTRY_INFO
private final Map<RegistryKey<? extends Registry<?>>, RegistryLoading$ElementsAndTags>
entries
field_1_126
registryContents
private final ResourceFactory
knownDataSource
field_1_127
resourceFactory

Constructor summary

ModifierConstructor
public (RegistryLoading$Entry<T> entry, com.mojang.serialization.Lifecycle lifecycle, Map<RegistryKey<?>, Exception> exceptionsByKey, Map<RegistryKey<? extends Registry<?>>, RegistryLoading$ElementsAndTags> registryContents, ResourceFactory resourceFactory)

Method summary

Modifier and TypeMethod
public CompletableFuture<?>
load(RegistryOps$RegistryInfoLookup context, Executor executor)
method_1_453(class_6903$class_7863 arg0, Executor arg1)
load(RegistryOps$RegistryInfoGetter arg0, Executor arg1)
private void
lambda$load$2(RegistryDataLoader$NetworkedRegistryData arg0, List arg1)
method_1_443(class_7655$class_9841 arg0, List arg1)
method_1_443(RegistryLoading$ElementsAndTags arg0, List results)
private RegistryLoader$Result
lambda$load$1(ResourceKey arg0, RegistryOps arg1, FileToIdConverter arg2)
method_1_442(class_5321 arg0, class_6903 arg1, class_7654 arg2)
method_1_442(RegistryKey arg0, RegistryOps arg1, ResourceFinder arg2)
private RegistryLoader$Result
lambda$load$0(ResourceKey arg0, RegistryOps arg1, Optional arg2)
method_1_441(class_5321 arg0, class_6903 arg1, Optional arg2)
method_1_441(RegistryKey arg0, RegistryOps arg1, Optional arg2)