Private
Public Access
1
0

Added config option for deposit threshold.

This commit is contained in:
2025-05-27 01:10:05 +01:00
parent b90ff37dda
commit fd55dd370b

View File

@ -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() {}
}