Add Language Support For Carpet Settings (#267)
* Added language supports for carpet settings use /set-carpet-language to set your language. * Added zh_cn.json - in progress Not accomplished yet, only translations for testing the language support. * Create model_for_new_language.jsons.txt * Rename model_for_new_language.jsons.txt to model_for_new_language.json * Update model_for_new_language.json * Update model_for_new_language.json * Update and rename model_for_new_language.json to en_us.json * Added setting CarpetLanguage * Delete SetLanguageCommand.java * Add files via upload * Update SettingsManager.java * Add files via upload * Update LanguageUtils.java * Update SettingsManager.java
This commit is contained in:
1 parent
7447129d92
commit
1f5b06daa2
5 files changed
+243
-24
No files matched your search
@@ -41,6 +41,14 @@ public class CarpetSettings
|
||||
public static Vec3d fixedPosition = null;
|
||||
public static int runPermissionLevel = 2;
|
||||
|
||||
@Rule(
|
||||
desc = "sets the language of CarpetMod",
|
||||
category = {CREATIVE, SURVIVAL},
|
||||
options = {"none"},
|
||||
strict = false
|
||||
)
|
||||
public static String carpetLanguage = "none";
|
||||
|
||||
@Rule(
|
||||
desc = "Nether portals correctly place entities going through",
|
||||
extra = "Entities shouldn't suffocate in obsidian",
|
||||
|
||||
Reference in new issue
Block a user