-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathcustom_scroll_screen.json
More file actions
71 lines (68 loc) · 2.92 KB
/
custom_scroll_screen.json
File metadata and controls
71 lines (68 loc) · 2.92 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
{
"namespace": "custom_scroll_screen",
"custom_container_grid@common.container_grid": {
"layer": 3,
"$item_collection_name": "container_items"
},
"custom_scroll_panel_top_half": {
"type": "panel",
"$panel_top_half_size|default": [ "100%", 132 ], // large_chest_panel_top_half
"size": "$panel_top_half_size",
"offset": [ 0, 11 ],
"anchor_from": "top_left",
"anchor_to": "top_left",
"controls": [
{ "chest_label@chest.chest_label": {} },
{
"scrolling_panel@common.container_scroll_panel": {
"$scroll_view_port_size": [ "100%", "100%" ],
"$scroll_view_port_size_touch": [ "100%", "100%" ],
"$scroll_view_port_offset": [ 0, 0 ],
"$scroll_view_port_offset_touch": [ 0, 0 ],
"$scroll_bar_left_padding_size": [ 0, 0 ],
"$scroll_bar_right_padding_size": [ 0, 0 ],
"$scrolling_panel_size|default": [ 162, 108 ], // large_chest_grid
"size": "$scrolling_panel_size",
"$scrolling_content": "custom_scroll_screen.custom_container_grid"
}
}
]
},
"custom_scroll_panel": {
"type": "panel",
"controls": [
{ "container_gamepad_helpers@common.container_gamepad_helpers": {} },
{
"flying_item_renderer@common.flying_item_renderer": {
"layer": 14
}
},
{ "selected_item_details_factory@common.selected_item_details_factory": {} },
{ "item_lock_notification_factory@common.item_lock_notification_factory": {} },
{
"root_panel@common.root_panel": {
"$root_panel_size|default": [ 176, 220 ], // large_chest_panel
"size": "$root_panel_size",
"layer": 1,
"controls": [
{ "common_panel@common.common_panel": {} },
{
"chest_panel": {
"type": "panel",
"layer": 5,
"controls": [
{ "small_chest_panel_top_half@custom_scroll_screen.custom_scroll_panel_top_half": {} },
{ "inventory_panel_bottom_half_with_label@common.inventory_panel_bottom_half_with_label": {} },
{ "hotbar_grid@common.hotbar_grid_template": {} },
{ "inventory_take_progress_icon_button@common.inventory_take_progress_icon_button": {} }
]
}
},
{ "inventory_selected_icon_button@common.inventory_selected_icon_button": {} },
{ "gamepad_cursor@common.gamepad_cursor_button": {} }
]
}
}
]
}
}