net.minecraft.registry

public class RegistryBuilder

net.minecraft.core.RegistrySetBuilder
net.minecraft.class_7877
net.minecraft.registry.RegistryBuilder

Field summary

Modifier and TypeField
private final List<RegistryBuilder$Bootstrapper>
entries
field_40941
bootstraps

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
private static RegistryBuilder$Bootstrapper
placeholderStub(ResourceKey<? extends Registry<?>> key)
method_1_7609(class_5321<? extends class_2378<?>> arg0)
emptyBootstrapper(RegistryKey<? extends Registry<?>> registryKey)
public <T> RegistryBuilder
add(ResourceKey<? extends Registry<T>> key, SingleRegistryBootstrap<T> bootstrap)
method_46777(class_5321<? extends class_2378<T>> arg0, class_7882<T> arg1)
addRegistry(RegistryKey<? extends Registry<T>> registryKey, BootstrapFunction<T> bootstrapFunction)
public RegistryBuilder
add(MultiRegistryBootstrap bootstrap)
method_1_7603(class_1_1269 arg0)
addRegistriesGenerator(RegistriesGenerator generator)
private static RegistryView$WrapperLookup
buildProviderWithContext(HolderLookup$Provider context, Stream<? extends HolderLookup$RegistryLookup<?>> newRegistries)
method_55290(class_7225$class_7874 arg0, Stream<? extends class_7225$class_7226<?>> arg1)
createWrapperLookup(RegistryView$WrapperLookup registries, Stream<? extends RegistryView$Named<?>> wrappers)
public RegistryView$WrapperLookup
build(HolderLookup$Provider context)
method_46780(class_7225$class_7874 arg0)
createWrapperLookup(RegistryView$WrapperLookup registries)
private static Set<RegistryKey<? extends Registry<?>>>
findRegistriesMissingFromPatch(HolderLookup$Provider contextRegistries, HolderLookup$Provider baseRegistries, List<RegistrySetBuilder$RegistryStub> entries)
method_1_7605(class_7225$class_7874 arg0, class_7225$class_7874 arg1, List<class_7877$class_1_1192> arg2)
method_1_7605(RegistryView$WrapperLookup registries, RegistryView$WrapperLookup base, List<RegistryBuilder$Bootstrapper> bootstraps)
public RegistryBuilder$FullPatchesRegistriesPair
buildPatch(HolderLookup$Provider context, HolderLookup$Provider fallbackProvider, Cloner$Factory clonerFactory)
method_46781(class_7225$class_7874 arg0, class_7225$class_7874 arg1, class_8990$class_8991 arg2)
createWrapperLookup(RegistryView$WrapperLookup registries, RegistryView$WrapperLookup base, RegistryCloner$CloneableRegistries cloneableRegistries)
private static <T> RegistryKey<? extends Registry<T>>
eyerollCast(ResourceKey<? extends Registry<? extends T>> registryKey)
method_1_7604(class_5321<? extends class_2378<? extends T>> arg0)
castKey(RegistryKey<? extends Registry<? extends T>> registryKey)
private static Stream<RegistryKey<? extends Registry<?>>>
newRegistryKeys(Stream<RegistrySetBuilder$RegistryStub> entries)
method_1_7608(Stream<class_7877$class_1_1192> arg0)
getBootstrapOutputRegistries(Stream<RegistryBuilder$Bootstrapper> bootstraps)
private static boolean
lambda$findRegistriesMissingFromPatch$0(Set arg0, ResourceKey arg1)
method_55295(Set arg0, class_5321 arg1)
method_55295(Set arg0, RegistryKey arg1)
private static void
lambda$buildProviderWithContext$1(Map arg0, HolderLookup$RegistryLookup arg1)
method_1_7607(Map arg0, class_7225$class_7226 arg1)
method_1_7607(Map arg0, RegistryView$Named wrapper)
private static void
lambda$buildProviderWithContext$0(Map arg0, HolderLookup$RegistryLookup arg1)
method_1_7606(Map arg0, class_7225$class_7226 arg1)
method_1_7606(Map arg0, RegistryView$Named registry)