mirror of
https://github.com/TeamMidnightDust/MidnightLib.git
synced 2025-12-19 10:35:09 +01:00
MidnightLib 0.2.5 - Better Translations & Backgrounds
- Custom lang key support - Transparent list background when in game - Configurable background texture in MidnightConfig screens (defaults to Deepslate)
This commit is contained in:
@@ -12,7 +12,7 @@ public class MidnightConfigExample extends MidnightConfig {
|
||||
@Entry public static int fabric = 16777215; // Example for a int option
|
||||
@Entry public static double world = 1.4D; // Example for a double option
|
||||
@Entry public static boolean showInfo = true; // Example for a boolean option
|
||||
@Entry public static String name = "Hi"; // Example for a string option
|
||||
@Entry public static String name = "Hi"; // Example for a string option
|
||||
@Entry public static TestEnum testEnum = TestEnum.FABRIC; // Example for a enum option
|
||||
public static enum TestEnum { // Enums allow the user to cycle through predefined options
|
||||
QUILT, FABRIC
|
||||
|
||||
Reference in New Issue
Block a user