Implement exporting merged language files from custom resourcepacks to a lang folder#22
Merged
eclipseisoffline merged 5 commits intomasterfrom Apr 12, 2026
Merged
Conversation
…rcepacks to a lang folder Still needs implementation for datagen module
…le, refactor/cleanup RainbowDataProvider
…pty or non-existent
…xin package, revert client language collection to non-codecs for better performance Also rename MinecraftAssetResolver to ClientAssetResolver
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR implements the exporting of language files from loaded resourcepacks to a
langfolder in Rainbow's current output folder, for easy copying to Geyser'slocales/overridesfolder. Files from different resourcepacks for the same language are merged together.The instructions in
report.txthave been updated. Exported languages are also listed in thereport.txtfile. The README has also been updated to include the extra steps, and a simple implementation for the datagen module has been written (exporting from Fabric's translation generation).The datagen module has been slightly reworked to support gathering data from multiple
DataProviders. This comes along with some reworks to theRainbowModelProviderclass, and since it no longer extendsFabricModelProvider, it has been renamed toRainbowDataProvider.