Skip to content

Commit

Permalink
feat: Add Pirate-speak lingo.
Browse files Browse the repository at this point in the history
  • Loading branch information
kd8lvt authored and Elenterius committed Jan 31, 2024
1 parent 4587b7e commit 010f186
Show file tree
Hide file tree
Showing 2 changed files with 559 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import com.github.elenterius.biomancy.BiomancyMod;
import com.github.elenterius.biomancy.datagen.advancements.ModAdvancementProvider;
import com.github.elenterius.biomancy.datagen.lang.EnglishLangProvider;
import com.github.elenterius.biomancy.datagen.lang.PirateLangProvider;
import com.github.elenterius.biomancy.datagen.loot.ModGlobalLootModifierProvider;
import com.github.elenterius.biomancy.datagen.loot.ModLootTableProvider;
import com.github.elenterius.biomancy.datagen.models.ModBlockStateProvider;
Expand Down Expand Up @@ -67,15 +68,17 @@ public static void gatherData(final GatherDataEvent event) {
generator.addProvider(includeServer, new ModParticleSpriteProvider(packOutput, existingFileHelper));

//translations
EnglishLangProvider translationProvider = new EnglishLangProvider(packOutput);
EnglishLangProvider enLanguage = new EnglishLangProvider(packOutput);
PirateLangProvider pirateLanguage = new PirateLangProvider(packOutput);

//advancements
generator.addProvider(includeServer, new ModAdvancementProvider(packOutput, lookupProvider, existingFileHelper, translationProvider));
generator.addProvider(includeServer, new ModAdvancementProvider(packOutput, lookupProvider, existingFileHelper, enLanguage));

//guide book
generator.addProvider(includeServer, new GuideBookProvider(packOutput, translationProvider));
generator.addProvider(includeServer, new GuideBookProvider(packOutput, enLanguage));

generator.addProvider(includeServer, translationProvider);
generator.addProvider(includeServer, enLanguage);
generator.addProvider(includeServer, pirateLanguage);
}

}
Loading

0 comments on commit 010f186

Please sign in to comment.