Skip to content

Commit

Permalink
Rundata
Browse files Browse the repository at this point in the history
  • Loading branch information
JT122406 committed Nov 28, 2023
1 parent 2b63193 commit d200e61
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,15 @@ public static void gatherData(GatherDataEvent event) {
DataGenerator generator = event.getGenerator();
PackOutput output = generator.getPackOutput();
CompletableFuture<HolderLookup.Provider> lookup = event.getLookupProvider();
generator.addProvider(false, new GenerationsStructuresBiomeTagsProvider(output, lookup, event.getExistingFileHelper()));
generator.addProvider(false, new GenerationsStructureTagsProvider(output, lookup, event.getExistingFileHelper()));
generator.addProvider(true, new GenerationsStructuresBiomeTagsProvider(output, lookup, event.getExistingFileHelper()));
generator.addProvider(true, new GenerationsStructureTagsProvider(output, lookup, event.getExistingFileHelper()));
generator.addProvider(true, new DatapackBuiltinEntriesProvider(output, lookup, BUILDER, Set.of(GenerationsStructures.MOD_ID)));
}

private static final RegistrySetBuilder BUILDER = new RegistrySetBuilder()
.add(Registries.TEMPLATE_POOL, GenerationsTemplatePools::bootstrap)
.add(Registries.STRUCTURE, GenerationsStructureSettings::bootstrap)
.add(Registries.STRUCTURE_SET, GenerationsStructureSets::bootstrap);
.add(Registries.TEMPLATE_POOL, GenerationsTemplatePools::bootstrap);
//.add(Registries.STRUCTURE, GenerationsStructureSettings::bootstrap)
//.add(Registries.STRUCTURE_SET, GenerationsStructureSets::bootstrap);

private static class GenerationsStructuresBiomeTagsProvider extends BiomeTagsProvider {

Expand Down

0 comments on commit d200e61

Please sign in to comment.