Files
EndlessIDs/src/main/java/com/falsepattern/endlessids/config/GeneralConfig.java
T

33 lines
1.3 KiB
Java
Raw Normal View History

package com.falsepattern.endlessids.config;
2022-03-17 15:21:30 +01:00
import com.falsepattern.endlessids.Tags;
2022-06-15 22:28:46 +02:00
import com.falsepattern.lib.config.Config;
2022-08-25 21:10:41 +02:00
import com.falsepattern.lib.config.ConfigurationManager;
2022-03-17 15:21:30 +01:00
2022-06-15 22:28:46 +02:00
@Config(modid = Tags.MODID)
public class GeneralConfig {
2022-08-25 21:10:41 +02:00
static {
ConfigurationManager.selfInit();
}
@Config.DefaultBoolean(false)
public static boolean catchUnregisteredBlocks;
2022-06-15 22:28:46 +02:00
@Config.Comment("Remove invalid (corrupted) blocks from the game.")
2022-08-25 21:10:41 +02:00
@Config.DefaultBoolean(false)
public static boolean removeInvalidBlocks;
2022-06-15 22:28:46 +02:00
@Config.Comment("Extend DataWatcher IDs. Vanilla limit is 31, new limit is 127.")
2022-08-25 21:10:41 +02:00
@Config.DefaultBoolean(false)
public static boolean extendDataWatcher;
2022-06-15 22:28:46 +02:00
2022-07-02 20:21:50 +02:00
@Config.Comment(
"Setting this value greater than 0 will reduce RAM usage, at the cost of less available Block IDs.\n" +
"Notice: This does not affect ITEM IDs.\n" +
"By default, block IDs can also go up to 16 Million, and each additional bit in this setting halves\n" +
"this value.\n" +
"(0: 16M, 1: 8M, 2: 4M, 3: 2M, 4: 1M, 5: 512K, 6: 256K, 7: 128K, 8: 64K, 9: 32K, 10: 16K, 11: 8K, 12: 4K)\n")
@Config.RangeInt(min = 0,
max = 12)
2022-08-25 21:10:41 +02:00
@Config.DefaultInt(0)
public static int countCorrectionBits;
2022-03-17 15:21:30 +01:00
}