PlatformLanguageLoader
作者:rebot | 分类:模组
Minecraft 版本: 1.21 1.21.1 1.21.2 1.21.3 1.21.4 1.21.5 1.21.6
平台: fabric
标签: library
Platform Language Loader
Platform Language Loader (PLL for short) is a Minecraft mod that selectively loads language files based on which platform you are on. This is useful because
sometimes, things are named differently on one platform, and you want to alter the text in your mod or a resource pack based on that.
How It Works
To add PLL compatible files to your pack, create a platform folder in your lang folder. In this folder, create a subfolder for every platform you want
unique translations for, and add language files. The folder name should be the ID from the table below. You can also create files in the root of platform
which will be loaded if none of your platform specific folders were matched.
Platform Types
| Platform | ID |
|---|---|
| Windows | win32 |
| MacOS | darwin |
| Linux | linux |
| Android | android |
| BSD Varieties | bsd |
| Other Unix Systems | other_unix |
请登录后举报
暂无评论,抢个沙发吧~