Added config option for deposit threshold.
This commit is contained in:
@ -61,7 +61,15 @@ public final class Config {
|
||||
}
|
||||
|
||||
public static class Server {
|
||||
Server(ForgeConfigSpec.Builder builder) {}
|
||||
public static ForgeConfigSpec.IntValue geologistPickDepositThreshold;
|
||||
|
||||
Server(ForgeConfigSpec.Builder builder) {
|
||||
builder.comment("Settings for geologist pick").push("geologist_pick");
|
||||
geologistPickDepositThreshold = builder
|
||||
.comment("The ore block quantity needed for an ore to be recognised as a deposit.")
|
||||
.defineInRange("geologistPickDepositThreshold", 500, 0, Integer.MAX_VALUE);
|
||||
builder.pop();
|
||||
}
|
||||
|
||||
private static void onConfigReload() {}
|
||||
}
|
||||
|
Reference in New Issue
Block a user