Skip to content

Commit

Permalink
renamed bootstrap datagen provider
Browse files Browse the repository at this point in the history
  • Loading branch information
NewJumper committed Nov 7, 2023
1 parent fff86d1 commit 801042a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/main/java/com/kyanite/deeperdarker/DeeperDarker.java
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ private void generateData(GatherDataEvent event) {
generator.addProvider(event.includeServer(), new DDItemTagsProvider(packOutput, event.getLookupProvider(), blockTags, fileHelper));

generator.addProvider(event.includeServer(), new ForgeAdvancementProvider(packOutput, event.getLookupProvider(), fileHelper, List.of(new DDAdvancements())));
generator.addProvider(event.includeServer(), new DDWorldGeneration(packOutput, event.getLookupProvider()));
generator.addProvider(event.includeServer(), new DDRegistriesGenerator(packOutput, event.getLookupProvider()));
generator.addProvider(event.includeServer(), new DDLootTableProvider(packOutput));
generator.addProvider(event.includeServer(), new DDLootModifierProvider(packOutput));
generator.addProvider(event.includeServer(), new DDRecipeProvider(packOutput));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@
import java.util.Set;
import java.util.concurrent.CompletableFuture;

public class DDWorldGeneration extends DatapackBuiltinEntriesProvider {
public class DDRegistriesGenerator extends DatapackBuiltinEntriesProvider {
public static final RegistrySetBuilder BUILDER = new RegistrySetBuilder().add(Registries.BIOME, OthersideBiomes::bootstrap).add(Registries.CONFIGURED_FEATURE, DDConfiguredFeatures::bootstrap).add(Registries.DIMENSION_TYPE, OthersideDimension::bootstrap).add(Registries.PLACED_FEATURE, DDPlacedFeatures::bootstrap).add(Registries.PROCESSOR_LIST, DDProcessorLists::bootstrap).add(Registries.STRUCTURE, DDStructures::bootstrap).add(Registries.STRUCTURE_SET, DDStructureSets::bootstrap).add(Registries.TEMPLATE_POOL, DDPools::bootstrap);

public DDWorldGeneration(PackOutput output, CompletableFuture<HolderLookup.Provider> registries) {
public DDRegistriesGenerator(PackOutput output, CompletableFuture<HolderLookup.Provider> registries) {
super(output, registries, BUILDER, Set.of(DeeperDarker.MOD_ID));
}
}

0 comments on commit 801042a

Please sign in to comment.