From 0b1a0b27baaa4b9367636f31bd2e2880089a8fd8 Mon Sep 17 00:00:00 2001 From: FalsePattern Date: Thu, 5 Jun 2025 11:20:42 +0200 Subject: [PATCH] move notice to top of the config --- .../endlessids/config/GeneralConfig.java | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/src/main/java/com/falsepattern/endlessids/config/GeneralConfig.java b/src/main/java/com/falsepattern/endlessids/config/GeneralConfig.java index 4e636c4..e9dd0e5 100644 --- a/src/main/java/com/falsepattern/endlessids/config/GeneralConfig.java +++ b/src/main/java/com/falsepattern/endlessids/config/GeneralConfig.java @@ -27,16 +27,14 @@ import com.falsepattern.lib.config.Config; import com.falsepattern.lib.config.ConfigurationManager; @Config(modid = Tags.MODID) +@Config.Comment({"WARNING: THIS CONFIG IS EXTREMELY SENSITIVE TO CHANGES, DISABLING STUFF ONCE THEY HAVE BEEN ENABLED", + "CAN CORRUPT YOUR WORLD! ONLY TOUCH THIS FILE IF YOU KNOW WHAT YOU'RE DOING!", + "This file should only be edited by modpack developers to fine-tune it for the modpack. Once an option", + "has been enabled, it modifies the chunk save data format, which is (partially) compatible with", + "vanilla, but removing the mod might cause block/item corruption for higher IDs.", + "Additional note: Every client and server must have the exact same config, this also affects netcode."}) public class GeneralConfig { - @Config.Comment( - "WARNING: THIS CONFIG IS EXTREMELY SENSITIVE TO CHANGES, DISABLING STUFF ONCE THEY HAVE BEEN ENABLED\n" + - "CAN CORRUPT YOUR WORLD! ONLY TOUCH THIS FILE IF YOU KNOW WHAT YOU'RE DOING!\n" + - "This file should only be edited by modpack developers to finetune it for the modpack. Once an option\n" + - "has been enabled, it modifies the chunk save data format, which is (partially) compatible with\n" + - "vanilla, but removing the mod might cause block/item corruption for higher IDs.\n" + - "Additional note: Every client and server must have the exact same config, this also affects netcode.") - @Config.DefaultString("") - public static String __NOTICE__; + @Config.Comment("Throw an exception when an invalid block is registered. FOR DEBUGGING PURPOSES") @Config.DefaultBoolean(false) public static boolean catchUnregisteredBlocks;