mirror of
https://github.com/BX-Team/DivineMC.git
synced 2025-12-21 07:49:18 +00:00
remove hoppers opts; fix another crashes; hopper throttle
This commit is contained in:
@@ -279,6 +279,8 @@ public class DivineConfig {
|
||||
public static boolean disableLeafDecay = false;
|
||||
public static boolean commandBlockParseResultsCaching = true;
|
||||
public static boolean enableAsyncSpawning = true;
|
||||
public static boolean hopperThrottleWhenFull = false;
|
||||
public static int hopperThrottleSkipTicks = 0;
|
||||
private static void miscSettings() {
|
||||
skipUselessSecondaryPoiSensor = getBoolean("settings.misc.skip-useless-secondary-poi-sensor", skipUselessSecondaryPoiSensor);
|
||||
clumpOrbs = getBoolean("settings.misc.clump-orbs", clumpOrbs,
|
||||
@@ -300,6 +302,11 @@ public class DivineConfig {
|
||||
"Caches the parse results of command blocks, can significantly reduce performance impact.");
|
||||
enableAsyncSpawning = getBoolean("settings.misc.enable-async-spawning", enableAsyncSpawning,
|
||||
"Enables optimization that will offload much of the computational effort involved with spawning new mobs to a different thread.");
|
||||
|
||||
hopperThrottleWhenFull = getBoolean("settings.misc.hopper-throttle-when-full.enabled", hopperThrottleWhenFull,
|
||||
"When enabled, hoppers will throttle if target container is full.");
|
||||
hopperThrottleSkipTicks = getInt("settings.misc.hopper-throttle-when-full.skip-ticks", hopperThrottleSkipTicks,
|
||||
"The amount of ticks to skip when the hopper is throttled.");
|
||||
}
|
||||
|
||||
public static String sentryDsn = "";
|
||||
|
||||
Reference in New Issue
Block a user