Added configurable recycler blacklist (#1934)

* Added configurable recycler blacklist. Defaulted to scrap and scrap_box

* Fix for bronze dust centrifuge dupe
This commit is contained in:
vhd 2019-12-29 21:48:00 +02:00 committed by modmuss50
parent 4f45a63a7a
commit 52de2fc59f
3 changed files with 37 additions and 5 deletions

View file

@ -26,6 +26,9 @@ package techreborn.config;
import reborncore.common.config.Config;
import java.util.Arrays;
import java.util.List;
//All moved into one class as its a lot easier to find the annotations when you know where they all are
public class TechRebornConfig {
@ -431,6 +434,9 @@ public class TechRebornConfig {
@Config(config = "machines", category = "recycler", key = "RecyclerMaxEnergy", comment = "Recycler Max Energy (Value in EU)")
public static int recyclerMaxEnergy = 1000;
@Config(config = "machines", category = "recycler", key = "RecyclerBlacklist", comment = "Recycler blacklist")
public static List<String> recyclerBlackList = Arrays.asList("techreborn:scrap_box", "techreborn:scrap");
@Config(config = "machines", category = "scrapboxinator", key = "ScrapboxinatorMaxInput", comment = "Scrapboxinator Max Input (Value in EU)")
public static int scrapboxinatorMaxInput = 32;