diff --git a/src/main/java/de/ellpeck/actuallyadditions/mod/config/CommonConfig.java b/src/main/java/de/ellpeck/actuallyadditions/mod/config/CommonConfig.java index eb7a1843e..8de47c2b6 100644 --- a/src/main/java/de/ellpeck/actuallyadditions/mod/config/CommonConfig.java +++ b/src/main/java/de/ellpeck/actuallyadditions/mod/config/CommonConfig.java @@ -20,16 +20,17 @@ public class CommonConfig { } public static class ItemSettings { - public static ModConfigSpec.ConfigValue> DRILL_EXTRA_MINING_WHITELIST; + public static ModConfigSpec.ConfigValue> DRILL_EXTRA_MINING_WHITELIST; public static void build() { BUILDER.comment("Item settings").push("itemsSettings"); + // TODO: Tags! DRILL_EXTRA_MINING_WHITELIST = BUILDER .comment("By default, the Drill can mine certain blocks. If there is one that it can't mine, but should be able to, put its REGISTRY NAME here. These are the actual registered Item Names, the ones you use, for example, when using the /give Command.") - .define("Drill Extra Whitelist", new ArrayList() {{ + .defineList("Drill Extra Whitelist", new ArrayList<>() {{ add("TConstruct:GravelOre"); - }}); + }}, (o) -> o instanceof String); BUILDER.pop(); } @@ -141,8 +142,8 @@ public class CommonConfig { MOST_BLAND_PERSON_EVER = BUILDER.comment("If you want to be really boring and lame, you can turn on this setting to disable colored names on Actually Additions items. Because why would you want things to look pretty anyways, right?") .define("noColoredItemNames", false); //TODO is this still needed? - REDSTONECONFIGURATOR = BUILDER.comment("define the item used to configure Redstone Mode").define("redstoneConfigurator", "minecraft:redstone_torch", obj -> obj instanceof String); - RELAYCONFIGURATOR = BUILDER.comment("define the item used to configure Direction in laser relays").define("relayConfigurator", "minecraft:compass", obj -> obj instanceof String); + REDSTONECONFIGURATOR = BUILDER.comment("define the item used to configure Redstone Mode").define("redstoneConfigurator", "minecraft:redstone_torch"); + RELAYCONFIGURATOR = BUILDER.comment("define the item used to configure Direction in laser relays").define("relayConfigurator", "minecraft:compass"); BUILDER.pop(); } diff --git a/src/main/resources/META-INF/mods.toml b/src/main/resources/META-INF/mods.toml index cc87344c2..cb99a62dc 100644 --- a/src/main/resources/META-INF/mods.toml +++ b/src/main/resources/META-INF/mods.toml @@ -10,7 +10,7 @@ displayName="Actually Additions" credits="Author: Ellpeck; Textures and Models: BootyToast, GlenthorLP, canitzp; Porters: Flanks, MrBysco, ErrorMikey; 1.20+ Textures: Ridanisaurus" authors="Ellpeck" description=''' -Do you want Automation? Wireless Transport? Better Machines? A cup o' Coffee? Chests? Better Hoppers? Leaf Blowers? Faster Growth? Plants? Well, Actually Additions has all that and a lot more! +Do you want Automation? Wireless Transport? Better Machines? A cup o\' Coffee? Chests? Better Hoppers? Leaf Blowers? Faster Growth? Plants? Well, Actually Additions has all that and a lot more! ''' [[dependencies.actuallyadditions]]