this is case sensitive

This commit is contained in:
slonkazoid
2025-06-29 02:51:00 +03:00
committed by GitHub
parent 8f79dfbd8e
commit 07d14f50a3

View File

@@ -147,7 +147,7 @@ public class MidnightConfigExample extends MidnightConfig {
public static int imposter = 16777215; // - Entries without an @Entry or @Comment annotation are ignored public static int imposter = 16777215; // - Entries without an @Entry or @Comment annotation are ignored
} }
``` ```
### `assets/modid/lang/`**`en_US.json`** ### `assets/modid/lang/`**`en_us.json`**
The .json language file for your config class could look similar to this: The .json language file for your config class could look similar to this:
```json ```json
{ {
@@ -206,4 +206,4 @@ If you don't use the whole library and therefore not the automatic ModMenu integ
public ConfigScreenFactory<?> getModConfigScreenFactory() { public ConfigScreenFactory<?> getModConfigScreenFactory() {
return parent -> MidnightConfig.getScreen(parent, "modid"); return parent -> MidnightConfig.getScreen(parent, "modid");
} }
``` ```