net.minecraft.registry

record RegistryLoader$Loader<T>

net.minecraft.resources.RegistryDataLoader$Loader
net.minecraft.class_7655$class_9158
net.minecraft.registry.RegistryLoader$Loader

Field summary

Modifier and TypeField
private final RegistryLoader$Entry<T>
data
comp_2245
data
private final MutableRegistry<T>
registry
comp_2246
registry
private final Map<RegistryKey<?>, Exception>
loadingErrors
comp_2247
loadingErrors

Constructor summary

ModifierConstructor
private (RegistryLoader$Entry<T> data, MutableRegistry<T> registry, Map<RegistryKey<?>, Exception> loadingErrors)

Method summary

Modifier and TypeMethod
public void
loadFromResources(ResourceManager resourceManager, RegistryOps$RegistryInfoLookup context)
method_56520(class_3300 arg0, class_6903$class_7863 arg1)
loadFromResource(ResourceManager resourceManager, RegistryOps$RegistryInfoGetter infoGetter)
public void
loadFromNetwork(Map<ResourceKey<? extends Registry<?>>, RegistryDataLoader$NetworkedRegistryData> entries, ResourceProvider knownDataSource, RegistryOps$RegistryInfoLookup context)
method_56521(Map<class_5321<? extends class_2378<?>>, class_7655$class_9841> arg0, class_5912 arg1, class_6903$class_7863 arg2)
loadFromNetwork(Map<RegistryKey<? extends Registry<?>>, RegistryLoader$ElementsAndTags> data, ResourceFactory factory, RegistryOps$RegistryInfoGetter infoGetter)
public RegistryLoader$Entry<T>
data()
comp_2245()
data()
public MutableRegistry<T>
registry()
comp_2246()
registry()
public Map<RegistryKey<?>, Exception>
loadingErrors()
comp_2247()
loadingErrors()