keys module¶
-
class
keys.
KeyConfigPanel
(mcedit)[source]¶ Bases:
albow.dialogs.Dialog
-
keyConfigKeys
= ['<Movement>', 'Forward', 'Back', 'Left', 'Right', 'Up', 'Down', 'Brake', 'Sprint', '', '<Camera>', 'Pan Up', 'Pan Down', 'Pan Left', 'Pan Right', 'Toggle View', 'Goto Panel', 'View Distance', 'Toggle Renderer', 'Fly Mode', '', '<Selection>', 'Increase Reach', 'Decrease Reach', 'Reset Reach', 'Show Block Info', 'Pick Block', 'Snap Clone to Axis', 'Long-Distance Mode', 'Blocks-Only Modifier', '', '<Brush Tool>', 'Rotate (Brush)', 'Roll (Brush)', 'Increase Brush', 'Decrease Brush', 'Brush Line Tool', '', '<Clone Tool>', 'Rotate (Clone)', 'Roll (Clone)', 'Flip', 'Mirror', '', '<Fill and Replace Tool>', 'Replace Shortcut', 'Swap', '', '<Chunk Control Tool>', 'Select Chunks', 'Deselect Chunks', '', '<Function>', 'Delete Blocks', 'Select All', 'Deselect', 'Undo', 'Redo', 'Cut', 'Copy', 'Paste', 'Export Selection', '', '<Menu>', 'New World', 'Quick Load', 'Open', 'Save', 'Save As', 'Reload World', 'Close World', 'World Info', 'Quit', '', '<Miscellaneous>', 'Take a Screenshot', 'Debug Overlay', 'Fast Nudge', 'Fast Increment Modifier (Hold)', '', '<Toolbar>', 'Select', 'Brush', 'Clone', 'Fill and Replace', 'Filter', 'Import Key', 'Players', 'World Spawnpoint', 'Chunk Control', 'NBT Explorer']¶
-
otherNames
= {'Import Key': 'Import', 'Rotate (Clone)': 'Rotate', 'Increase Brush': 'Increase Size', 'Blocks-Only Modifier': 'Blocks-Only Modifier (Hold)', 'Export Selection': 'Export', 'Rotate (Brush)': 'Rotate', 'Brush Line Tool': 'Line Tool (Hold)', 'Replace Shortcut': 'Replace', 'Show Block Info': 'Show Block Info (Hold)', 'Roll (Clone)': 'Roll', 'Pick Block': 'Pick Block (Hold + Click)', 'Snap Clone to Axis': 'Snap Clone to Axis (Hold)', 'Delete Blocks': 'Delete', 'Goto Panel': 'Goto Position', 'Decrease Brush': 'Decrease Size', 'Select Chunks': 'Select Chunks (Hold)', 'Roll (Brush)': 'Roll', 'Deselect Chunks': 'Deselect Chunks (Hold)', 'Take a Screenshot': 'Take Screenshot'}¶
-
presets
= {'Numpad': [('Forward', '[8]'), ('Back', '[5]'), ('Left', '[4]'), ('Right', '[6]'), ('Up', '[7]'), ('Down', '[1]'), ('Brake', '[0]'), ('Sprint', 'None'), ('Pan Up', 'I'), ('Pan Down', 'K'), ('Pan Left', 'J'), ('Pan Right', 'L'), ('Toggle View', 'Tab'), ('Goto Panel', 'Ctrl-G'), ('View Distance', 'Ctrl-F'), ('Toggle Renderer', 'Ctrl-M'), ('Fly Mode', 'None'), ('Increase Reach', 'Scroll Up'), ('Decrease Reach', 'Scroll Down'), ('Reset Reach', 'Button 3'), ('Show Block Info', 'Alt'), ('Pick Block', 'Alt'), ('Snap Clone to Axis', 'Ctrl'), ('Long-Distance Mode', 'Alt-Z'), ('Blocks-Only Modifier', 'Alt'), ('Rotate (Brush)', '[-]'), ('Roll (Brush)', '[*]'), ('Increase Brush', '[+]'), ('Decrease Brush', '[/]'), ('Brush Line Tool', 'Z'), ('Rotate (Clone)', '[-]'), ('Roll (Clone)', '[+]'), ('Flip', '[/]'), ('Mirror', '[*]'), ('Replace Shortcut', 'R'), ('Swap', '[.]'), ('Select Chunks', 'Z'), ('Deselect Chunks', 'Alt'), ('Delete Blocks', 'Delete'), ('Select All', 'Ctrl-A'), ('Deselect', 'Ctrl-D'), ('Undo', 'Ctrl-Z'), ('Redo', 'Ctrl-Y'), ('Cut', 'Ctrl-X'), ('Copy', 'Ctrl-C'), ('Paste', 'Ctrl-V'), ('Export Selection', 'Ctrl-E'), ('New World', 'Ctrl-N'), ('Quick Load', 'Ctrl-L'), ('Open', 'Ctrl-O'), ('Save', 'Ctrl-S'), ('Save As', 'Ctrl-Alt-S'), ('Reload World', 'Ctrl-R'), ('Close World', 'Ctrl-W'), ('World Info', 'Ctrl-I'), ('Quit', 'Ctrl-Q'), ('Take a Screenshot', 'F6'), ('Debug Overlay', '0'), ('Fast Nudge', 'None'), ('Fast Increment Modifier (Hold)', 'Ctrl'), ('Select', '1'), ('Brush', '2'), ('Clone', '3'), ('Fill and Replace', '4'), ('Filter', '5'), ('Import Key', '6'), ('Players', '7'), ('World Spawnpoint', '8'), ('Chunk Control', '9'), ('NBT Explorer', 'None')], 'ESDF': [('Forward', 'E'), ('Back', 'D'), ('Left', 'S'), ('Right', 'F'), ('Up', 'Space'), ('Down', 'Shift'), ('Brake', 'C'), ('Sprint', 'None'), ('Pan Up', 'I'), ('Pan Down', 'K'), ('Pan Left', 'J'), ('Pan Right', 'L'), ('Toggle View', 'Tab'), ('Goto Panel', 'Ctrl-G'), ('View Distance', 'Ctrl-F'), ('Toggle Renderer', 'Ctrl-M'), ('Fly Mode', 'None'), ('Increase Reach', 'Scroll Up'), ('Decrease Reach', 'Scroll Down'), ('Reset Reach', 'Button 3'), ('Show Block Info', 'Alt'), ('Pick Block', 'Alt'), ('Snap Clone to Axis', 'Ctrl'), ('Long-Distance Mode', 'Alt-Z'), ('Blocks-Only Modifier', 'Alt'), ('Rotate (Brush)', 'R'), ('Roll (Brush)', 'H'), ('Increase Brush', 'T'), ('Decrease Brush', 'G'), ('Brush Line Tool', 'Z'), ('Rotate (Clone)', 'R'), ('Roll (Clone)', 'T'), ('Flip', 'G'), ('Mirror', 'H'), ('Replace Shortcut', 'R'), ('Swap', 'X'), ('Select Chunks', 'Z'), ('Deselect Chunks', 'Alt'), ('Delete Blocks', 'Delete'), ('Select All', 'Ctrl-A'), ('Deselect', 'Ctrl-D'), ('Undo', 'Ctrl-Z'), ('Redo', 'Ctrl-Y'), ('Cut', 'Ctrl-X'), ('Copy', 'Ctrl-C'), ('Paste', 'Ctrl-V'), ('Export Selection', 'Ctrl-E'), ('New World', 'Ctrl-N'), ('Quick Load', 'Ctrl-L'), ('Open', 'Ctrl-O'), ('Save', 'Ctrl-S'), ('Save As', 'Ctrl-Alt-S'), ('Reload World', 'Ctrl-R'), ('Close World', 'Ctrl-W'), ('World Info', 'Ctrl-I'), ('Quit', 'Ctrl-Q'), ('Take a Screenshot', 'F6'), ('Debug Overlay', '0'), ('Fast Nudge', 'None'), ('Fast Increment Modifier (Hold)', 'Ctrl'), ('Select', '1'), ('Brush', '2'), ('Clone', '3'), ('Fill and Replace', '4'), ('Filter', '5'), ('Import Key', '6'), ('Players', '7'), ('World Spawnpoint', '8'), ('Chunk Control', '9'), ('NBT Explorer', 'None')], 'Arrows': [('Forward', 'Up'), ('Back', 'Down'), ('Left', 'Left'), ('Right', 'Right'), ('Up', 'Page Up'), ('Down', 'Page Down'), ('Brake', 'Space'), ('Sprint', 'None'), ('Pan Up', 'I'), ('Pan Down', 'K'), ('Pan Left', 'J'), ('Pan Right', 'L'), ('Toggle View', 'Tab'), ('Goto Panel', 'Ctrl-G'), ('View Distance', 'Ctrl-F'), ('Toggle Renderer', 'Ctrl-M'), ('Fly Mode', 'None'), ('Increase Reach', 'Scroll Up'), ('Decrease Reach', 'Scroll Down'), ('Reset Reach', 'Button 3'), ('Show Block Info', 'Alt'), ('Pick Block', 'Alt'), ('Snap Clone to Axis', 'Ctrl'), ('Long-Distance Mode', 'Alt-Z'), ('Blocks-Only Modifier', 'Alt'), ('Rotate (Brush)', 'Home'), ('Roll (Brush)', 'Delete'), ('Increase Brush', 'End'), ('Decrease Brush', 'Insert'), ('Brush Line Tool', 'Z'), ('Rotate (Clone)', 'Home'), ('Roll (Clone)', 'End'), ('Flip', 'Insert'), ('Mirror', 'Delete'), ('Replace Shortcut', 'R'), ('Swap', '\\'), ('Select Chunks', 'Z'), ('Deselect Chunks', 'Alt'), ('Delete Blocks', 'Backspace'), ('Select All', 'Ctrl-A'), ('Deselect', 'Ctrl-D'), ('Undo', 'Ctrl-Z'), ('Redo', 'Ctrl-Y'), ('Cut', 'Ctrl-X'), ('Copy', 'Ctrl-C'), ('Paste', 'Ctrl-V'), ('Export Selection', 'Ctrl-E'), ('New World', 'Ctrl-N'), ('Quick Load', 'Ctrl-L'), ('Open', 'Ctrl-O'), ('Save', 'Ctrl-S'), ('Save As', 'Ctrl-Alt-S'), ('Reload World', 'Ctrl-R'), ('Close World', 'Ctrl-W'), ('World Info', 'Ctrl-I'), ('Quit', 'Ctrl-Q'), ('Take a Screenshot', 'F6'), ('Debug Overlay', '0'), ('Fast Nudge', 'None'), ('Fast Increment Modifier (Hold)', 'Ctrl'), ('Select', '1'), ('Brush', '2'), ('Clone', '3'), ('Fill and Replace', '4'), ('Filter', '5'), ('Import Key', '6'), ('Players', '7'), ('World Spawnpoint', '8'), ('Chunk Control', '9'), ('NBT Explorer', 'None')], 'WASD': [('Forward', 'W'), ('Back', 'S'), ('Left', 'A'), ('Right', 'D'), ('Up', 'Space'), ('Down', 'Shift'), ('Brake', 'C'), ('Sprint', 'None'), ('Pan Up', 'I'), ('Pan Down', 'K'), ('Pan Left', 'J'), ('Pan Right', 'L'), ('Toggle View', 'Tab'), ('Goto Panel', 'Ctrl-G'), ('View Distance', 'Ctrl-F'), ('Toggle Renderer', 'Ctrl-M'), ('Fly Mode', 'None'), ('Increase Reach', 'Scroll Up'), ('Decrease Reach', 'Scroll Down'), ('Reset Reach', 'Button 3'), ('Show Block Info', 'Alt'), ('Pick Block', 'Alt'), ('Snap Clone to Axis', 'Ctrl'), ('Long-Distance Mode', 'Alt-Z'), ('Blocks-Only Modifier', 'Alt'), ('Rotate (Brush)', 'E'), ('Roll (Brush)', 'G'), ('Increase Brush', 'R'), ('Decrease Brush', 'F'), ('Brush Line Tool', 'Z'), ('Rotate (Clone)', 'E'), ('Roll (Clone)', 'R'), ('Flip', 'F'), ('Mirror', 'G'), ('Replace Shortcut', 'R'), ('Swap', 'X'), ('Select Chunks', 'Z'), ('Deselect Chunks', 'Alt'), ('Delete Blocks', 'Delete'), ('Select All', 'Ctrl-A'), ('Deselect', 'Ctrl-D'), ('Undo', 'Ctrl-Z'), ('Redo', 'Ctrl-Y'), ('Cut', 'Ctrl-X'), ('Copy', 'Ctrl-C'), ('Paste', 'Ctrl-V'), ('Export Selection', 'Ctrl-E'), ('New World', 'Ctrl-N'), ('Quick Load', 'Ctrl-L'), ('Open', 'Ctrl-O'), ('Save', 'Ctrl-S'), ('Save As', 'Ctrl-Alt-S'), ('Reload World', 'Ctrl-R'), ('Close World', 'Ctrl-W'), ('World Info', 'Ctrl-I'), ('Quit', 'Ctrl-Q'), ('Take a Screenshot', 'F6'), ('Debug Overlay', '0'), ('Fast Nudge', 'None'), ('Fast Increment Modifier (Hold)', 'Ctrl'), ('Select', '1'), ('Brush', '2'), ('Clone', '3'), ('Fill and Replace', '4'), ('Filter', '5'), ('Import Key', '6'), ('Players', '7'), ('World Spawnpoint', '8'), ('Chunk Control', '9'), ('NBT Explorer', 'None')], 'WASD Old': [('Forward', 'W'), ('Back', 'S'), ('Left', 'A'), ('Right', 'D'), ('Up', 'Q'), ('Down', 'Z'), ('Brake', 'Space'), ('Sprint', 'None'), ('Pan Up', 'I'), ('Pan Down', 'K'), ('Pan Left', 'J'), ('Pan Right', 'L'), ('Toggle View', 'Tab'), ('Goto Panel', 'Ctrl-G'), ('View Distance', 'Ctrl-F'), ('Toggle Renderer', 'Ctrl-M'), ('Fly Mode', 'None'), ('Increase Reach', 'Scroll Up'), ('Decrease Reach', 'Scroll Down'), ('Reset Reach', 'Button 3'), ('Show Block Info', 'Alt'), ('Pick Block', 'Alt'), ('Snap Clone to Axis', 'Shift'), ('Long-Distance Mode', 'Alt-Z'), ('Blocks-Only Modifier', 'Alt'), ('Rotate (Brush)', 'E'), ('Roll (Brush)', 'G'), ('Increase Brush', 'R'), ('Decrease Brush', 'F'), ('Brush Line Tool', 'Shift'), ('Rotate (Clone)', 'E'), ('Roll (Clone)', 'R'), ('Flip', 'F'), ('Mirror', 'G'), ('Replace Shortcut', 'R'), ('Swap', 'X'), ('Select Chunks', 'Ctrl'), ('Deselect Chunks', 'Shift'), ('Delete Blocks', 'Delete'), ('Select All', 'Ctrl-A'), ('Deselect', 'Ctrl-D'), ('Undo', 'Ctrl-Z'), ('Redo', 'Ctrl-Y'), ('Cut', 'Ctrl-X'), ('Copy', 'Ctrl-C'), ('Paste', 'Ctrl-V'), ('Export Selection', 'Ctrl-E'), ('New World', 'Ctrl-N'), ('Quick Load', 'Ctrl-L'), ('Open', 'Ctrl-O'), ('Save', 'Ctrl-S'), ('Save As', 'Ctrl-Alt-S'), ('Reload World', 'Ctrl-R'), ('Close World', 'Ctrl-W'), ('World Info', 'Ctrl-I'), ('Quit', 'Ctrl-Q'), ('Take a Screenshot', 'F6'), ('Debug Overlay', '0'), ('Fast Nudge', 'Shift'), ('Fast Increment Modifier (Hold)', 'Shift'), ('Select', '1'), ('Brush', '2'), ('Clone', '3'), ('Fill and Replace', '4'), ('Filter', '5'), ('Import Key', '6'), ('Players', '7'), ('World Spawnpoint', '8'), ('Chunk Control', '9'), ('NBT Explorer', 'None')]}¶
-
selectedKeyIndex
= 0¶
-