Uses of Interface
net.neoforged.neoforge.data.event.DatapackRegistryGatherer
Packages that use DatapackRegistryGatherer
-
Uses of DatapackRegistryGatherer in net.neoforged.neoforge.data.event
Subinterfaces of DatapackRegistryGatherer in net.neoforged.neoforge.data.eventModifier and TypeInterfaceDescriptioninterfaceGathers the datapack registry entries duringGatherDataRegistryEntriesEventwithin a global registry set shared between all mods.Classes in net.neoforged.neoforge.data.event that implement DatapackRegistryGathererModifier and TypeClassDescriptionfinal classGathers the datapack registry entries used for data generation.Methods in net.neoforged.neoforge.data.event that return DatapackRegistryGathererModifier and TypeMethodDescriptionDatapackRegistryGatherer.add(MultiRegistryBootstrap bootstrap) Adds a bootstrap for the requested registries to register entries for use during data generation.DatapackRegistryGatherer.add(ResourceKey<? extends Registry<T>> registryKey, SingleRegistryBootstrap<T> bootstrap) Adds a bootstrap for the provided registryResourceKeyto register entries for use during data generation.GatherDataRegistryEntriesEvent.add(MultiRegistryBootstrap bootstrap) GatherDataRegistryEntriesEvent.add(ResourceKey<? extends Registry<T>> registryKey, SingleRegistryBootstrap<T> bootstrap) default DatapackRegistryGathererDatapackRegistryGatherer.advancement(AdvancementSubProvider.Factory subProvider, AdvancementSubProvider.Factory... subProviders) Adds the sub providers used to bootstrap theRegistries.ADVANCEMENTentries for use during data generation.Gathers the datapack registry entries for a subset of mod ids different from the caller's mod id.default DatapackRegistryGathererDatapackRegistryGatherer.lootTable(LootTableProvider.SubProviderEntry subProvider, LootTableProvider.SubProviderEntry... subProviders) Adds the sub providers used to bootstrap theRegistries.LOOT_TABLEentries for use during data generation.default DatapackRegistryGathererDatapackRegistryGatherer.recipe(BiFunction<BootstrapContext<Recipe<?>>, BootstrapContext<Advancement>, ? extends RecipeProvider> providerFactory) Adds the recipe provider used to bootstrap theRegistries.RECIPEentries for use during data generation. -
Uses of DatapackRegistryGatherer in net.neoforged.neoforge.data.loading
Classes in net.neoforged.neoforge.data.loading that implement DatapackRegistryGathererModifier and TypeClassDescription(package private) final recordAn internal implementation ofDatapackRegistryGatherer.Fields in net.neoforged.neoforge.data.loading declared as DatapackRegistryGathererModifier and TypeFieldDescriptionprivate final @Nullable DatapackRegistryGathererDatapackRegistryGathererImpl.globalThe field for theglobalrecord component.Methods in net.neoforged.neoforge.data.loading that return DatapackRegistryGathererModifier and TypeMethodDescriptionDatapackRegistryGathererImpl.add(MultiRegistryBootstrap bootstrap) DatapackRegistryGathererImpl.add(ResourceKey<? extends Registry<T>> registryKey, SingleRegistryBootstrap<T> bootstrap) DatapackRegistryGathererImpl.global()Returns the value of theglobalrecord component.Constructors in net.neoforged.neoforge.data.loading with parameters of type DatapackRegistryGathererModifierConstructorDescription(package private)DatapackRegistryGathererImpl(@Nullable DatapackRegistryGatherer global, String id, DatapackRegistrySets<RegistrySetBuilder> builder, Set<String> modIds, DatapackRegistrySets<org.apache.commons.lang3.mutable.MutableBoolean> hasEntries) Creates an instance of aDatapackRegistryGathererImplrecord class.(package private)DatapackRegistryGathererImpl(DatapackRegistryGatherer global, String id, Set<String> modIds) Used to construct the registry gatherer for a subset of mod ids.