add option to disable normal loot

This commit is contained in:
Jenny committed 2025-03-12 09:19:18 +01:00
1 parent 8e30a4cd8f
commit 3b115a1781
6 files changed
+58 -2

No files matched your search

@@ -12,10 +12,12 @@ public class ServerConfig {
public static final ForgeConfigSpec.ConfigValue<Integer> C_XP_AMOUNT;
public static final ForgeConfigSpec.ConfigValue<Integer> C_ITEM_AMOUNT;
public static final ForgeConfigSpec.ConfigValue<Boolean> C_DISABLE_LOOT_TABLES;
static {
C_XP_AMOUNT = BUILDER.comment("xp needed per loot drop, 0=per level").define("xp_amount", 25);
C_ITEM_AMOUNT = BUILDER.comment("items per loot drop").define("item_amount", 1);
C_DISABLE_LOOT_TABLES = BUILDER.comment("disable all loot tables").define("disable_loot_tables", false);
SPEC = BUILDER.build();
}