From 50d3090fa3bec57ba12b1d919d24d4e26f6457cb Mon Sep 17 00:00:00 2001 From: oitsjustjose Date: Mon, 24 Jan 2022 09:39:31 -0600 Subject: [PATCH] Add InvTweaks, remove invsorter --- config/MouseTweaks.cfg | 4 +- config/invtweaks-client.toml | 158 +++++++++++++++++++++++++++++++++++ 2 files changed, 160 insertions(+), 2 deletions(-) create mode 100644 config/invtweaks-client.toml diff --git a/config/MouseTweaks.cfg b/config/MouseTweaks.cfg index 4e1359a..7baaffb 100644 --- a/config/MouseTweaks.cfg +++ b/config/MouseTweaks.cfg @@ -1,8 +1,8 @@ RMBTweak=0 LMBTweakWithItem=1 LMBTweakWithoutItem=1 -WheelTweak=0 +WheelTweak=1 WheelSearchOrder=1 -WheelScrollDirection=0 +WheelScrollDirection=1 ScrollItemScaling=0 Debug=0 diff --git a/config/invtweaks-client.toml b/config/invtweaks-client.toml new file mode 100644 index 0000000..fc1aebf --- /dev/null +++ b/config/invtweaks-client.toml @@ -0,0 +1,158 @@ + +#Sorting customization +[sorting] + #Rules for sorting + #Each element is of the form + #A-D is the row from top to bottom + #1-9 is the column from left to right + #POS denotes the target slots + #Exs. POS = D3 means 3rd slot of hotbar + # POS = B means 2nd row, left to right + # POS = 9 means 9th column, bottom to top + # POS = A1-C9 means slots A1,A2,…,A9,B1,…,B9,C1,…,C9 + # POS = A9-C1 means slots A9,A8,…,A1,B9,…,B1,C9,…,C1 + #Append v to POS of the form A1-C9 to move in columns instead of rows + #Append r to POS of the form B or 9 to reverse slot order + #CATEGORY is the item category to designate the slots to + #CATEGORY = /LOCKED prevents slots from moving in sorting + #CATEGORY = /FROZEN has the effect of /LOCKED and, in addition, ignores slot in auto-refill + #CATEGORY = /OTHER covers all remaining items after other rules are exhausted + rules = ["D /LOCKED", "A1-C9 /OTHER"] + + #Custom settings per GUI + #x = x-position of external sort button relative to GUI top left + #y = same as above except for the y-position + #Omit x and y to leave position unchanged + #sortRange = slots to sort + #E.g. sortRange = "5,0-2" sorts slots 5,0,1,2 in that order + #sortRange = "" disables sorting for that container + #Out-of-bound slots are ignored + #Omit sortRange to leave as default + [[sorting.containerOverrides]] + containerClass = "net.p3pp3rf1y.sophisticatedbackpacks.common.gui.BackpackContainer" + sortRange = "" + + [[sorting.containerOverrides]] + containerClass = "com.tfar.craftingstation.CraftingStationContainer" + sortRange = "" + + [[sorting.containerOverrides]] + containerClass = "com.refinedmods.refinedstorage.container.GridContainer" + sortRange = "" + + [[sorting.containerOverrides]] + containerClass = "com.refinedmods.refinedstorage.container.CrafterManagerContainer" + sortRange = "" + + [[sorting.containerOverrides]] + containerClass = "com.refinedmods.refinedstorage.container.DiskManipulatorContainer" + sortRange = "" + + [[sorting.containerOverrides]] + containerClass = "appeng.container.implementations.MEMonitorableContainer" + sortRange = "" + + [[sorting.containerOverrides]] + containerClass = "appeng.container.implementations.PatternTermContainer" + sortRange = "" + + [[sorting.containerOverrides]] + containerClass = "appeng.container.implementations.CraftingTermContainer" + sortRange = "" + + [[sorting.containerOverrides]] + containerClass = "appeng.container.implementations.InterfaceTerminalContainer" + sortRange = "" + + [[sorting.containerOverrides]] + containerClass = "wile.engineersdecor.blocks.EdCraftingTable$CraftingTableContainer" + sortRange = "9-26" + + [[sorting.containerOverrides]] + containerClass = "blusunrize.immersiveengineering.common.gui.CraftingTableContainer" + sortRange = "" + + [[sorting.containerOverrides]] + containerClass = "se.mickelus.tetra.blocks.workbench.WorkbenchContainer" + sortRange = "" + + [[sorting.containerOverrides]] + containerClass = "mcjty.rftoolsstorage.modules.scanner.blocks.StorageScannerContainer" + sortRange = "" + + [[sorting.containerOverrides]] + containerClass = "mcjty.rftoolsstorage.modules.modularstorage.blocks.ModularStorageContainer" + sortRange = "" + + [[sorting.containerOverrides]] + containerClass = "mcjty.rftoolsutility.modules.crafter.blocks.CrafterContainer" + sortRange = "" + + [[sorting.containerOverrides]] + containerClass = "link.infra.demagnetize.blocks.DemagnetizerContainer" + sortRange = "" + + #Categor(y/ies) for sorting + # + #name: the name of the category + # + #spec: + #Each element denotes a series of semicolon-separated clauses + #Items need to match all clauses of at least one element + #Items matching earlier elements are earlier in order + #A clause of the form /tag: matches a tag + #Clauses /instanceof: or /class: check if item is + #instance of class or exactly of that class respectively + #Specifying an item's registry name as a clause checks for that item + #Prepending an exclamation mark at the start of a clause inverts it + [[sorting.category]] + name = "sword" + spec = ["/instanceof:net.minecraft.item.SwordItem"] + + [[sorting.category]] + name = "axe" + spec = ["/instanceof:net.minecraft.item.AxeItem"] + + [[sorting.category]] + name = "pickaxe" + spec = ["/instanceof:net.minecraft.item.PickaxeItem"] + + [[sorting.category]] + name = "shovel" + spec = ["/instanceof:net.minecraft.item.ShovelItem"] + + [[sorting.category]] + name = "acceptableFood" + spec = ["/instanceof:net.minecraft.item.Food; !minecraft:rotten_flesh; !minecraft:spider_eye; !minecraft:poisonous_potato; !minecraft:pufferfish"] + + [[sorting.category]] + name = "torch" + spec = ["minecraft:torch"] + + [[sorting.category]] + name = "cheapBlocks" + spec = ["/tag:forge:cobblestone", "/tag:forge:dirt"] + + [[sorting.category]] + name = "blocks" + spec = ["/instanceof:net.minecraft.item.BlockItem"] + +#Tweaks +[tweaks] + #0 = disable buttons (i.e. keybind only) + #1 = buttons for player sorting only + #2 = buttons for external sorting only + #3 = all buttons enabled (default) + #Range: 0 ~ 3 + enableButtons = 0 + #Enable auto-refill + autoRefill = true + #0 = disable sorting + #1 = player sorting only + #2 = external sorting only + #3 = all sorting enabled (default) + #Range: 0 ~ 3 + enableSort = 3 + #Enable a quick view of how many items that you're currently holding exists in your inventory by displaying it next your hotbar. + quickView = true +