2022-07-23 19:53:05 +02:00
|
|
|
package com.falsepattern.endlessids.config;
|
2022-03-17 15:21:30 +01:00
|
|
|
|
2022-07-23 19:53:05 +02:00
|
|
|
import com.falsepattern.endlessids.Tags;
|
2022-06-15 22:28:46 +02:00
|
|
|
import com.falsepattern.lib.config.Config;
|
2022-03-17 15:21:30 +01:00
|
|
|
|
2022-06-15 22:28:46 +02:00
|
|
|
@Config(modid = Tags.MODID)
|
2022-07-23 19:53:05 +02:00
|
|
|
public class GeneralConfig {
|
2022-06-15 22:28:46 +02:00
|
|
|
public static boolean catchUnregisteredBlocks = false;
|
|
|
|
|
|
|
|
|
|
@Config.Comment("Remove invalid (corrupted) blocks from the game.")
|
|
|
|
|
public static boolean removeInvalidBlocks = false;
|
|
|
|
|
|
|
|
|
|
@Config.Comment("Extend DataWatcher IDs. Vanilla limit is 31, new limit is 127.")
|
|
|
|
|
public static boolean extendDataWatcher = false;
|
|
|
|
|
|
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-06-15 22:28:46 +02:00
|
|
|
public static int countCorrectionBits = 0;
|
2022-03-17 15:21:30 +01:00
|
|
|
}
|