-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathcustom_pocket_containers.json
More file actions
75 lines (71 loc) · 2.77 KB
/
custom_pocket_containers.json
File metadata and controls
75 lines (71 loc) · 2.77 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
{
"namespace" : "custom_pocket_containers",
"custom_pocket_container_grid@common.container_grid": {
"layer": 3,
"$item_collection_name": "container_items",
"grid_item_template": "common.pocket_ui_container_item"
},
"inventory_panel": {
"type": "panel",
//"size": [ "80%", "95%" ],
"size": [ "84%", "95%" ], // change
"anchor_to": "center",
"anchor_from": "center",
"controls": [
{
"scrolling_panel@common.scrolling_panel": {
"$allow_scrolling_even_when_content_fits": false,
"layer": 1,
"$scrolling_pane_size": [ "100%", "100%-2px" ],
//"$scrolling_content": "pocket_containers.inventory_grid",
"$scrolling_content": "custom_pocket_containers.custom_pocket_container_grid", // change
"$scroll_box_mouse_image_control": "common-classic.button_state_default",
"$scroll_size": [ "8px", "100%" ]
}
}
]
},
"half_screen": {
"type": "panel",
"size": [ "50%", "100%-27px" ],
"offset": [ 0, 27 ],
"anchor_from": "top_left",
"anchor_to": "top_left",
"controls": [
{ "inventory_panel@inventory_panel": {} }
]
},
"panel": {
"type": "panel",
"controls": [
{ "container_gamepad_helpers@common.container_gamepad_helpers": { "layer": 3 } },
//{ "header@header_area": { "layer": 2 } },
{ "header@pocket_containers.header_area": { "layer": 2 } }, // change
//{ "bg@background_panel": { "layer": 0 } },
{ "bg@pocket_containers.background_panel": { "layer": 0 } }, // change
{
//"inventory@half_screen": {
"inventory@pocket_containers.half_screen": { // change
"$container_size": 36,
"$pane_collection": "combined_hotbar_and_inventory_items"
}
},
{
"container@half_screen": {
"anchor_from": "top_middle",
"$pane_collection": "container_items"
}
},
{ "selected_item_details_factory@common.selected_item_details_factory": {} },
{
"item_lock_notification_factory@common.item_lock_notification_factory": {
"$offset": [ 0, "85%" ]
}
},
{ "gamepad_cursor@common.gamepad_cursor_button": {} },
{ "inventory_selected_icon_button@common.inventory_selected_icon_button": {} },
{ "hold_icon@common.inventory_take_progress_icon_button": {} },
{ "flying_item_renderer@common.flying_item_renderer": {} }
]
}
}