Replace Mouse Wheelie with Mouse Tweaks

deduplicate functions
sorting is now fully dedicated to Inventory Profiles Next
This commit is contained in:
Wroclaw 2022-06-19 19:23:28 +02:00
parent c2534b4f33
commit b86e259858
8 changed files with 35 additions and 145 deletions

8
config/MouseTweaks.cfg Normal file
View file

@ -0,0 +1,8 @@
RMBTweak=0
LMBTweakWithItem=1
LMBTweakWithoutItem=1
WheelTweak=1
WheelSearchOrder=1
WheelScrollDirection=0
ScrollItemScaling=0
Debug=0

View file

@ -21,6 +21,11 @@
"main": {
"keys": ""
}
},
"sort_inventory": {
"main": {
"keys": "BUTTON_3"
}
}
}
}

View file

@ -1,118 +0,0 @@
{
// General settings
general: {
// Sets the interval in milliseconds in which certain packets are fired.
// Lower numbers increase the speed but might be rejected by servers.
// default: 10
// Must be greater or equal to 1
interaction-rate: 10
// Enables right-clicking in recipe books/villager trading to swiftly craft/trade.
// default: true
enable-quick-craft: true
// This option will treat the hotbar as a separate scope.
// This means that pushing the inventory or sorting the main inventory will not affect the hotbar and vice-versa.
// default: true
hotbar-scope: true
// Enables using armor/elytra items to swap them with the currently equipped item.
// default: true
enable-quick-armor-swapping: true
// Enables dropping items when pressing alt and clicking on them.
// default: true
enable-alt-dropping: true
// This helps when you regularly move your mouse faster than the game can pick up.
// This will impact performance though.
// default: false
better-fast-dragging: false
// Sets the interval in milliseconds for singleplayer and local multiplayer.
// default: 1
// Must be greater or equal to 1
integrated-interaction-rate: 1
}
scrolling: {
// Enables scrolling of stacks
// default: true
enable: true
// Invert the scroll direction when scrolling items
// default: false
invert: false
// If enabled items will be moved according to whether your scrolling up or down.
// If disabled you will scroll to change the amount of items present (up will increase - down will decrease
// default: true
directional-scrolling: true
// Sets whether to by default scroll items
// out of the creative menu.
// default: true
scroll-creative-menu-items: true
// Sets whether creative mode tabs can
// be switched by scrolling over them.
// default: true
scroll-creative-menu-tabs: true
}
// Change sort modes. Existing sort modes are ALPHABET, RAW_ID and QUANTITY
sort: {
// Sets the sort mode for normal sorting.
// default: raw_id
primary-sort: raw_id
// Sets the sort mode for sorting whilst pressing shift.
// default: quantity
shift-sort: quantity
// Sets the sort mode for sorting whilst pressing control.
// default: alphabet
control-sort: alphabet
}
// Configure refill related stuff here.
refill: {
// Refills stacks in the off hand
// default: true
off-hand: true
// Refill when eating items
// default: true
eat: true
// Refill when dropping items
// default: true
drop: true
// Refill when using up items
// default: true
use: true
// Refill on other occasions
// default: true
other: true
// Enable/Disable specific rules for how to refill items
rules: {
// Tries to find any block items
// default: false
any-block: false
// Find items of the same item group
// default: false
itemgroup: false
// Try to find similar items through the item type hierarchy
// default: false
item-hierarchy: false
// Try to find similar block items through the block type hierarchy
// default: false
block-hierarchy: false
// Try to find other food items
// default: false
food: false
// Try to find equal items (no nbt matching)
// default: true
equal-items: true
// Try to find equal stacks (nbt matching
// default: true
equal-stacks: true
}
}
// Configure picking the correct tool for the currently faced block.
tool-picking: {
// Pick correct tool when middle clicking whilst holding a tool.
// default: true
hold-tool: true
// Pick correct tool when middle clicking whilst holding the same block as faced.
// default: false
hold-block: false
// Allows picking tools from the inventory.
// If disabled picking will only happen from the hotbar.
// default: true
pick-from-inventory: true
}
}

View file

@ -114,11 +114,6 @@ key_key.hotbar.9:key.keyboard.9
key_key.worldeditcui.toggle:key.keyboard.n
key_key.worldeditcui.clear:key.keyboard.j
key_key.worldeditcui.chunk:key.keyboard.unknown
key_key.mousewheelie.open_config_screen:key.keyboard.unknown
key_key.mousewheelie.sort_inventory:key.mouse.middle
key_key.mousewheelie.scroll_up:key.amecsapi.mouse.scroll.up
key_key.mousewheelie.scroll_down:key.amecsapi.mouse.scroll.down
key_key.mousewheelie.pick_tool:key.keyboard.unknown
key_key.amecs.alternative_escape:key.keyboard.unknown
key_key.amecs.toggle_auto_jump:key.keyboard.unknown
key_key.amecs.toggle_cape:key.keyboard.unknown