// Created By @Itzriyo157
// DO NOT STEAL/COPY/MODIFY THIS CODE WITHOUT MY PERMISSION!
{"namespace":"ryQC:instant_button","instant_move_stack_button_panel":{"type":"stack_panel","orientation":"horizontal","size":["default",54],"offset":[2,0],"anchor_from":"bottom_right","anchor_to":"bottom_left","controls":[{"instant_move_stack_button":{"type":"stack_panel","layer":2,"size":[18,"default"],"controls":[{"instant_move_container_item@ryQC:instant_button.instant_move_button":{"$hover_text":"Container Items","$button_text":"C","$container_input_panel":"ryQC:instant_button.container_items_input_panel"}},{"instant_move_inventory_item@ryQC:instant_button.instant_move_button":{"$hover_text":"Inventory Items","$button_text":"I","$container_input_panel":"ryQC:instant_button.inventory_items_input_panel"}},{"instant_move_hotbar_item@ryQC:instant_button.instant_move_button":{"$hover_text":"Hotbar Items","$button_text":"H","$container_input_panel":"ryQC:instant_button.hotbar_items_input_panel"}}]}},{"swither":{"type":"panel","size":[16,"100%"],"controls":[{"mode_swither_button@ryQC:instant_button.mode_swither_button":{"size":["100%","100%"]}}]}}]},"instant_move_button":{"type":"panel","size":[18,18],"controls":[{"input":{"type":"panel","layer":2,"controls":[{"input@$container_input_panel":{"layer":2,"$button_id":"button.container_auto_place","bindings":[{"binding_type":"view","source_control_name":"ins_button_mode_swither","source_property_name":"(not #toggle_state)","target_property_name":"#visible"}]}},{"input@$container_input_panel":{"layer":2,"$button_id":"button.drop_all","bindings":[{"binding_type":"view","source_control_name":"ins_button_mode_swither","source_property_name":"#toggle_state","target_property_name":"#visible"}]}}],"bindings":[{"binding_type":"view","source_control_name":"search_items_control","source_property_name":"(#item_name = '')","target_property_name":"#visible"}]}},{"content@common_buttons.light_text_button":{"$pressed_button_name":"button.menu_select","consume_hover_events":false,"layer":1,"bindings":[{"binding_type":"view","source_control_name":"search_items_control","source_property_name":"(#item_name = '')","target_property_name":"#enabled"}]}},{"hover_text@ryQC:common.hover_text":{"bindings":[{"binding_type":"view","source_control_name":"search_items_control","source_property_name":"(#item_name = '')","target_property_name":"#visible"}]}}]},"inv_instant_stack_button":{"type":"stack_panel","orientation":"horizontal","layer":19,"size":[18,37],"anchor_from":"right_middle","anchor_to":"right_middle","offset":[-26,2],"$slot_input_mapping_type":"double_pressed","controls":[{"inventory_input":{"type":"panel","size":["100%","100%x"],"$item_name_input_panel":"ryQC:instant_button.inventory_items_input_panel","$button_text":"I","layer":2,"controls":[{"destroy@ryQC:instant_button.item_name_slot_panel":{"$hover_text":"§cClear§f Inventory Items\n§7double click to activate it","$button_id":"button.container_auto_destroy","bindings":[{"binding_type":"view","source_control_name":"destroy_mode_toggle","source_property_name":"#toggle_state","target_property_name":"#visible"}]}},{"drop@ryQC:instant_button.item_name_slot_panel":{"$hover_text":"§cDrop§f Inventory Items\n§7double click to activate it","$button_id":"button.drop_all","bindings":[{"binding_type":"view","source_control_name":"drop_mode_toggle","source_property_name":"#toggle_state","target_property_name":"#visible"}]}},{"content@common_buttons.light_text_button":{"$pressed_button_name":"button.menu_select","$border_visible":false,"consume_hover_events":false,"layer":1,"button_mappings":[{"from_button_id":"button.menu_select","to_button_id":"button.menu_select","mapping_type":"double_pressed"},{"from_button_id":"button.menu_ok","to_button_id":"button.menu_select","mapping_type":"focused"}],"bindings":[{"binding_type":"view","source_control_name":"destroy_mode_toggle","source_property_name":"#toggle_state","target_property_name":"#a"},{"binding_type":"view","source_control_name":"drop_mode_toggle","source_property_name":"#toggle_state","target_property_name":"#b"},{"binding_type":"view","source_property_name":"(#a or #b)","target_property_name":"#enabled"}]}}]}},{"pad01":{"type":"panel","size":[1,0]}},{"hotbar_input":{"type":"panel","size":["100%","100%x"],"$item_name_input_panel":"ryQC:instant_button.hotbar_items_input_panel","$button_text":"H","layer":2,"controls":[{"destroy@ryQC:instant_button.item_name_slot_panel":{"$hover_text":"§cClear§f Hotbar Items\n§7double click to activate it","$button_id":"button.container_auto_destroy","bindings":[{"binding_type":"view","source_control_name":"destroy_mode_toggle","source_property_name":"#toggle_state","target_property_name":"#visible"}]}},{"drop@ryQC:instant_button.item_name_slot_panel":{"$hover_text":"§cDrop§f Hotbar Items\n§7double click to activate it","$button_id":"button.drop_all","bindings":[{"binding_type":"view","source_control_name":"drop_mode_toggle","source_property_name":"#toggle_state","target_property_name":"#visible"}]}},{"content@common_buttons.light_text_button":{"$border_visible":false,"consume_hover_events":false,"layer":1,"button_mappings":[{"from_button_id":"button.menu_select","to_button_id":"button.menu_select","mapping_type":"double_pressed"},{"from_button_id":"button.menu_ok","to_button_id":"button.menu_select","mapping_type":"focused"}],"bindings":[{"binding_type":"view","source_control_name":"destroy_mode_toggle","source_property_name":"#toggle_state","target_property_name":"#a"},{"binding_type":"view","source_control_name":"drop_mode_toggle","source_property_name":"#toggle_state","target_property_name":"#b"},{"binding_type":"view","source_property_name":"(#a or #b)","target_property_name":"#enabled"}]}}]}}]},"item_name_slot_panel":{"type":"panel","layer":2,"controls":[{"input@$item_name_input_panel":{"layer":10}},{"hover_text@ryQC:common.hover_text":{"$hover_text_anchor_to":"top_right"}}]},"mode_swither_button@ryQC:common.toggle_content":{"$use_raw_toggle":true,"$use_hover_text":false,"$toggle_view_binding_name":"ins_button_mode_swither","$unchecked_control":"ryQC:instant_button.mode_swither_button_unchecked_control","$checked_control":"ryQC:instant_button.mode_swither_button_checked_control","$unchecked_hover_control":"ryQC:instant_button.mode_swither_button_unchecked_hover_control","$checked_hover_control":"ryQC:instant_button.mode_swither_button_checked_hover_control","bindings":[{"binding_type":"view","source_control_name":"search_items_control","source_property_name":"#item_name","target_property_name":"#a"},{"binding_type":"view","source_property_name":"(#a = '')","target_property_name":"#visible"}]},"mode_swither_button_checked_control@mode_swither_button_unchecked_control":{"$swither_mode_icon_texture":"image/drop"},"mode_swither_button_checked_hover_control@mode_swither_button_unchecked_control":{"$swither_mode_icon_texture":"image/drop","$bg_color":[0.2,0.2,0.2],"$gg":false},"mode_swither_button_unchecked_hover_control@mode_swither_button_unchecked_control":{"$bg_color":[0.2,0.2,0.2],"$gg":false},"mode_swither_button_unchecked_control":{"type":"panel","size":[16,"100%"],"$swither_mode_icon_texture|default":"image/auto_place","$bg_color|default":[0.0,0.0,0.0],"$gg|default":true,"controls":[{"bg":{"type":"image","texture":"textures/ui/White","color":"$bg_color","alpha":0.6,"layer":1}},{"icon":{"type":"image","texture":"$swither_mode_icon_texture","size":[16,16],"layer":2}},{"border":{"type":"image","texture":"textures/ui/slider_border","ignored":"$gg","size":["100%","100%"],"layer":3}}]},"slot_input":{"type":"panel","size":["100%",0],"controls":[{"default":{"type":"panel","size":["100%",0],"$slot_input_mapping_type|default":"pressed","$button_id|default":"button.container_auto_place","controls":[{"input_panel":{"type":"button","size":["100%","100%x"],"anchor_from":"top_middle","anchor_to":"top_middle","consume_hover_events":false,"bindings":[{"binding_type":"collection_details","binding_collection_name":"$item_collection_name"},{"binding_name":"#item_id_aux","binding_type":"collection","binding_collection_name":"$item_collection_name"},{"binding_name":"#inventory_selected_item","binding_name_override":"#fly_selected_item"},{"binding_type":"view","source_property_name":"(#fly_selected_item = -1)","target_property_name":"#not_fly_selected_item"},{"binding_type":"view","source_property_name":"(not (#item_id_aux = -1) and #not_fly_selected_item)","target_property_name":"#default_mode"},{"binding_type":"view","source_property_name":"(#item_id_aux = #fly_selected_item)","target_property_name":"#selected_item"},{"binding_type":"view","source_property_name":"(#default_mode or #selected_item)","target_property_name":"#visible"}],"button_mappings":[{"from_button_id":"button.menu_select","to_button_id":"$button_id","mapping_type":"$slot_input_mapping_type","consume_event":false},{"from_button_id":"button.menu_ok","to_button_id":"$button_id","mapping_type":"focused","consume_event":false}]}}]}}]},"container_items_input_panel":{"type":"stack_panel","anchor_from":"top_middle","anchor_to":"top_middle","collection_name":"container_items","$item_collection_name":"container_items","$slot_input_control|default":"ryQC:instant_button.slot_input","$is_large_chest|default":false,"controls":[{"53@$slot_input_control":{"collection_index":53,"ignored":"(not $is_large_chest)"}},{"52@$slot_input_control":{"collection_index":52,"ignored":"(not $is_large_chest)"}},{"51@$slot_input_control":{"collection_index":51,"ignored":"(not $is_large_chest)"}},{"50@$slot_input_control":{"collection_index":50,"ignored":"(not $is_large_chest)"}},{"49@$slot_input_control":{"collection_index":49,"ignored":"(not $is_large_chest)"}},{"48@$slot_input_control":{"collection_index":48,"ignored":"(not $is_large_chest)"}},{"47@$slot_input_control":{"collection_index":47,"ignored":"(not $is_large_chest)"}},{"46@$slot_input_control":{"collection_index":46,"ignored":"(not $is_large_chest)"}},{"45@$slot_input_control":{"collection_index":45,"ignored":"(not $is_large_chest)"}},{"44@$slot_input_control":{"collection_index":44,"ignored":"(not $is_large_chest)"}},{"43@$slot_input_control":{"collection_index":43,"ignored":"(not $is_large_chest)"}},{"42@$slot_input_control":{"collection_index":42,"ignored":"(not $is_large_chest)"}},{"41@$slot_input_control":{"collection_index":41,"ignored":"(not $is_large_chest)"}},{"40@$slot_input_control":{"collection_index":40,"ignored":"(not $is_large_chest)"}},{"39@$slot_input_control":{"collection_index":39,"ignored":"(not $is_large_chest)"}},{"38@$slot_input_control":{"collection_index":38,"ignored":"(not $is_large_chest)"}},{"37@$slot_input_control":{"collection_index":37,"ignored":"(not $is_large_chest)"}},{"36@$slot_input_control":{"collection_index":36,"ignored":"(not $is_large_chest)"}},{"35@$slot_input_control":{"collection_index":35,"ignored":"(not $is_large_chest)"}},{"34@$slot_input_control":{"collection_index":34,"ignored":"(not $is_large_chest)"}},{"33@$slot_input_control":{"collection_index":33,"ignored":"(not $is_large_chest)"}},{"32@$slot_input_control":{"collection_index":32,"ignored":"(not $is_large_chest)"}},{"31@$slot_input_control":{"collection_index":31,"ignored":"(not $is_large_chest)"}},{"30@$slot_input_control":{"collection_index":30,"ignored":"(not $is_large_chest)"}},{"29@$slot_input_control":{"collection_index":29,"ignored":"(not $is_large_chest)"}},{"28@$slot_input_control":{"collection_index":28,"ignored":"(not $is_large_chest)"}},{"27@$slot_input_control":{"collection_index":27,"ignored":"(not $is_large_chest)"}},{"26@$slot_input_control":{"collection_index":26}},{"25@$slot_input_control":{"collection_index":25}},{"24@$slot_input_control":{"collection_index":24}},{"23@$slot_input_control":{"collection_index":23}},{"22@$slot_input_control":{"collection_index":22}},{"21@$slot_input_control":{"collection_index":21}},{"20@$slot_input_control":{"collection_index":20}},{"19@$slot_input_control":{"collection_index":19}},{"18@$slot_input_control":{"collection_index":18}},{"17@$slot_input_control":{"collection_index":17}},{"16@$slot_input_control":{"collection_index":16}},{"15@$slot_input_control":{"collection_index":15}},{"14@$slot_input_control":{"collection_index":14}},{"13@$slot_input_control":{"collection_index":13}},{"12@$slot_input_control":{"collection_index":12}},{"11@$slot_input_control":{"collection_index":11}},{"10@$slot_input_control":{"collection_index":10}},{"9@$slot_input_control":{"collection_index":9}},{"8@$slot_input_control":{"collection_index":8}},{"7@$slot_input_control":{"collection_index":7}},{"6@$slot_input_control":{"collection_index":6}},{"5@$slot_input_control":{"collection_index":5}},{"4@$slot_input_control":{"collection_index":4}},{"3@$slot_input_control":{"collection_index":3}},{"2@$slot_input_control":{"collection_index":2}},{"1@$slot_input_control":{"collection_index":1}},{"0@$slot_input_control":{"collection_index":0}}]},"inventory_items_input_panel":{"type":"stack_panel","anchor_from":"top_middle","anchor_to":"top_middle","collection_name":"inventory_items","$item_collection_name":"inventory_items","$slot_input_control|default":"ryQC:instant_button.slot_input","controls":[{"26@$slot_input_control":{"collection_index":26}},{"25@$slot_input_control":{"collection_index":25}},{"24@$slot_input_control":{"collection_index":24}},{"23@$slot_input_control":{"collection_index":23}},{"22@$slot_input_control":{"collection_index":22}},{"21@$slot_input_control":{"collection_index":21}},{"20@$slot_input_control":{"collection_index":20}},{"19@$slot_input_control":{"collection_index":19}},{"18@$slot_input_control":{"collection_index":18}},{"17@$slot_input_control":{"collection_index":17}},{"16@$slot_input_control":{"collection_index":16}},{"15@$slot_input_control":{"collection_index":15}},{"14@$slot_input_control":{"collection_index":14}},{"13@$slot_input_control":{"collection_index":13}},{"12@$slot_input_control":{"collection_index":12}},{"11@$slot_input_control":{"collection_index":11}},{"10@$slot_input_control":{"collection_index":10}},{"9@$slot_input_control":{"collection_index":9}},{"8@$slot_input_control":{"collection_index":8}},{"7@$slot_input_control":{"collection_index":7}},{"6@$slot_input_control":{"collection_index":6}},{"5@$slot_input_control":{"collection_index":5}},{"4@$slot_input_control":{"collection_index":4}},{"3@$slot_input_control":{"collection_index":3}},{"2@$slot_input_control":{"collection_index":2}},{"1@$slot_input_control":{"collection_index":1}},{"0@$slot_input_control":{"collection_index":0}}]},"hotbar_items_input_panel":{"type":"stack_panel","anchor_from":"top_middle","anchor_to":"top_middle","collection_name":"hotbar_items","$item_collection_name":"hotbar_items","$slot_input_control|default":"ryQC:instant_button.slot_input","controls":[{"8@$slot_input_control":{"collection_index":8}},{"7@$slot_input_control":{"collection_index":7}},{"6@$slot_input_control":{"collection_index":6}},{"5@$slot_input_control":{"collection_index":5}},{"4@$slot_input_control":{"collection_index":4}},{"3@$slot_input_control":{"collection_index":3}},{"2@$slot_input_control":{"collection_index":2}},{"1@$slot_input_control":{"collection_index":1}},{"0@$slot_input_control":{"collection_index":0}}]}}{}