diff options
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/config')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/config/features/inventory/CraftableItemListConfig.java | 39 | ||||
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/config/features/inventory/InventoryConfig.java | 7 |
2 files changed, 45 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/inventory/CraftableItemListConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/inventory/CraftableItemListConfig.java new file mode 100644 index 000000000..398a3e59e --- /dev/null +++ b/src/main/java/at/hannibal2/skyhanni/config/features/inventory/CraftableItemListConfig.java @@ -0,0 +1,39 @@ +package at.hannibal2.skyhanni.config.features.inventory; + +import at.hannibal2.skyhanni.config.FeatureToggle; +import at.hannibal2.skyhanni.config.core.config.Position; +import com.google.gson.annotations.Expose; +import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorBoolean; +import io.github.notenoughupdates.moulconfig.annotations.ConfigLink; +import io.github.notenoughupdates.moulconfig.annotations.ConfigOption; + +public class CraftableItemListConfig { + + @Expose + @ConfigOption( + name = "Enabled", + desc = "Shows a list of items that can be crafted with the items in inventory when inside the crafting menu. " + + "Click on the item to open §e/recipe§7." + ) + @ConfigEditorBoolean + @FeatureToggle + public boolean enabled = false; + + @Expose + @ConfigOption( + name = "Include Sacks", + desc = "Include items from inside the sacks.") + @ConfigEditorBoolean + public boolean includeSacks = false; + + @Expose + @ConfigOption( + name = "Exclude Vanilla Items", + desc = "Hide vanilla items from the craftable item list.") + @ConfigEditorBoolean + public boolean excludeVanillaItems = true; + + @Expose + @ConfigLink(owner = CraftableItemListConfig.class, field = "enabled") + public Position position = new Position(144, 139, false, true); +} diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/inventory/InventoryConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/inventory/InventoryConfig.java index 978d97ead..fcdccfab7 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/inventory/InventoryConfig.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/inventory/InventoryConfig.java @@ -57,7 +57,12 @@ public class InventoryConfig { @Expose @Category(name = "Chocolate Factory", desc = "Features to help you master the Chocolate Factory idle game.") public ChocolateFactoryConfig chocolateFactory = new ChocolateFactoryConfig(); - + + @Expose + @Category(name = "Craftable Item List", desc = "") + @Accordion + public CraftableItemListConfig craftableItemList = new CraftableItemListConfig(); + @Expose @ConfigOption(name = "Not Clickable Items", desc = "Better not click that item.") @Accordion |