add option to disable normal loot
This commit is contained in:
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();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user