Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add pirate-speak translation #113

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading