1
0
mirror of https://github.com/Mojang/bedrock-samples.git synced 2024-11-23 12:26:14 +00:00
bedrock-samples/resource_pack/ui/play_screen.json
Mike Ammerlaan 6e0daa70a8 v1.21.40.3
2024-10-22 09:25:09 -07:00

8109 lines
240 KiB
JSON

{
"namespace": "play",
//---------------------------------------------------------------------------
// Common
//---------------------------------------------------------------------------
"label_background": {
"type": "image",
"texture": "textures/ui/mainbanners"
},
"dark_label_background": {
"type": "image",
"texture": "textures/ui/BannersLight"
},
"world_screenshot_base": {
"type": "image",
"size": [ "100%cm + 2px", "100%" ],
"texture": "$border_texture",
"anchor_from": "left_middle",
"anchor_to": "left_middle",
"layer": 1
},
"collection_world_screenshot@play.world_screenshot_base": {
"$fit_image_to_width|default": false,
"$collection_binding_name|default": "",
"$image_binding_name|default": "",
"$texture_source_binding_name|default": "",
"$supports_realmsplus_overlay|default": false,
"controls": [
{
"screenshot_picture": {
"type": "image",
"layer": 1,
"$fit_to_width": "$fit_image_to_width",
"force_texture_reload": true,
"size": [ "173.91%y", "100% - 2px" ],
"offset": [ 1, 1 ],
"fill": true,
"anchor_from": "top_left",
"anchor_to": "top_left",
"bindings": [
{
"binding_name": "$image_binding_name",
"binding_name_override": "#texture",
"binding_type": "collection",
"binding_collection_name": "$collection_binding_name"
},
{
"binding_name": "$texture_source_binding_name",
"binding_name_override": "#texture_file_system",
"binding_type": "collection",
"binding_collection_name": "$collection_binding_name"
}
],
"controls": [
{
"gradient_container_stacked_panel": {
"ignored": "(not $supports_realmsplus_overlay)",
"type": "stack_panel",
"orientation": "vertical",
"size": [ "100%cm", "100%" ],
"anchor_from": "top_left",
"anchor_to": "top_left",
"bindings": [
{
"binding_name": "#realmsplus_expired_visible",
"binding_type": "collection",
"binding_name_override": "#visible",
"binding_collection_name": "$collection_binding_name"
}
],
"controls": [
{
"gradient_image_realmsplus_expired": {
"type": "image",
"layer": 1,
"size": [ "69.5%y", "50%" ],
"texture": "textures/ui/realmsparkle"
}
},
{
"solid_image_realmsplus_expired": {
"type": "image",
"layer": 2,
"size": [ "69.5%y", "50%" ],
"texture": "textures/ui/realmsparkle1",
"controls": [
{
"exclamationmark": {
"type": "label",
"color": "$realmsplus_exclamation_mark_color",
"layer": 1,
"text": "!",
"anchor_from": "bottom_middle",
"anchor_to": "bottom_middle",
"offset": [ 1, -1 ]
}
}
]
}
}
]
}
}
]
}
}
]
},
"world_item_grid_base": {
"type": "grid",
"size": [ "100%", "default" ],
"layer": 1,
"anchor_to": "top_left",
"anchor_from": "top_left"
},
//---------------------------------------------------------------------------
// Common Icons
//---------------------------------------------------------------------------
"edit_icon": {
"type": "image",
"texture": "textures/ui/editIcon",
"size": [ 22, 16 ]
},
"realms_stories_icon": {
"type": "image",
"texture": "textures/ui/realmsStoriesIcon",
"size": [ 22, 22 ]
},
"realms_stories_icon_animated": {
"type": "image",
"texture": "textures/ui/realmsStoriesIconAnimated",
"size": [ 22, 22 ],
"uv_size": [ 22, 22 ],
"uv": "@play.anim_realms_stories_icon",
"disable_anim_fast_forward": true
},
"anim_realms_stories_icon": {
"anim_type": "flip_book",
"initial_uv": [ 0, 0 ],
"frame_count": 13,
"fps": 4,
"looping": false,
"easing": "linear",
"wait_until_rendered_to_play": true
},
"realms_slots_edit_icon": {
"type": "image",
"texture": "textures/ui/realmsSlotsEditIcon",
"size": [ 22, 22 ]
},
"worlds_icon": {
"type": "image",
"texture": "textures/ui/worldsIcon",
"size": [ 16, 17 ]
},
"realms_icon": {
"type": "image",
"texture": "textures/ui/realmsIcon",
"size": [ 11, 14 ]
},
"realms_chevron": {
"type": "image",
"texture": "textures/ui/realms_chevron_play",
"size": [ 23, 28 ]
},
"friends_icon_1": {
"type": "image",
"texture": "textures/ui/Friend1",
"size": [ 10, 10 ]
},
"friends_icon_2": {
"type": "image",
"texture": "textures/ui/Friend2",
"size": [ 10, 10 ]
},
"bell_icon": {
"type": "image",
"texture": "textures/ui/icon_bell",
"size": [ 20, 20 ]
},
"invite_icon": {
"type": "image",
"texture": "textures/ui/invite_base",
"size": [ 20, 20 ]
},
"delete_icon": {
"type": "image",
"texture": "textures/ui/trash_light",
"size": [ 22, 16 ]
},
"world_download_icon": {
"type": "image",
"texture": "textures/ui/world_download",
"size": [ 15, 16 ]
},
// To create the bouncing effect of alternating bounces for the notification icon
// the durations have to be alternated and then resynced with the wait time.
"anim_icon_wait_A": {
"anim_type": "wait",
"duration": 0.14,
"next": "@play.anim_icon_A_bounce_in_2",
"end_event": "friend_icon_bounce_start"
},
"anim_icon_wait_B": {
"anim_type": "wait",
"duration": 0.1,
"next": "@play.anim_icon_B_bounce_in_2",
"end_event": "friend_icon_bounce_start"
},
"anim_count_wait": {
"anim_type": "wait",
"duration": 0.14,
"next": "@play.anim_count_bounce_in_2",
"end_event": "friend_icon_bounce_start"
},
"anim_icon_wait_A_2": {
"anim_type": "wait",
"duration": 0.1,
"next": "@play.anim_icon_A_bounce_in_3",
"end_event": "friend_icon_bounce_start"
},
"anim_icon_wait_B_2": {
"anim_type": "wait",
"duration": 0.14,
"next": "@play.anim_icon_B_bounce_in_3",
"end_event": "friend_icon_bounce_start"
},
"anim_count_wait_2": {
"anim_type": "wait",
"duration": 0.1,
"next": "@play.anim_count_bounce_in_3",
"end_event": "friend_icon_bounce_start"
},
// After three bounces the icon waits for three seconds.
"anim_icon_wait_A_3": {
"anim_type": "wait",
"duration": 3.04,
"next": "@play.anim_icon_A_bounce_in",
"end_event": "friend_icon_bounce_start"
},
"anim_icon_wait_B_3": {
"anim_type": "wait",
"duration": 2.97,
"next": "@play.anim_icon_B_bounce_in",
"end_event": "friend_icon_bounce_start"
},
"anim_count_wait_3": {
"anim_type": "wait",
"duration": 3.04,
"next": "@play.anim_count_bounce_in",
"end_event": "friend_icon_bounce_start"
},
// The icon is always being offseted by a constant amount, going up by 4 then down by 4
// This is to get the text in the right position at the beginning.
"anim_count_wait_offset": {
"anim_type": "offset",
"duration": 1.00,
"from": [ -5, 1 ],
"to": [ -5, 1 ],
"next": "@play.anim_count_wait_3"
},
// Alternating between .185 and .225, and being resynced with waits.
"anim_icon_A_bounce_in": {
"anim_type": "offset",
"easing": "linear",
"duration": 0.185,
"from": [ -5, 2 ],
"to": [ -5, -2 ],
"next": "@play.anim_icon_A_bounce_out"
},
"anim_icon_A_bounce_out": {
"anim_type": "offset",
"easing": "linear",
"duration": 0.185,
"from": [ -5, -2 ],
"to": [ -5, 2 ],
"next": "@play.anim_icon_wait_A",
"end_event": "friend_icon_bounce_end"
},
"anim_icon_B_bounce_in": {
"anim_type": "offset",
"easing": "linear",
"duration": 0.225,
"from": [ 0, -3 ],
"to": [ 0, -7 ],
"next": "@play.anim_icon_B_bounce_out"
},
"anim_icon_B_bounce_out": {
"anim_type": "offset",
"easing": "linear",
"duration": 0.225,
"from": [ 0, -7 ],
"to": [ 0, -3 ],
"next": "@play.anim_icon_wait_B",
"end_event": "friend_icon_bounce_end"
},
"anim_icon_A_bounce_in_2": {
"anim_type": "offset",
"easing": "linear",
"duration": 0.225,
"from": [ -5, 2 ],
"to": [ -5, -2 ],
"next": "@play.anim_icon_A_bounce_out_2"
},
"anim_icon_A_bounce_out_2": {
"anim_type": "offset",
"easing": "linear",
"duration": 0.225,
"from": [ -5, -2 ],
"to": [ -5, 2 ],
"next": "@play.anim_icon_wait_A_2",
"end_event": "friend_icon_bounce_end"
},
"anim_icon_B_bounce_in_2": {
"anim_type": "offset",
"easing": "linear",
"duration": 0.185,
"from": [ 0, -3 ],
"to": [ 0, -7 ],
"next": "@play.anim_icon_B_bounce_out_2"
},
"anim_icon_B_bounce_out_2": {
"anim_type": "offset",
"easing": "linear",
"duration": 0.185,
"from": [ 0, -7 ],
"to": [ 0, -3 ],
"next": "@play.anim_icon_wait_B_2",
"end_event": "friend_icon_bounce_end"
},
"anim_icon_A_bounce_in_3": {
"anim_type": "offset",
"easing": "linear",
"duration": 0.185,
"from": [ -5, 2 ],
"to": [ -5, -2 ],
"next": "@play.anim_icon_A_bounce_out_3"
},
"anim_icon_A_bounce_out_3": {
"anim_type": "offset",
"easing": "linear",
"duration": 0.185,
"from": [ -5, -2 ],
"to": [ -5, 2 ],
"next": "@play.anim_icon_wait_A_3",
"end_event": "friend_icon_bounce_end"
},
"anim_icon_B_bounce_in_3": {
"anim_type": "offset",
"easing": "linear",
"duration": 0.225,
"from": [ 0, -3 ],
"to": [ 0, -7 ],
"next": "@play.anim_icon_B_bounce_out_3"
},
"anim_icon_B_bounce_out_3": {
"anim_type": "offset",
"easing": "linear",
"duration": 0.225,
"from": [ 0, -7 ],
"to": [ 0, -3 ],
"next": "@play.anim_icon_wait_B_3",
"end_event": "friend_icon_bounce_end"
},
"anim_count_bounce_in": {
"anim_type": "offset",
"easing": "linear",
"duration": 0.185,
"from": [ -5, 1 ],
"to": [ -5, -3 ],
"next": "@play.anim_count_bounce_out"
},
"anim_count_bounce_out": {
"anim_type": "offset",
"easing": "linear",
"duration": 0.185,
"from": [ -5, -3 ],
"to": [ -5, 1 ],
"next": "@play.anim_count_wait",
"end_event": "friend_icon_bounce_end"
},
"anim_count_bounce_in_2": {
"anim_type": "offset",
"easing": "linear",
"duration": 0.225,
"from": [ -5, 1 ],
"to": [ -5, -3 ],
"next": "@play.anim_count_bounce_out_2"
},
"anim_count_bounce_out_2": {
"anim_type": "offset",
"easing": "linear",
"duration": 0.225,
"from": [ -5, -3 ],
"to": [ -5, 1 ],
"next": "@play.anim_count_wait_2",
"end_event": "friend_icon_bounce_end"
},
"anim_count_bounce_in_3": {
"anim_type": "offset",
"easing": "linear",
"duration": 0.185,
"from": [ -5, 1 ],
"to": [ -5, -3 ],
"next": "@play.anim_count_bounce_out_3"
},
"anim_count_bounce_out_3": {
"anim_type": "offset",
"easing": "linear",
"duration": 0.185,
"from": [ -5, -3 ],
"to": [ -5, 1 ],
"next": "@play.anim_count_wait_3",
"end_event": "friend_icon_bounce_end"
},
"third_party_servers_icon": {
"type": "image",
"texture": "textures/ui/addServer",
"size": [ 17, 13 ]
},
"lan_icon": {
"type": "image",
"texture": "textures/ui/lan_icon",
"size": [ 14, 14 ]
},
"friends_server_icon": {
"type": "image",
"size": [ 14, 14 ],
"bindings": [
{
"binding_name": "#friends_server_icon_texture_name",
"binding_name_override": "#texture",
"binding_type": "collection",
"binding_collection_name": "friends_network_worlds"
}
]
},
"cross_platform_friends_server_icon": {
"type": "image",
"size": [ 14, 14 ],
"bindings": [
{
"binding_name": "#cross_platform_friends_server_icon_texture_name",
"binding_name_override": "#texture",
"binding_type": "collection",
"binding_collection_name": "cross_platform_friends_network_worlds"
}
]
},
"realms_remove_icon": {
"type": "image",
"texture": "textures/ui/redX1",
"size": [ 12, 12 ]
},
"game_online_icon": {
"type": "image",
"texture": "textures/ui/online",
"size": [ 8, 8 ]
},
"game_offline_icon": {
"type": "image",
"texture": "textures/ui/offline",
"size": [ 8, 8 ]
},
"game_unavailable_icon": {
"type": "image",
"texture": "textures/ui/offline",
"size": [ 8, 8 ]
},
"import_icon": {
"type": "image",
"texture": "textures/ui/import",
"size": [ 16, 16 ]
},
"upload_icon": {
"type": "image",
"texture": "textures/ui/upload_glyph",
"size": [ 16, 16 ]
},
"add_server_icon": {
"type": "image",
"texture": "textures/ui/addServer",
"size": [ 17, 13 ]
},
"server_tab_icon": {
"type": "image",
"texture": "textures/ui/servers",
"size": [ 15, 15 ]
},
"realms_art_icon": {
"type": "image",
"texture": "textures/ui/realms_art_icon",
"size": [ 647, 760 ]
},
"realms_text_background": {
"type": "image",
"texture": "textures/ui/realms_text_background"
},
"connected_storage": {
"type": "image",
"texture": "textures/ui/local_and_cloud_storage",
"size": [ 12, 8 ]
},
"feedback_icon": {
"type": "image",
"texture": "textures/ui/Feedback",
"layer": 3,
"size": [ 16, 16 ]
},
"local_only_storage@play.connected_storage": {
"texture": "textures/ui/local_only_storage"
},
"local_and_cloud_storage@play.connected_storage": {
"texture": "textures/ui/local_and_cloud_storage"
},
"cloud_only_storage@play.connected_storage": {
"texture": "textures/ui/cloud_only_storage"
},
"left_arrow_icon": {
"type": "image",
"size": [ 7, 7 ],
"texture": "textures/ui/arrow_left_white",
"color": "$text_color"
},
"right_arrow_icon": {
"type": "image",
"size": [ 7, 7 ],
"texture": "textures/ui/arrow_right_white",
"color": "$text_color"
},
"small_progress_panel@progress.progress_loading_bars": {
"size": [ 20, 10 ],
"layer": 5,
"color": "$dark_button_default_text_color",
"bindings": [
{
"binding_name": "(not #ping_ready_thirdparty)",
"binding_name_override": "#visible"
}
]
},
//---------------------------------------------------------------------------
// SIGN IN TO JOIN REALMS PROMPT
//---------------------------------------------------------------------------
"sign_in_realms_image": {
"type": "panel",
"size": [ "100%cm", "100%cm" ],
"controls": [
{
"chevron@play.realms_chevron": {
"layer": 1,
"offset": "$chevron_offset"
}
},
{
"portal@play.realms_icon": {
"layer": 2,
"offset": "$portal_offset"
}
}
],
// this is to counteract the image moving down when the button is pressed
"variables": [
{
"requires": "$pressed_state",
"$chevron_offset": [ -3, -1 ],
"$portal_offset": [ -6, -1 ]
},
{
"requires": "(not $pressed_state)",
"$chevron_offset": [ -3, 0 ],
"$portal_offset": [ -6, 0 ]
}
]
},
"realms_sign_in_prompt_label": {
"type": "label",
"color": "$text_color",
"text": "#realms_sign_in_prompt",
"anchor_to": "left_middle",
"anchor_from": "left_middle",
"bindings": [
{
"binding_name": "#realms_sign_in_prompt"
}
]
},
"realms_sign_in_prompt": {
"type": "panel",
"size": [ "fill", "100%sm" ],
"controls": [
{
"realms_sign_in_prompt_label@play.realms_sign_in_prompt_label": {}
}
]
},
"realms_sign_in_prompt_friends@play.realms_sign_in_prompt": {
"controls": [
{
"realms_sign_in_prompt_label_friends@play.realms_sign_in_prompt_label": {
"text": "#realms_sign_in_prompt_friends",
"bindings": [
{
"binding_name": "#realms_sign_in_prompt_friends"
}
]
}
}
]
},
"sign_in_to_view_realms_content_panel": {
"type": "stack_panel",
"size": [ "100%", "100%cm" ],
"orientation": "horizontal",
"$prompt": "play.realms_sign_in_prompt",
"controls": [
{
"sign_in_realms_image@play.sign_in_realms_image": {}
},
{
"realms_sign_in_prompt@$prompt": {}
}
]
},
"sign_in_to_view_realms_content_panel_friends@play.sign_in_to_view_realms_content_panel": {
"$prompt": "play.realms_sign_in_prompt_friends"
},
"sign_in_to_view_realms_button@common_buttons.dark_content_button": {
"$pressed_button_name": "button.menu_sign_in_to_view_realms",
"$button_content": "play.sign_in_to_view_realms_content_panel",
"size": [ "100%", 29 ],
"bindings": [
{
"binding_name": "#realms_sign_in_button_visible",
"binding_name_override": "#visible"
}
]
},
"sign_in_to_view_realms_button_friends@play.sign_in_to_view_realms_button": {
"$button_content": "play.sign_in_to_view_realms_content_panel_friends"
},
//---------------------------------------------------------------------------
// REALMS WORLD GRID
//---------------------------------------------------------------------------
"realms_list_text": {
"type": "label",
"color": "$text_color",
"shadow": false,
"text": "$text",
"anchor_from": "top_left",
"anchor_to": "top_left",
"$text_binding_type|default": "none",
"$realms_worlds_collection_name|default": "",
"$text_binding_condition|default": "none",
"bindings": [
{
"binding_condition": "$text_binding_condition",
"binding_name": "$text",
"binding_type": "$text_binding_type",
"binding_collection_name": "$realms_worlds_collection_name"
}
]
},
"realms_world_header@play.realms_list_text": {
"anchor_from": "top_left",
"anchor_to": "top_left",
"color": "$text_color",
"size": [ "100%", 10 ],
"$text": "#realms_world_header",
"$text_binding_type": "collection"
},
"realms_world_details@play.realms_list_text": {
"anchor_from": "bottom_left",
"anchor_to": "bottom_left",
"size": [ "100%", 10 ],
"color": "$secondary_text_color",
"$text": "#realms_world_details",
"$text_binding_type": "collection"
},
"realms_world_type@play.realms_list_text": {
"size": [ "default", 10 ],
"color": "$secondary_text_color",
"$text": "selectWorld.worldTags.hardcore",
"bindings": [
{
"binding_name": "#realms_world_is_hardcore",
"binding_name_override": "#visible",
"binding_type": "collection",
"binding_collection_name": "$realms_worlds_collection_name"
}
]
},
"realms_world_player_count@play.world_list_text": {
"text": "#realms_world_player_count",
"color": "$secondary_text_color",
"size": [ "default", 10 ],
"bindings": [
{
"binding_name": "#realms_world_player_count",
"binding_type": "collection",
"binding_collection_name": "$realms_worlds_collection_name"
}
]
},
"realms_world_game_status_icon": {
"type": "panel",
"size": [ 10, 10 ],
"controls": [
{
"game_online_icon@play.game_online_icon": {
"bindings": [
{
"binding_name": "#realms_game_online",
"binding_name_override": "#visible",
"binding_type": "collection",
"binding_collection_name": "$realms_worlds_collection_name"
}
]
}
},
{
"game_unavailable_icon@play.game_unavailable_icon": {
"bindings": [
{
"binding_name": "#realms_game_unavailable",
"binding_name_override": "#visible",
"binding_type": "collection",
"binding_collection_name": "$realms_worlds_collection_name"
}
]
}
},
{
"game_offline_icon@play.game_offline_icon": {
"bindings": [
{
"binding_name": "#realms_game_offline",
"binding_name_override": "#visible",
"binding_type": "collection",
"binding_collection_name": "$realms_worlds_collection_name"
}
]
}
}
]
},
"realms_world_text_panel": {
"type": "panel",
"size": [ "100%-2px", "100%-2px" ],
"controls": [
{ "realms_world_header@play.realms_world_header": {} },
{ "realms_world_details@play.realms_world_details": {} }
]
},
"realms_world_trial_text_panel": {
"type": "panel",
"size": [ "100%-2px", "100%-2px" ],
"$world_header_text_binding_type|default": "none",
"$world_details_text|default": "#player_gamertag",
"$world_details_text_binding_type|default": "global",
"controls": [
{
"realms_world_header_text@play.realms_list_text": {
"$text": "$button_content_text",
"$text_binding_type": "$world_header_text_binding_type",
"anchor_from": "top_left",
"anchor_to": "top_left",
"size": [ "100%", 10 ]
}
},
{
"realms_world_details@play.realms_list_text": {
"$text": "$world_details_text",
"color": "$secondary_text_color",
"anchor_from": "bottom_left",
"anchor_to": "bottom_left",
"size": [ "100%", 10 ]
}
}
]
},
"realms_world_content_text_area_panel": {
"type": "panel",
"controls": [
{ "realms_world_text_panel@play.realms_world_text_panel": {} }
]
},
"realms_trial_content_text_area_panel": {
"type": "panel",
"controls": [
{ "realms_world_trial_text_panel@play.realms_world_trial_text_panel": {} }
]
},
"realms_world_content_status_area_panel": {
"type": "stack_panel",
"orientation": "horizontal",
"size": [ "100%c", "100%cm" ],
"anchor_from": "top_right",
"anchor_to": "top_right",
"controls": [
{
"world_player_count_text_panel": {
"type": "panel",
"size": [ "100%c", "100%c" ],
"controls": [
{
"realms_world_player_count@play.realms_world_player_count": {
}
}
]
}
},
{
"padding": {
"type": "panel",
"size": [ 2, 10 ]
}
},
{ "realms_world_game_status_icon@play.realms_world_game_status_icon": {} }
]
},
"realms_world_content_status_area_panel_container": {
"type": "stack_panel",
"size": [ "100%cm", "100%c" ],
"controls": [
{
"realms_world_status_panel": {
"type": "panel",
"size": [ "100%sm", "100%c" ],
"min_size": [ "100%c", "100%c" ],
"controls": [
{
"realms_world_content_status_area_panel@play.realms_world_content_status_area_panel": {}
}
]
}
},
{
"realms_world_type@play.realms_world_type": {}
}
]
},
"realms_world_content_panel": {
"type": "stack_panel",
"size": [ "100%", "100%" ],
"orientation": "horizontal",
"variables": [
{
"requires": "($realms_worlds_collection_name = $personal_realm_collection_name)",
"$show_screenshot": true
},
{
"requires": "($realms_worlds_collection_name = $friend_realm_collection_name)",
"$show_screenshot": false
},
{
"requires": "$default_state",
"$border_texture": "textures/ui/default_indent"
},
{
"requires": "$hover_state",
"$border_texture": "textures/ui/world_screenshot_focus_border"
},
{
"requires": "$pressed_state",
"$border_texture": "textures/ui/world_screenshot_focus_border"
},
{
"requires": "$locked_state",
"$border_texture": "textures/ui/default_indent"
}
],
"controls": [
{
"realm_screenshot@play.realm_screenshot": {
"ignored": "(not $show_screenshot)"
}
},
{
"padding": {
"type": "panel",
"size": [ 2, "100%" ],
"ignored": "(not $show_screenshot)"
}
},
{
"realms_world_content_text_area_panel@play.realms_world_content_text_area_panel": {
"size": [ "fill", "100%" ],
"anchor_from": "left_middle",
"anchor_to": "left_middle",
"layer": 1
}
},
{
"realms_world_content_status_area_panel": {
"size": [ "100%c", "100%" ],
"type": "panel",
"anchor_from": "right_middle",
"anchor_to": "right_middle",
"layer": 1,
"controls": [
{
"realms_world_content_status_area_panel_container@play.realms_world_content_status_area_panel_container": {}
}
]
}
}
]
},
"realms_trial_content_panel": {
"type": "stack_panel",
"size": [ "100%", "100%" ],
"orientation": "horizontal",
"variables": [
{
"requires": "$default_state",
"$border_texture": "textures/ui/default_indent"
},
{
"requires": "$hover_state",
"$border_texture": "textures/ui/world_screenshot_focus_border"
},
{
"requires": "$pressed_state",
"$border_texture": "textures/ui/world_screenshot_focus_border"
},
{
"requires": "$locked_state",
"$border_texture": "textures/ui/default_indent"
}
],
"controls": [
{ "realm_screenshot@play.realm_screenshot": {} },
{
"padding": {
"type": "panel",
"size": [ 2, "100%" ]
}
},
{
"realms_trial_content_text_area_panel@play.realms_trial_content_text_area_panel": {
"size": [ "fill", "100%" ],
"anchor_from": "left_middle",
"anchor_to": "left_middle",
"layer": 1
}
}
]
},
"realms_world_item_button@common_buttons.dark_content_button": {
"$pressed_button_name": "button.menu_start_realms_world",
"$button_content": "play.realms_world_content_panel",
"$personal_realm_collection_name": "personal_realms",
"$friend_realm_collection_name": "friends_realms",
"bindings": [
{
"binding_type": "collection_details",
"binding_collection_name": "$realms_worlds_collection_name"
},
{
"binding_type": "collection",
"binding_name": "#world_button_focus_identifier",
"binding_name_override": "#focus_identifier",
"binding_collection_name": "$realms_worlds_collection_name"
},
{
"binding_name": "#cross_platform_enabled",
"binding_name_override": "#enabled"
}
]
},
"realms_world_edit_button@common_buttons.dark_glyph_button": {
"$pressed_button_name": "button.menu_realms_world_item_edit",
"$button_content": "play.realms_slots_edit_icon",
"$button_tts_header": "accessibility.play.editRealm",
"size": [ "100%y", "100%" ],
"anchor_from": "top_right",
"anchor_to": "top_right",
"layer": 2,
"bindings": [
{
"binding_type": "collection_details",
"binding_collection_name": "$realms_worlds_collection_name"
},
{
"binding_name": "#cross_platform_enabled",
"binding_name_override": "#enabled"
}
]
},
"realms_feed_button_content": {
"type": "image",
"controls": [
{
"default_icon@play.realms_stories_icon": {
"bindings": [
{
"binding_type": "collection",
"binding_name": "(not #realms_unread_story_count_visible)",
"binding_name_override": "#visible",
"binding_collection_name": "$realms_worlds_collection_name"
}
]
}
},
{
"unread_icon_active@play.realms_stories_icon_animated": {
"bindings": [
{
"binding_type": "collection",
"binding_name": "#realms_unread_story_count_visible",
"binding_name_override": "#visible",
"binding_collection_name": "$realms_worlds_collection_name"
}
]
}
}
]
},
"persistent_realms_feed_button_control@common_buttons.new_ui_button_panel": {
"$new_ui_button_texture": "$default_button_texture",
"$glyph_color": "$dark_glyph_default_color",
"$border_color": "$dark_border_default_color",
"$button_press_offset": [ 0, 0 ],
"$border_layer": 2,
"$border_alpha": 0,
"$button_image_alpha": 0,
"$content_alpha": 0,
"layer": 4,
"$button_content": "play.realms_feed_button_content"
},
"realms_feed_button@common_buttons.dark_glyph_button_with_custom_control": {
"$pressed_button_name": "button.menu_realms_feed",
"$custom_control": "play.persistent_realms_feed_button_control",
"$button_tts_header": "#realms_feed_button_tts_header",
"size": [ "100%y", "100%" ],
"anchor_from": "top_right",
"anchor_to": "top_right",
"layer": 2,
"bindings": [
{
"binding_type": "collection_details",
"binding_collection_name": "$realms_worlds_collection_name"
},
{
"binding_name": "#menu_realms_feed_visible",
"binding_name_override": "#visible"
},
{
"binding_name": "#realms_feed_button_tts_header",
"binding_collection_name": "$realms_worlds_collection_name",
"binding_type": "collection"
},
{
"binding_name": "#cross_platform_enabled",
"binding_name_override": "#enabled"
}
]
},
"leave_friends_realm_button@common_buttons.dark_glyph_button": {
"$pressed_button_name": "button.menu_realms_world_item_remove",
"$button_content": "play.realms_remove_icon",
"$button_tts_header": "accessibility.play.leaveRealm",
"size": [ "100%y", "100%" ],
"anchor_from": "top_right",
"anchor_to": "top_right",
"layer": 2,
"bindings": [
{
"binding_type": "collection_details",
"binding_collection_name": "$realms_worlds_collection_name"
},
{
"binding_name": "#cross_platform_enabled",
"binding_name_override": "#enabled"
}
]
},
"unread_story_count_text": {
"type": "label",
"color": "$tab_secondary_unchecked_text_color",
"shadow": false,
"text": "#realms_unread_story_count",
"bindings": [
{
"binding_type": "collection",
"binding_name": "#realms_unread_story_count",
"binding_collection_name": "$realms_worlds_collection_name"
}
]
},
"unread_story_count_text_background": {
"type": "image",
"texture": "textures/ui/invite_number_background"
},
"unread_story_count_panel": {
"type": "panel",
"anchor_from": "top_right",
"anchor_to": "right_middle",
"size": [ "100%c", "100%c" ],
"controls": [
{
"text@play.unread_story_count_text": {
"layer": 9,
"controls": [
{
"background@play.unread_story_count_text_background": {
"layer": -1,
"size": [ "100%+4px", "100%" ],
"offset": [ -0.5, 0 ]
}
}
]
}
}
],
"bindings": [
{
"binding_type": "collection",
"binding_name": "#realms_unread_story_count_visible",
"binding_name_override": "#visible",
"binding_collection_name": "$realms_worlds_collection_name"
}
]
},
"realms_world_item": {
"type": "stack_panel",
"anchor_from": "top_left",
"anchor_to": "top_left",
"layer": 1,
"size": [ "100%", 29 ],
"orientation": "horizontal",
"controls": [
{
"realms_world_item_button@play.realms_world_item_button": {
"size": [ "fill", "100% + 1px" ],
"layer": 1
}
},
{
"edit_panel": {
"type": "panel",
"size": [ "100%y - 1px", "100% + 1px" ],
"controls": [
{
"realms_world_edit_button@play.realms_world_edit_button": {
"layer": 1
}
},
{
"realms_world_expiry_notification_image": {
"type": "image",
"texture": "textures/ui/update",
"offset": [ 0, -10 ],
"size": [ 8, 15 ],
"anchor_from": "top_right",
"anchor_to": "top_right",
"layer": 7,
"bindings": [
{
"binding_type": "collection",
"binding_name": "#realms_world_expiry_notification_visible",
"binding_name_override": "#visible",
"binding_collection_name": "$realms_worlds_collection_name"
}
]
}
}
],
"bindings": [
{
"binding_name": "#realms_edit_visible",
"binding_name_override": "#visible",
"binding_type": "collection",
"binding_collection_name": "$realms_worlds_collection_name"
}
]
}
},
{
"feed_panel_with_unread_count": {
"type": "panel",
"size": [ "100%y - 1px", "100% + 1px" ],
"controls": [
{
"feed_panel": {
"type": "panel",
"size": [ "100%y", "100%" ],
"controls": [
{
"realms_feed_button@play.realms_feed_button": {
"layer": 1
}
}
]
}
},
{
"unread_story_count@play.unread_story_count_panel": {
"offset": [ 0, 1.5 ]
}
}
]
}
},
{
"leave_realm_panel": {
"type": "panel",
"size": [ "100%c - 1px", "100% + 1px" ],
"controls": [
{
"leave_friends_realm_button@play.leave_friends_realm_button": {
"layer": 1
}
}
],
"bindings": [
{
"binding_name": "#leave_realm_button_visible",
"binding_name_override": "#visible",
"binding_type": "collection",
"binding_collection_name": "$realms_worlds_collection_name"
}
]
}
}
]
},
"realms_world_item_grid@play.world_item_grid_base": {
"grid_item_template": "$grid_item_layout",
"grid_dimension_binding": "$grid_name",
"collection_name": "$realms_worlds_collection_name",
"bindings": [
{
"binding_name": "$grid_name"
},
{
"binding_name": "#realms_grids_visible",
"binding_name_override": "#visible"
}
]
},
//---------------------------------------------------------------------------
// FRIENDS WORLD GRID
//---------------------------------------------------------------------------
"network_world_header": {
"type": "stack_panel",
"orientation": "horizontal",
"size": [ "100%", 10 ],
"anchor_from": "top_left",
"anchor_to": "top_left",
"$header_icon_visible|default": false,
"controls": [
{
"network_world_header_icon": {
"type": "image",
"size": [ 10, 10 ],
"ignored": "(not $header_icon_visible)",
"bindings": [
{
"binding_name": "#network_world_header_icon_texture_path",
"binding_name_override": "#texture",
"binding_type": "collection",
"binding_collection_name": "$collection_name"
},
{
"binding_name": "#network_world_header_icon_texture_location",
"binding_name_override": "#texture_file_system",
"binding_type": "collection",
"binding_collection_name": "$collection_name"
}
]
}
},
{
"spacer": {
"ignored": "(not $header_icon_visible)",
"type": "panel",
"size": [ 5, 0 ]
}
},
{
"header_panel": {
"type": "panel",
"size": [ "100%c", "100%" ],
"controls": [
{
"network_world_header_text@play.world_list_text": {
"text": "#network_world_header",
"color": "$text_color",
"offset": [ 0, 1 ],
"bindings": [
{
"binding_name": "#network_world_header",
"binding_type": "collection",
"binding_collection_name": "$collection_name"
}
]
}
}
]
}
}
]
},
"network_world_details@play.world_list_text": {
"text": "#network_world_details",
"color": "$secondary_text_color",
"size": [ "100%", 10 ],
"anchor_from": "bottom_left",
"anchor_to": "bottom_left",
"bindings": [
{
"binding_name": "#network_world_details",
"binding_type": "collection",
"binding_collection_name": "$collection_name"
}
]
},
"network_world_player_count": {
"type": "panel",
"size": [ "100%c", 10 ],
"controls": [
{
"count@play.world_list_text": {
"text": "#network_world_player_count",
"color": "$secondary_text_color",
"bindings": [
{
"binding_name": "#network_world_player_count",
"binding_type": "collection",
"binding_collection_name": "$collection_name"
},
{
"binding_type": "collection",
"binding_name": "#network_world_player_count_visible",
"binding_name_override": "#visible",
"binding_collection_name": "$collection_name"
}
]
}
}
]
},
"network_world_game_status_icon": {
"type": "panel",
"size": [ 10, 10 ],
"controls": [
{
"game_online_icon@play.game_online_icon": {
"bindings": [
{
"binding_name": "#game_online",
"binding_name_override": "#visible",
"binding_type": "collection",
"binding_collection_name": "$collection_name"
}
]
}
},
{
"game_unavailable_icon@play.game_unavailable_icon": {
"bindings": [
{
"binding_name": "#game_unavailable",
"binding_name_override": "#visible",
"binding_type": "collection",
"binding_collection_name": "$collection_name"
}
]
}
},
{
"game_offline_icon@play.game_offline_icon": {
"bindings": [
{
"binding_name": "#game_offline",
"binding_name_override": "#visible",
"binding_type": "collection",
"binding_collection_name": "$collection_name"
}
]
}
}
]
},
"network_world_text_panel": {
"type": "panel",
"size": [ "100%-2px", "100%-2px" ],
"controls": [
{ "network_world_header@play.network_world_header": {} },
{ "network_world_details@play.network_world_details": {} }
]
},
"network_world_content_text_area_panel": {
"type": "panel",
"controls": [
{ "network_world_text_panel@play.network_world_text_panel": {} }
]
},
"network_world_content_status_area_panel": {
"type": "stack_panel",
"orientation": "horizontal",
"size": [ "100%c", "100%cm" ],
"anchor_from": "top_right",
"anchor_to": "top_right",
"controls": [
{
"network_player_count_text_panel": {
"type": "panel",
"size": [ "100%c", "100%c" ],
"controls": [
{
"network_world_player_count@play.network_world_player_count": {
}
}
]
}
},
{
"padding": {
"type": "panel",
"size": [ 2, 10 ]
}
},
{ "network_world_game_status_icon@play.network_world_game_status_icon": {} }
]
},
"network_world_content_status_area_panel_container": {
"type": "stack_panel",
"size": [ "100%cm", "100%c" ],
"controls": [
{
"network_world_status_panel": {
"type": "panel",
"size": [ "100%sm", "100%c" ],
"min_size": [ "100%c", "100%c" ],
"controls": [
{
"network_world_content_status_area_panel@play.network_world_content_status_area_panel": {}
}
]
}
},
{
"network_world_type@play.network_world_type": {
"bindings": [
{
"binding_type": "collection",
"binding_name": "#network_world_is_hardcore",
"binding_name_override": "#visible",
"binding_collection_name": "$collection_name"
}
]
}
}
]
},
"network_world_type": {
"type": "panel",
"size": [ "100%c", 10 ],
"controls": [
{
"type@play.world_list_text": {
"text": "selectWorld.worldTags.hardcore",
"color": "$secondary_text_color"
}
}
]
},
"network_world_item_button_content": {
"type": "stack_panel",
"orientation": "horizontal",
"size": [ "100%", "100%" ],
"controls": [
{
"network_world_content_text_area_panel@play.network_world_content_text_area_panel": {
"size": [ "fill", "100%" ],
"layer": 1
}
},
{
"network_status_area_panel": {
"type": "panel",
"size": [ "100%c", "100%" ],
"layer": 1,
"controls": [
{
"network_world_content_status_area_panel_container@play.network_world_content_status_area_panel_container": {}
}
]
}
},
{
"network_world_type_icon": {
"type": "label",
"color": "$text_color",
"size": [ "100%c", "100%" ],
"layer": 2,
"ignored": "$hide_network_icon",
"controls": [
{
"padding": {
"type": "panel",
"size": [ 6, 10 ]
}
},
{
"$network_world_icon@$network_world_icon": {
"layer": 1
}
}
]
}
}
]
},
"network_world_item_button@common_buttons.dark_content_button": {
"size": [ "100%", "100%" ],
"$pressed_button_name": "button.menu_network_world_item",
"$button_content": "play.network_world_item_button_content",
"bindings": [
{
"binding_type": "collection_details",
"binding_collection_name": "$collection_name"
},
{
"binding_name": "#network_world_button_enabled",
"binding_name_override": "#enabled",
"binding_collection_name": "$collection_name",
"binding_type": "collection"
}
]
},
"network_server_world_edit_button@common_buttons.dark_glyph_button": {
"$pressed_button_name": "button.menu_network_server_world_edit",
"$button_content": "play.edit_icon",
"$button_tts_header": "accessibility.play.editServer",
"size": [ "100%y", "100% + 1px" ],
"layer": 2,
"bindings": [
{
"binding_type": "collection_details",
"binding_collection_name": "$collection_name"
},
{
"binding_name": "#network_world_button_enabled",
"binding_name_override": "#enabled",
"binding_collection_name": "$collection_name",
"binding_type": "collection"
}
]
},
"network_world_item": {
"type": "panel",
"layer": 1,
"size": [ "100%", 30 ],
"controls": [
{
"network_world_item_button@play.network_world_item_button": {
"size": [ "100%", "100% + 1px" ],
"layer": 1
}
}
]
},
"network_world_item_grid@play.world_item_grid_base": {
"grid_item_template": "$network_world_grid_item_template",
"grid_dimension_binding": "$network_world_item_grid_dimension_binding",
"collection_name": "$collection_name",
"bindings": [
{
"binding_name": "$network_world_item_grid_dimension_binding"
}
]
},
"label_content_template": {
"type": "stack_panel",
"orientation": "vertical",
"size": [ "100%", "100%c + 4px" ],
"$hide_network_icon|default": false,
"$label_panel_visible|default": true,
"controls": [
{
"label_panel": {
"type": "panel",
"size": [ "100%", "100%c" ],
"anchor_from": "top_left",
"anchor_to": "top_left",
"layer": 1,
"$label_offset|default": [ 1, 0 ],
"$label_size|default": [ "100%", "default" ],
"visible": "$label_panel_visible",
"controls": [
{
"label_panel_layout": {
"type": "panel",
"anchor_from": "top_left",
"anchor_to": "top_left",
"size": [ "100%-4px", "100%c+2px" ],
"offset": "$label_offset",
"controls": [
{
"label": {
"type": "label",
"color": "$dark_button_default_text_color",
"size": "$label_size",
"anchor_from": "top_left",
"anchor_to": "top_left",
"layer": 1,
"shadow": false,
"text": "$label_content_label",
"$label_content_label_binding_type|default": "none",
"$label_content_label_binding_condition|default": "none",
"bindings": [
{
"binding_name": "$label_content_label",
"binding_type": "$label_content_label_binding_type",
"binding_condition": "$label_content_label_binding_condition"
}
]
}
}
]
}
}
]
}
},
{
"content@$label_content_content": {
"layer": 1
}
}
]
},
"information_panel": {
"type": "panel",
"size": [ "100%", "100%cm" ],
"anchor_from": "top_left",
"anchor_to": "top_left",
"layer": 1,
"controls": [
{
"background@play.dark_label_background": {
"size": [ "100%", "100%c" ],
"controls": [
{
"label_panel_layout": {
"type": "panel",
"anchor_from": "center",
"anchor_to": "center",
"size": [ "100%-8px", "100%c + 8px" ],
"controls": [
{
"label": {
"type": "label",
"$information_label_font|default": "default",
"font_type": "$information_label_font",
"color": "$dark_button_default_text_color",
"size": [ "100%", "default" ],
"anchor_from": "center",
"anchor_to": "center",
"layer": 1,
"shadow": false,
"text": "$information_panel_label_text",
"$information_panel_label_text_binding_type|default": "none",
"$information_panel_label_text_binding_condition|default": "none",
"bindings": [
{
"binding_name": "$information_panel_label_text",
"binding_type": "$information_panel_label_text_binding_type",
"binding_condition": "$information_panel_label_text_binding_condition"
}
]
}
}
]
}
}
]
}
},
{
"focus_button@common.non_interact_focus_border_button": {
"size": [ "100%", "100%sm" ],
"tts_inherit_siblings": true
}
}
]
},
"blocked_multiplayer_privileges_panel": {
"type": "panel",
"size": [ "100%", "100%c" ],
"anchor_from": "top_left",
"anchor_to": "top_left",
"layer": 1,
"controls": [
{
"background@play.dark_label_background": {
"size": [ "100%", "100%c" ],
"controls": [
{
"label_panel_layout": {
"type": "panel",
"anchor_from": "center",
"anchor_to": "center",
"size": [ "100%-8px", "100%c + 8px" ],
"controls": [
{
"label": {
"type": "label",
"color": "$dark_button_default_text_color",
"size": [ "100%", "default" ],
"anchor_from": "center",
"anchor_to": "center",
"layer": 1,
"shadow": false,
"visible": false,
"text": "#privilegesBlockedText",
"bindings": [
{
"binding_name": "#privilegesBlockedText",
"binding_type": "global",
"binding_condition": "always_when_visible"
}
]
}
}
]
}
}
]
}
}
]
},
//---------------------------------------------------------------------------
// RECENT SERVER GRID
//---------------------------------------------------------------------------
"more_servers_grid": {
"type": "grid",
"size": [ "100%", "default" ],
"layer": 1,
"grid_item_template": "more_servers_world_item",
"grid_dimension_binding": "#servers_network_world_item_grid_dimension",
"collection_name": "servers_network_worlds",
"$collection_name": "servers_network_worlds",
"anchor_to": "top_left",
"anchor_from": "top_left",
"ttsSectionContainer": true,
"$toggle_index_binding_name": "#additional_server_toggle_index",
"bindings": [
{
"binding_name": "#servers_network_world_item_grid_dimension"
}
]
},
"additional_server_toggle_content": {
"type": "stack_panel",
"orientation": "horizontal",
"size": [ "100%", "100%" ],
"variables": [
{
"requires": "$toggle_unchecked",
"$border_texture": "textures/ui/default_indent"
},
{
"requires": "$toggle_unchecked_hover",
"$border_texture": "textures/ui/world_screenshot_focus_border"
},
{
"requires": "$toggle_checked_hover",
"$border_texture": "textures/ui/world_screenshot_focus_border"
},
{
"requires": "$toggle_checked",
"$border_texture": "textures/ui/default_indent"
},
{
"requires": "$toggle_locked",
"$border_texture": "textures/ui/default_indent"
}
],
"$secondary_text_color": "$dark_button_secondary_default_text_color",
"controls": [
{
"network_world_content_text_area_panel@play.network_world_content_text_area_panel": {
"size": [ "fill", "100%" ],
"layer": 1
}
}
]
},
"more_servers_label_panel": {
"type": "panel",
"size": [ "100%", 10 ],
"controls": [
{
"list_label": {
"type": "label",
"color": "$dark_button_default_text_color",
"size": [ "100%", 10 ],
"offset": [ 1, 0 ],
"text": "$label_text"
}
}
]
},
"more_servers_world_item": {
"type": "stack_panel",
"anchor_from": "top_left",
"anchor_to": "top_left",
"layer": 1,
"size": [ "100%", 30 ],
"orientation": "horizontal",
"controls": [
{
"additional_server_toggle_base@play.server_toggle_base": {
"$focus_override_right": "edit_server",
"size": [ "fill", "100% + 1px" ],
"layer": 1,
"$button_content": "play.additional_server_toggle_content",
"$toggle_index_binding_name": "#additional_server_toggle_index"
}
},
{
"network_server_world_edit_button@play.network_server_world_edit_button": {
"$focus_id": "edit_server",
"$focus_override_right": "right_side",
"ignored": "$ignore_add_servers",
"layer": 1
}
}
]
},
"additional_server_info_panel@play.common_scroll_pane": {
"bindings": [
{
"binding_name": "#is_network_available_and_multiplayer_visible",
"binding_name_override": "#visible"
}
],
"controls": [
{
"server_info_stack_panel": {
"type": "stack_panel",
"orientation": "vertical",
"size": [ "100%- 2px", "100%c + 1px" ],
"anchor_from": "top_middle",
"anchor_to": "top_middle",
"controls": [
{
"padding_1": {
"type": "panel",
"size": [ "100%", 2 ]
}
},
{
"server_name@play.world_list_text": {
"text": "#info_additional_server_name",
"localize": false,
"color": "$main_header_text_color",
"font_type": "smooth",
"text_alignment": "left",
"size": [ "100%", 10 ],
"bindings": [
{
"binding_name": "#info_additional_server_name"
}
]
}
},
{
"padding_2": {
"type": "panel",
"size": [ "100%", 2 ]
}
},
{
"player_count@play.text_icon_number_panel": {
"$text_icon_number_text": "networkWorld.online",
"$text_icon_number_icon": "#server_player_count_icon",
"$text_icon_number_number": "#info_additional_server_player_count",
"$icon_size": [ 5, 5 ]
}
},
{
"padding_3": {
"type": "panel",
"size": [ "100%", 2 ]
}
},
{
"ping@play.text_icon_number_panel": {
"$text_icon_number_text": "networkWorld.current_ping",
"$text_icon_number_icon": "#info_additional_server_ping_texture_name",
"$text_icon_number_number": "#info_additional_server_ping",
"$icon_size": [ 8, 8 ],
"$ping_bindings": [
{
"binding_name": "#ping_ready_thirdparty",
"binding_name_override": "#visible"
}
],
"$progress_panel": "play.small_progress_panel",
"$number_bindings": [
{
"binding_name": "$text_icon_number_number"
},
{
"binding_name": "#ping_ready_external",
"binding_name_override": "#visible"
}
]
}
},
{
"padding_4": {
"type": "panel",
"size": [ "100%", 2 ]
}
},
{
"join_server_button@common_buttons.light_text_button": {
"$pressed_button_name": "button.menu_network_server_item",
"$button_text": "networkWorld.join_server",
"$focus_override_left": "left_panel",
"size": [ "100%", 20 ]
}
}
]
}
}
]
},
"ping_rate_icon": {
"type": "image",
"size": [ 8, 8 ],
"bindings": [
{
"binding_name": "#texture_name",
"binding_name_override": "#texture",
"binding_type": "collection",
"binding_collection_name": "$collection_name"
}
]
},
"ping_rate_panel": {
"type": "panel",
"size": [ "100%c", "100%" ],
"controls": [
{
"concurrency_stack": {
"type": "stack_panel",
"orientation": "horizontal",
"size": [ "100%c", 10 ],
"controls": [
{
"player_count": {
"type": "label",
"size": [ "default", 10 ],
"text": "#server_player_count",
"color": "$text_color",
"bindings": [
{
"binding_type": "collection",
"binding_name": "#server_player_count",
"binding_collection_name": "$collection_name"
}
]
}
},
{
"padding_0": {
"type": "panel",
"size": [ 2, "100%" ]
}
},
{
"ping_rate_icon@play.ping_rate_icon": {}
}
],
"bindings": [
{
"binding_type": "collection",
"binding_name": "(#is_network_available_and_ping_not_loading)",
"binding_name_override": "#visible",
"binding_collection_name": "third_party_server_network_worlds"
}
]
}
}
]
},
"add_server_info_panel@play.common_scroll_pane": {
"controls": [
{
"server_info_stack_panel": {
"type": "stack_panel",
"orientation": "vertical",
"size": [ "100%- 2px", "100%c + 1px" ],
"visible": "(not $is_console)",
"anchor_from": "top_middle",
"anchor_to": "top_middle",
"controls": [
{
"padding_0": {
"type": "panel",
"size": [ "100%", 4 ]
}
},
{
"add_server_title": {
"type": "label",
"text": "externalServerScreen.addServerTitle",
"color": "$body_text_color",
"text_alignment": "left",
"size": [ "100%", 10 ]
}
},
{
"padding_1": {
"type": "panel",
"size": [ "100%", 2 ]
}
},
{
"add_server_description": {
"type": "label",
"text": "externalServerScreen.addServerDescription",
"color": "$body_text_color",
"font_type": "smooth",
"font_scale_factor": 0.8,
"text_alignment": "left",
"size": [ "100%", "default" ]
}
}
]
}
}
]
},
//---------------------------------------------------------------------------
// FEATURED SERVER GRID
//---------------------------------------------------------------------------
"third_party_featured_server_grid": {
"type": "grid",
"size": [ "100%", "default" ],
"layer": 1,
"grid_item_template": "featured_server_world_item",
"grid_dimension_binding": "#third_party_featured_item_grid_dimension",
"collection_name": "third_party_server_network_worlds",
"$collection_name": "third_party_server_network_worlds",
"anchor_to": "top_left",
"anchor_from": "top_left",
"ttsSectionContainer": true,
"$toggle_index_binding_name": "#third_party_toggle_index",
"bindings": [
{
"binding_name": "#third_party_featured_item_grid_dimension"
},
{
"binding_name": "#featured_servers_visible",
"binding_name_override": "#visible"
}
]
},
"featured_server_world_item": {
"type": "panel",
"size": [ "100%", 40 ],
"controls": [
{
"server_button@play.server_toggle_base": {
"$button_content": "play.server_button_content_panel",
"$toggle_index_binding_name": "#third_party_toggle_index"
}
}
]
},
"server_button_content_panel": {
"type": "stack_panel",
"orientation": "vertical",
"size": [ "100%", "100%" ],
"variables": [
{
"requires": "$toggle_unchecked",
"$border_texture": "textures/ui/default_indent"
},
{
"requires": "$toggle_unchecked_hover",
"$border_texture": "textures/ui/world_screenshot_focus_border"
},
{
"requires": "$toggle_checked_hover",
"$border_texture": "textures/ui/world_screenshot_focus_border"
},
{
"requires": "$toggle_checked",
"$border_texture": "textures/ui/default_indent"
},
{
"requires": "$toggle_locked",
"$border_texture": "textures/ui/default_indent"
}
],
"controls": [
{
"top_panel": {
"type": "stack_panel",
"orientation": "horizontal",
"size": [ "100%", "50%" ],
"controls": [
{
"third_party_server_screenshot@play.third_party_server_screenshot": {
"bindings": [
{
"binding_name": "#third_party_screenshot_visible",
"binding_name_override": "#visible",
"binding_type": "collection",
"binding_collection_name": "$collection_name"
}
]
}
},
{
"padding_0": {
"type": "panel",
"size": [ 6, "100%" ]
}
},
{
"title_panel": {
"type": "panel",
"size": [ "fill", "100%" ],
"controls": [
{
"third_party_server_name@play.world_list_text": {
"text": "#third_party_server_name",
"localize": false,
"color": "$text_color",
"font_type": "smooth",
"size": [ "100%", "100%" ],
"anchor_from": "left_middle",
"anchor_to": "left_middle",
"offset": [ 0, 2 ],
"bindings": [
{
"binding_name": "#third_party_server_name",
"binding_type": "collection",
"binding_collection_name": "$collection_name"
},
{
"binding_type": "collection",
"binding_name": "#is_server_info_available_collection",
"binding_name_override": "#visible",
"binding_collection_name": "third_party_server_network_worlds"
}
]
}
},
{
"progress@progress.progress_loading_bars": {
"size": [ "100% - 8px", "100% - 4px" ],
"layer": 5,
"color": "$text_color",
"anchor_from": "left_middle",
"anchor_to": "left_middle",
"offset": [ 0, 0 ],
"bindings": [
{
"binding_type": "collection",
"binding_name": "(not #is_server_info_available_collection)",
"binding_name_override": "#visible",
"binding_collection_name": "third_party_server_network_worlds"
}
]
}
}
]
}
}
]
}
},
{
"padding": {
"type": "panel",
"size": [ "100%", 2 ]
}
},
{
"bottom_panel": {
"type": "panel",
"size": [ "100%", "50% - 2px" ],
"controls": [
{
"third_party_server_message@play.world_list_text": {
"text": "#third_party_server_message",
"localize": false,
"color": "$dark_button_default_text_color",
"font_type": "smooth",
"size": [ "100% - 4px", "100%" ],
"offset": [ 2, 1 ],
"anchor_from": "left_middle",
"anchor_to": "left_middle",
"bindings": [
{
"binding_name": "#third_party_server_message",
"binding_type": "collection",
"binding_collection_name": "$collection_name"
},
{
"binding_type": "collection",
"binding_name": "(not #is_network_available)",
"binding_name_override": "#visible",
"binding_collection_name": "third_party_server_network_worlds"
}
]
}
}
]
}
}
]
},
"third_party_server_content_panel": {
"type": "stack_panel",
"orientation": "horizontal",
"size": [ "100%", "100%" ],
"controls": [
{
"ping_rate_panel@play.ping_rate_panel": {}
}
]
},
"loading_featured_servers_panel": {
"type": "panel",
"size": [ "100%", "100%" ],
"min_size": [ "100%", 60 ],
"offset": [ 0, 2 ],
"controls": [
{
"load_bars": {
"type": "panel",
"size": [ "100%", 12 ],
"controls": [
{
"progress_loading_bars@common_store.progress_loading_bars": {
}
}
]
}
}
]
},
"third_party_server_screenshot": {
"type": "image",
"size": [ "100%c + 2px", "100%" ],
"texture": "$border_texture",
"anchor_from": "left_middle",
"anchor_to": "left_middle",
"layer": 1,
"controls": [
{
"picture": {
"type": "image",
"layer": 1,
"size": [ "177.78%y", "100% - 2px" ],
"offset": [ 1, 1 ],
"anchor_from": "top_left",
"anchor_to": "top_left",
"bindings": [
{
"binding_name": "#third_party_server_logo_texture_path",
"binding_type": "collection",
"binding_name_override": "#texture",
"binding_collection_name": "$collection_name"
},
{
"binding_name": "#third_party_server_logo_resource_location",
"binding_type": "collection",
"binding_name_override": "#texture_file_system",
"binding_collection_name": "$collection_name"
},
{
"binding_name": "#third_party_server_logo_resource_location",
"binding_name_override": "#texture_file_system"
}
]
}
}
]
},
"third_party_server_info_panel@play.common_scroll_pane": {
"bindings": [
{
"binding_name": "#featured_servers_visible_and_available",
"binding_name_override": "#visible"
}
],
"controls": [
{
"server_info_stack_panel": {
"type": "stack_panel",
"orientation": "vertical",
"size": [ "100%- 2px", "100%c + 1px" ],
"anchor_from": "top_middle",
"anchor_to": "top_middle",
"bindings": [
{
"binding_name": "#is_server_info_available",
"binding_name_override": "#visible"
}
],
"controls": [
{
"padding_0": {
"type": "panel",
"size": [ "100%", 4 ]
}
},
{
"server_screenshot": {
"type": "image",
"layer": 1,
"size": [ "100%", "56.25%x" ],
"bindings": [
{
"binding_name": "#info_third_party_server_logo_texture_path",
"binding_name_override": "#texture"
},
{
"binding_name": "#third_party_server_logo_resource_location",
"binding_name_override": "#texture_file_system"
},
{
"binding_name": "#third_party_server_logo_resource_location",
"binding_type": "collection",
"binding_name_override": "#texture_file_system",
"binding_collection_name": "server_games_collection"
},
{
"binding_name": "#info_third_party_screenshot_visible",
"binding_name_override": "#visible"
}
]
}
},
{
"padding_1": {
"type": "panel",
"size": [ "100%", 2 ]
}
},
{
"server_name@play.world_list_text": {
"text": "#info_third_party_server_name",
"localize": false,
"color": "$main_header_text_color",
"font_type": "smooth",
"text_alignment": "left",
"size": [ "100%", 10 ],
"bindings": [
{
"binding_name": "#info_third_party_server_name"
}
]
}
},
{
"padding_2": {
"type": "panel",
"size": [ "100%", 2 ]
}
},
{
"player_count@play.text_icon_number_panel": {
"$text_icon_number_text": "networkWorld.online",
"$text_icon_number_icon": "#server_player_count_icon",
"$text_icon_number_number": "#info_third_party_server_player_count",
"$icon_size": [ 5, 5 ]
}
},
{
"padding_3": {
"type": "panel",
"size": [ "100%", 2 ]
}
},
{
"ping@play.text_icon_number_panel": {
"$text_icon_number_text": "networkWorld.current_ping",
"$text_icon_number_icon": "#info_ping_texture_name",
"$text_icon_number_number": "#info_server_ping",
"$icon_size": [ 8, 8 ],
"$ping_bindings": [
{
"binding_name": "#ping_ready_thirdparty",
"binding_name_override": "#visible"
}
],
"$progress_panel": "play.small_progress_panel"
}
},
{
"padding_4": {
"type": "panel",
"size": [ "100%", 2 ]
}
},
{
"join_server_button@common_buttons.light_text_button": {
"$pressed_button_name": "button.connect_to_third_party_server",
"$button_text": "networkWorld.join_server",
"$focus_override_left": "left_panel",
"size": [ "100%", 20 ]
}
},
{
"view_offers_button@common_buttons.light_text_button": {
"$pressed_button_name": "button.view_third_party_server_offers",
"$button_text": "networkWorld.view_offers",
"$focus_override_left": "left_panel",
"size": [ "100%", 20 ],
"bindings": [
{
"binding_name": "#view_offers_visible",
"binding_name_override": "#visible"
}
]
}
},
{
"padding_5": {
"type": "panel",
"size": [ "100%", 2 ]
}
},
{
"screenshots_section@play.screenshots_section_panel": {
"bindings": [
{
"binding_name": "#server_has_screenshots",
"binding_name_override": "#visible"
}
]
}
},
{
"description_section@play.description_section_panel": {
"bindings": [
{
"binding_name": "#server_has_description",
"binding_name_override": "#visible"
}
]
}
},
{
"games_section@play.games_section_panel": {
"bindings": [
{
"binding_name": "#server_has_games",
"binding_name_override": "#visible"
}
]
}
},
{
"news_section@play.news_section_panel": {
"bindings": [
{
"binding_name": "#server_has_news",
"binding_name_override": "#visible"
}
]
}
}
]
}
},
{
"progress@progress.progress_loading_bars": {
"size": [ "100% - 8px", 15 ],
"offset": [ 0, 8 ],
"layer": 5,
"color": "$dark_button_default_text_color",
"anchor_from": "top_middle",
"anchor_to": "top_middle",
"bindings": [
{
"binding_name": "(not #is_server_info_available)",
"binding_name_override": "#visible"
}
]
}
}
]
},
"text_icon_number_panel": {
"type": "stack_panel",
"orientation": "horizontal",
"size": [ "100%", 10 ],
"$ping_bindings|default": [],
"$progress_bindings|default": [],
"$progress_panel|default": "play.empty_panel",
"$number_bindings|default": [
{
"binding_name": "$text_icon_number_number"
}
],
"controls": [
{
"text": {
"type": "label",
"size": [ "default", "default" ],
"color": "$main_header_text_color",
"font_type": "smooth",
"text_alignment": "left",
"text": "$text_icon_number_text"
}
},
{
"padding_0": {
"type": "panel",
"size": [ 3, "100%" ]
}
},
{
"stack_panel": {
"type": "stack_panel",
"orientation": "horizontal",
"size": [ "100%c", "100%" ],
"bindings": "$ping_bindings",
"controls": [
{
"icon_panel": {
"type": "panel",
"size": [ "100%c", "100%" ],
"controls": [
{
"icon": {
"type": "image",
"size": "$icon_size",
"bindings": [
{
"binding_name": "$text_icon_number_icon",
"binding_name_override": "#texture"
}
]
}
}
]
}
},
{
"padding_1": {
"type": "panel",
"size": [ 4, "100%" ]
}
},
{
"number": {
"type": "label",
"size": [ "default", "default" ],
"color": "$main_header_text_color",
"font_type": "smooth",
"text_alignment": "left",
"text": "$text_icon_number_number",
"bindings": "$number_bindings"
}
}
]
}
},
{
"$progress_panel@$progress_panel": {}
}
]
},
"grey_bar_panel": {
"type": "stack_panel",
"orientation": "horizontal",
"size": [ "fill", "100%" ],
"controls": [
{
"grey_bar": {
"type": "image",
"size": [ "100% - 1px", "100%" ],
"texture": "textures/ui/white_background",
"keep_ratio": false,
"tiled": true,
"color": "$servers_screenshot",
"bindings": [
{
"binding_name": "(not #this_screenshot_selected)",
"binding_name_override": "#visible",
"binding_type": "collection",
"binding_collection_name": "server_screenshot_collection"
}
]
}
},
{
"green_bar": {
"type": "image",
"size": [ "100% - 1px", "100%" ],
"texture": "textures/ui/white_background",
"keep_ratio": false,
"tiled": true,
"color": "$servers_current_screenshot",
"bindings": [
{
"binding_name": "#this_screenshot_selected",
"binding_name_override": "#visible",
"binding_type": "collection",
"binding_collection_name": "server_screenshot_collection"
}
]
}
},
{
"padding": {
"type": "panel",
"size": [ 1, "100%" ]
}
}
]
},
"screenshots_section_panel": {
"type": "stack_panel",
"orientation": "vertical",
"size": [ "100%", "100%c" ],
"controls": [
{
"divider_0@common.horizontal_divider": {}
},
{
"padding_0": {
"type": "panel",
"size": [ "100%", 2 ]
}
},
{
"screenshots_label": {
"type": "label",
"size": [ "100%", 11 ],
"color": "$body_text_color",
"text": "networkWorld.screenshots"
}
},
{
"padding_1": {
"type": "panel",
"size": [ "100%", 2 ]
}
},
{
"screenshots": {
"type": "image",
"size": [ "100%", "56.25%x" ],
"bindings": [
{
"binding_name": "#screenshot_texture",
"binding_name_override": "#texture"
},
{
"binding_name": "#third_party_server_logo_resource_location",
"binding_name_override": "#texture_file_system"
},
{
"binding_name": "#third_party_server_logo_resource_location",
"binding_type": "collection",
"binding_name_override": "#texture_file_system",
"binding_collection_name": "server_games_collection"
}
]
}
},
{
"padding_2": {
"type": "panel",
"size": [ "100%", 4 ]
}
},
{
"navigation_panel": {
"type": "stack_panel",
"orientation": "horizontal",
"size": [ "100%", 15 ],
"controls": [
{
"left_arrow_button@common_buttons.light_content_button": {
"$pressed_button_name": "button.navigate_screenshots_left",
"$button_content": "play.left_arrow_icon",
"$focus_override_right": "right_arrow_button",
"$focus_override_left": "left_panel",
"size": [ 15, "100%" ]
}
},
{
"padding_0": {
"type": "panel",
"size": [ 4, "100%" ]
}
},
{
"navigation_bar": {
"type": "panel",
"size": [ "fill", 5 ],
"controls": [
{
"grey_bar": {
"type": "image",
"size": [ "100%", "100%" ],
"offset": [ 0, 5 ],
"texture": "textures/ui/Black",
"layer": 1,
"controls": [
{
"grey_bar_factory_panel": {
"type": "stack_panel",
"orientation": "horizontal",
"size": [ "100% - 1px", 3 ],
"anchor_from": "right_middle",
"anchor_to": "right_middle",
"layer": 2,
"factory": {
"name": "grey_bar_factory",
"control_name": "play.grey_bar_panel"
},
"collection_name": "server_screenshot_collection",
"bindings": [
{
"binding_name": "#screenshot_collection_length",
"binding_name_override": "#collection_length"
}
]
}
}
]
}
}
]
}
},
{
"padding_1": {
"type": "panel",
"size": [ 4, "100%" ]
}
},
{
"right_arrow_button@common_buttons.light_content_button": {
"$pressed_button_name": "button.navigate_screenshots_right",
"$button_content": "play.right_arrow_icon",
"$focus_id": "right_arrow_button",
"size": [ 15, "100%" ]
}
}
]
}
},
{
"padding_3": {
"type": "panel",
"size": [ "100%", 2 ]
}
}
]
},
"description_text_panel": {
"type": "panel",
"size": [ "100%", "100%c" ],
"$description_max_size|default": [ "100% - 2px", 40 ],
"controls": [
{
"contents_description": {
"type": "label",
"size": [ "100% - 2px", "default" ],
"max_size": "$description_max_size",
"offset": [ 2, 0 ],
"layer": 1,
"color": "$body_text_color",
"font_type": "smooth",
"enable_profanity_filter": false,
"text": "#description_label",
"notify_on_ellipses": [
"description_read_more_button_panel"
],
"bindings": [
{
"binding_name": "#description_label"
}
]
}
}
]
},
"description_section_panel": {
"type": "stack_panel",
"orientation": "vertical",
"size": [ "100%", "100%c" ],
"controls": [
{
"divider_0@common.horizontal_divider": {}
},
{
"padding_0": {
"type": "panel",
"size": [ "100%", 2 ]
}
},
{
"description_label": {
"type": "label",
"size": [ "100%", 11 ],
"color": "$body_text_color",
"text": "networkWorld.description"
}
},
{
"padding_1": {
"type": "panel",
"size": [ "100%", 2 ]
}
},
{
"read_more_panel": {
"type": "image",
"texture": "textures/ui/screen_background",
"alpha": 0.6,
"size": [ "100%", "100%c + 4px" ],
"controls": [
{
"description_text_small@play.description_text_panel": {
"type": "panel",
"size": [ "100% - 5px", "100%c" ],
"offset": [ 0, 2 ],
"anchor_from": "top_middle",
"anchor_to": "top_middle",
"bindings": [
{
"binding_name": "#description_is_read_more",
"binding_name_override": "#visible"
}
]
}
},
{
"description_text_full@play.description_text_panel": {
"type": "panel",
"size": [ "100% - 5px", "100%c" ],
"offset": [ 0, 2 ],
"$description_max_size": [ "100% - 2px", "default" ],
"anchor_from": "top_middle",
"anchor_to": "top_middle",
"bindings": [
{
"binding_name": "#description_is_read_less",
"binding_name_override": "#visible"
}
]
}
},
{
"description_read_more_button_panel@common_buttons.read_button": {
"$offset": [ -6, -2.5 ],
"anchor_from": "bottom_right",
"anchor_to": "bottom_right",
"$single_line_label_text": "store.mashup.readMore",
"$pressed_button_name": "button.description_read_toggle",
"$focus_override_left": "left_panel",
"bindings": [
{
"binding_name": "#description_is_read_more",
"binding_name_override": "#visible"
}
],
"$bindings": [
{
"binding_type": "view",
"source_property_name": "#using_ellipses",
"target_property_name": "#visible"
}
]
}
},
{
"description_read_less_button_panel@common_buttons.read_button": {
"$offset": [ -6, -2.5 ],
"anchor_from": "bottom_right",
"anchor_to": "bottom_right",
"$single_line_label_text": "store.mashup.readLess",
"$pressed_button_name": "button.description_read_toggle",
"$focus_override_left": "left_panel",
"$bindings": [
{
"binding_name": "#description_is_read_less",
"binding_name_override": "#visible"
}
]
}
}
]
}
},
{
"padding_3": {
"type": "panel",
"size": [ "100%", 2 ]
}
}
]
},
"games_factory_object": {
"type": "stack_panel",
"orientation": "vertical",
"size": [ "100%", "100%c" ],
"controls": [
{
"games_factory_panel": {
"type": "image",
"size": [ "100%", "100%c" ],
"texture": "textures/ui/screen_background",
"alpha": 0.6,
"layer": 1,
"controls": [
{
"top_panel": {
"type": "stack_panel",
"orientation": "horizontal",
"min_size": [ "100% - 8px", 30 ],
"size": [ "100% - 8px", "100%cm" ],
"offset": [ 0, 2 ],
"anchor_from": "top_middle",
"anchor_to": "top_middle",
"layer": 2,
"controls": [
{
"game_image_panel": {
"type": "panel",
"min_size": [ "50%", 30 ],
"size": [ "50%", "100%sm" ],
"controls": [
{
"game_image": {
"type": "image",
"size": [ "100%", "100%" ],
"bindings": [
{
"binding_name": "#available_game_image",
"binding_name_override": "#texture",
"binding_type": "collection",
"binding_collection_name": "server_games_collection"
},
{
"binding_name": "#available_game_image_visible",
"binding_name_override": "#visible",
"binding_type": "collection",
"binding_collection_name": "server_games_collection"
},
{
"binding_name": "#third_party_server_logo_resource_location",
"binding_name_override": "#texture_file_system"
},
{
"binding_name": "#third_party_server_logo_resource_location",
"binding_type": "collection",
"binding_name_override": "#texture_file_system",
"binding_collection_name": "server_games_collection"
}
]
}
}
]
}
},
{
"padding": {
"type": "panel",
"size": [ 4, "100%sm" ]
}
},
{
"game_title_panel": {
"type": "stack_panel",
"orientation": "vertical",
"min_size": [ "fill", 30 ],
"size": [ "fill", "100%c" ],
"controls": [
{
"game_title": {
"type": "label",
"size": [ "100%", "default" ],
"color": "$body_text_color",
"font_type": "smooth",
"text": "#available_game_title",
"bindings": [
{
"binding_name": "#available_game_title",
"binding_type": "collection",
"binding_collection_name": "server_games_collection"
}
]
}
},
{
"game_subtitle": {
"type": "label",
"size": [ "100%", "default" ],
"color": "$body_text_color",
"font_type": "smooth",
"font_scale_factor": 0.8,
"text": "#available_game_subtitle",
"bindings": [
{
"binding_name": "#available_game_subtitle",
"binding_type": "collection",
"binding_collection_name": "server_games_collection"
}
]
}
}
]
}
}
]
}
},
{
"bottom_panel": {
"type": "panel",
"size": [ "100% - 8px", "100%c + 4px" ],
"anchor_from": "bottom_middle",
"anchor_to": "bottom_middle",
"layer": 2,
"controls": [
{
"bottom_panel": {
"type": "label",
"size": [ "100%", "default" ],
"color": "$body_text_color",
"font_type": "smooth",
"font_scale_factor": 0.8,
"text": "#available_game_description",
"bindings": [
{
"binding_name": "#available_game_description",
"binding_type": "collection",
"binding_collection_name": "server_games_collection"
}
]
}
}
]
}
}
]
}
},
{
"padding": {
"type": "panel",
"size": [ "100%", 2 ]
}
}
]
},
"games_section_panel": {
"type": "stack_panel",
"orientation": "vertical",
"size": [ "100%", "100%c" ],
"controls": [
{
"divider_0@common.horizontal_divider": {}
},
{
"padding_0": {
"type": "panel",
"size": [ "100%", 2 ]
}
},
{
"description_label": {
"type": "label",
"size": [ "100%", 11 ],
"color": "$body_text_color",
"text": "networkWorld.available_games"
}
},
{
"padding_1": {
"type": "panel",
"size": [ "100%", 2 ]
}
},
{
"games_factory_panel": {
"type": "stack_panel",
"orientation": "vertical",
"size": [ "100% - 2px", "100%c" ],
"factory": {
"name": "available_games_factory",
"control_name": "play.games_factory_object"
},
"collection_name": "server_games_collection",
"bindings": [
{
"binding_name": "#games_collection_length",
"binding_name_override": "#collection_length"
}
]
}
},
{
"padding_3": {
"type": "panel",
"size": [ "100%", 2 ]
}
}
]
},
"news_text_panel": {
"type": "panel",
"size": [ "100%", "100%c" ],
"$news_max_size|default": [ "100% - 2px", 40 ],
"controls": [
{
"contents_news": {
"type": "label",
"size": [ "100% - 2px", "default" ],
"max_size": "$news_max_size",
"offset": [ 2, 0 ],
"layer": 1,
"color": "$body_text_color",
"font_type": "smooth",
"font_scale_factor": 0.8,
"enable_profanity_filter": false,
"text": "#news_text",
"notify_on_ellipses": [
"news_read_more_button_panel"
],
"bindings": [
{
"binding_name": "#news_text"
}
]
}
}
]
},
"news_section_panel": {
"type": "stack_panel",
"orientation": "vertical",
"size": [ "100%", "100%c" ],
"controls": [
{
"divider_0@common.horizontal_divider": {}
},
{
"padding_0": {
"type": "panel",
"size": [ "100%", 2 ]
}
},
{
"news_label": {
"type": "label",
"color": "$body_text_color",
"size": [ "100%", 11 ],
"text": "networkWorld.news"
}
},
{
"padding_1": {
"type": "panel",
"size": [ "100%", 2 ]
}
},
{
"read_more_panel": {
"type": "image",
"texture": "textures/ui/screen_background",
"alpha": 0.6,
"size": [ "100%", "100%c + 4px" ],
"controls": [
{
"text_stack_panel": {
"type": "stack_panel",
"orientation": "vertical",
"size": [ "100% - 7px", "100%c" ],
"offset": [ 0, 2 ],
"anchor_from": "top_middle",
"anchor_to": "top_middle",
"controls": [
{
"news_title_text": {
"type": "label",
"size": [ "100%", 11 ],
"color": "$body_text_color",
"font_type": "smooth",
"text": "#news_label",
"layer": 5,
"bindings": [
{
"binding_name": "#news_label"
}
]
}
},
{
"divider_panel": {
"type": "panel",
"size": [ "100%", 4 ],
"layer": 5,
"controls": [
{
"divider_0@common.horizontal_divider": {}
}
]
}
},
{
"news_text_small@play.news_text_panel": {
"type": "panel",
"size": [ "100%", "100%c" ],
"bindings": [
{
"binding_name": "#news_is_read_more",
"binding_name_override": "#visible"
}
]
}
},
{
"news_text_full@play.news_text_panel": {
"type": "panel",
"size": [ "100%", "100%c" ],
"$news_max_size": [ "100% - 2px", "default" ],
"bindings": [
{
"binding_name": "#news_is_read_less",
"binding_name_override": "#visible"
}
]
}
}
]
}
},
{
"news_read_more_button_panel@common_buttons.read_button": {
"$offset": [ -6, -2.5 ],
"anchor_from": "bottom_right",
"anchor_to": "bottom_right",
"$single_line_label_text": "store.mashup.readMore",
"$pressed_button_name": "button.news_read_toggle",
"$focus_override_left": "left_panel",
"bindings": [
{
"binding_name": "#news_is_read_more",
"binding_name_override": "#visible"
}
],
"$bindings": [
{
"binding_type": "view",
"source_property_name": "#using_ellipses",
"target_property_name": "#visible"
}
]
}
},
{
"news_read_less_button_panel@common_buttons.read_button": {
"$offset": [ -6, -2.5 ],
"anchor_from": "bottom_right",
"anchor_to": "bottom_right",
"$single_line_label_text": "store.mashup.readLess",
"$pressed_button_name": "button.news_read_toggle",
"$focus_override_left": "left_panel",
"$bindings": [
{
"binding_name": "#news_is_read_less",
"binding_name_override": "#visible"
}
]
}
}
]
}
},
{
"padding_3": {
"type": "panel",
"size": [ "100%", 2 ]
}
}
]
},
//---------------------------------------------------------------------------
// LOCAL WORLD GRID
//---------------------------------------------------------------------------
"divider": {
"type": "image",
"texture": "textures/ui/White"
},
"blue_diskspace_bar": {
"type": "image",
"texture": "textures/ui/White",
"clip_direction": "left",
"clip_pixelperfect": false,
"color": "$world_diskspace_editions_fill"
},
"green_diskspace_bar": {
"type": "image",
"texture": "textures/ui/White",
"clip_direction": "left",
"clip_pixelperfect": false,
"color": "$world_diskspace_bedrock_fill"
},
"empty_diskspace_bar": {
"type": "image",
"texture": "textures/ui/White",
"color": "$world_diskspace_empty"
},
"legacy_world_content_status_area_panel": {
"type": "panel",
"controls": [
{
"world_storage_content_panel": {
"type": "panel",
"controls": [
{
"world_storage_separator@play.divider": {
"size": [ "100% - 2px", "2px" ],
"offset": [ 0, 1 ],
"anchor_from": "top_middle",
"anchor_to": "top_middle",
"layer": 1,
"color": "$light_glyph_default_color"
}
},
{
"world_storage_information": {
"type": "stack_panel",
"size": [ "100% - 10px", "100%c" ],
"controls": [
{
"legacy_world_label": {
"type": "label",
"layer": 1,
"color": "$dark_button_default_text_color",
"text": "playscreen.worldsStorage"
}
},
{
"padding": {
"type": "panel",
"size": [ "100%", 4 ]
}
},
{
"legacy_world_bar": {
"type": "panel",
"anchor_from": "top_left",
"anchor_to": "top_left",
"size": [ "100% - 2px", 10 ],
"offset": [ 1, 1 ],
"controls": [
{
"local_diskspace_bar@play.green_diskspace_bar": {
"layer": 3,
"bindings": [
{
"binding_name": "#local_worlds_storage_size",
"binding_name_override": "#clip_ratio"
}
]
}
},
{
"legacy_diskspace_bar@play.blue_diskspace_bar": {
"layer": 2,
"bindings": [
{
"binding_name": "#legacy_worlds_storage_size",
"binding_name_override": "#clip_ratio"
}
]
}
},
{
"empty_diskspace_bar@play.empty_diskspace_bar": {
"layer": 1,
"size": [ "100%", "100%" ]
}
}
]
}
}
]
}
}
]
}
}
]
},
"world_list_text": {
"type": "label",
"color": "$dark_button_secondary_default_text_color",
"shadow": false
},
"realm_screenshot@play.world_screenshot_base": {
"controls": [
{
"picture": {
"type": "image",
"layer": 1,
"texture": "textures/ui/RealmDemoScreen",
"size": [ "173.91%y", "100% - 2px" ],
"offset": [ 1, 1 ],
"anchor_from": "top_left",
"anchor_to": "top_left"
}
}
]
},
"local_world_name@play.world_list_text": {
"text": "#local_world_name",
"localize": false,
"color": "$text_color",
"bindings": [
{
"binding_name": "#local_world_name",
"binding_type": "collection",
"binding_collection_name": "local_worlds"
}
]
},
"legacy_world_name@play.world_list_text": {
"text": "#legacy_world_name",
"localize": false,
"color": "$text_color",
"bindings": [
{
"binding_name": "#legacy_world_name",
"binding_type": "collection",
"binding_collection_name": "legacy_worlds"
}
]
},
// local world copy protection indicator
"world_lock": {
"type": "image",
"layer": 6,
"anchor_from": "bottom_right",
"anchor_to": "bottom_right",
"size": [ 8, 8 ],
"texture": "textures/ui/lock"
},
"local_world_game_mode@play.world_list_text": {
"text": "#local_world_game_mode",
"color": "$secondary_text_color",
"bindings": [
{
"binding_name": "#local_world_game_mode",
"binding_type": "collection",
"binding_collection_name": "local_worlds"
}
]
},
"legacy_world_game_mode@play.world_list_text": {
"text": "#legacy_world_game_mode",
"color": "$secondary_text_color",
"bindings": [
{
"binding_name": "#legacy_world_game_mode",
"binding_type": "collection",
"binding_collection_name": "legacy_worlds"
}
]
},
"local_world_date@play.world_list_text": {
"text": "#local_world_date",
"color": "$secondary_text_color",
"bindings": [
{
"binding_name": "#local_world_date",
"binding_type": "collection",
"binding_collection_name": "local_worlds"
}
]
},
"legacy_world_date@play.world_list_text": {
"text": "#legacy_world_date",
"color": "$secondary_text_color",
"bindings": [
{
"binding_name": "#legacy_world_date",
"binding_type": "collection",
"binding_collection_name": "legacy_worlds"
},
{
"binding_name": "#legacy_world_date_visible",
"binding_name_override": "#visible",
"binding_type": "collection",
"binding_collection_name": "legacy_worlds"
}
]
},
"local_world_filesize@play.world_list_text": {
"text": "#local_worldfile_size",
"color": "$secondary_text_color",
"bindings": [
{
"binding_name": "#local_worldfile_size",
"binding_type": "collection",
"binding_collection_name": "local_worlds"
}
]
},
"legacy_world_filesize@play.world_list_text": {
"text": "#legacy_worldfile_size",
"color": "$secondary_text_color",
"bindings": [
{
"binding_name": "#legacy_worldfile_size",
"binding_type": "collection",
"binding_collection_name": "legacy_worlds"
}
]
},
"local_world_connected_storage": {
"type": "panel",
"controls": [
{
"local_and_cloud@play.local_and_cloud_storage": {
"bindings": [
{
"binding_name": "#local_and_cloud_storage_visible",
"binding_name_override": "#visible",
"binding_type": "collection",
"binding_collection_name": "local_worlds"
}
]
}
},
{
"local_only@play.local_only_storage": {
"bindings": [
{
"binding_name": "#local_only_storage_visible",
"binding_name_override": "#visible",
"binding_type": "collection",
"binding_collection_name": "local_worlds"
}
]
}
},
{
"cloud_only@play.cloud_only_storage": {
"bindings": [
{
"binding_name": "#cloud_only_storage_visible",
"binding_name_override": "#visible",
"binding_type": "collection",
"binding_collection_name": "local_worlds"
}
]
}
}
]
},
"local_world_lock_panel": {
"type": "panel",
"size": [ "100%c", "100%c" ],
"controls": [
{
"lock@play.world_lock": {
"offset": [ 0, 1 ]
}
}
],
"bindings": [
{
"binding_name": "#world_lock_visible",
"binding_type": "collection",
"binding_name_override": "#visible",
"binding_collection_name": "local_worlds"
}
]
},
"realms_plus_banner": {
"type": "panel",
"size": [ "100%c", "100% + 4px" ],
"anchor_from": "left_middle",
"anchor_to": "left_middle",
"controls": [
{
"realms_banner@realmsPlus.markdown_background": {
"size": [ "100%c", "100%" ],
"$triangle_offset": [ 0, 0 ],
"$banner_size": [ "100%c - 4px", "100% - 2px" ],
"layer": 9
}
}
],
"$banner_content": [
{
"realms_icon@common_store.realms_banner_icon": {}
},
{
"pad_0": {
"type": "panel",
"size": [ 2, "100%" ]
}
},
{
"pad_1": {
"type": "panel",
"size": [ 5, "100%" ]
}
}
]
},
"local_world_text_panel": {
"type": "panel",
"controls": [
{
"text_indent": {
"type": "panel",
"size": [ "100% - 4px", "100% - 4px" ],
"offset": [ 1, 0 ],
"controls": [
{
"top_side": {
"type": "stack_panel",
"orientation": "horizontal",
"size": [ "100%", "50%" ],
"anchor_from": "top_left",
"anchor_to": "top_left",
"controls": [
{
"local_world_name@play.local_world_name": {
"size": [ "fill", 10 ],
"layer": 1
}
},
{
"lock_1@play.local_world_lock_panel": {}
},
{
"local_world_date@play.local_world_date": {
"size": [ "default", 10 ],
"layer": 1
}
}
]
}
},
{
"bottom_side": {
"anchor_from": "bottom_left",
"anchor_to": "bottom_left",
"type": "stack_panel",
"orientation": "horizontal",
"size": [ "100%", "50%" ],
"offset": [ -2, 1 ],
"controls": [
{
"realms_plus_icon@play.realms_plus_banner": {
"size": [ "100%c", 12 ],
"layer": 1,
"bindings": [
{
"binding_type": "collection",
"binding_collection_name": "local_worlds",
"binding_name": "#realms_chevron_visible",
"binding_name_override": "#visible"
}
]
}
},
{
"pad": {
"type": "panel",
"size": [ 3, "100%" ]
}
},
{
"local_world_game_mode@play.local_world_game_mode": {
"size": [ "fill", 10 ],
"layer": 1
}
},
{
"local_world_connected_storage@play.local_world_connected_storage": {
"size": [ 16, 8 ],
"visible": false,
"layer": 1
}
},
{
"local_world_filesize@play.local_world_filesize": {
"size": [ "default", 10 ],
"layer": 1
}
}
]
}
}
]
}
}
]
},
"legacy_world_text_panel": {
"type": "panel",
"controls": [
{
"text_indent": {
"type": "panel",
"size": [ "100% - 4px", "100% - 4px" ],
"offset": [ 1, 0 ],
"controls": [
{
"top_side": {
"type": "stack_panel",
"orientation": "horizontal",
"size": [ "100%", "50%" ],
"anchor_from": "top_left",
"anchor_to": "top_left",
"controls": [
{
"legacy_world_name@play.legacy_world_name": {
"size": [ "fill", 10 ],
"layer": 1
}
},
{
"legacy_world_date@play.legacy_world_date": {
"size": [ "default", 10 ],
"layer": 1
}
}
]
}
},
{
"bottom_side": {
"anchor_from": "bottom_left",
"anchor_to": "bottom_left",
"type": "stack_panel",
"orientation": "horizontal",
"size": [ "100%", "50%" ],
"controls": [
{
"legacy_world_game_mode@play.legacy_world_game_mode": {
"size": [ "fill", 10 ],
"layer": 1
}
},
{
"legacy_world_filesize@play.legacy_world_filesize": {
"size": [ "default", 10 ],
"layer": 1
}
}
]
}
}
]
}
}
]
},
"beta_retail_world_text_panel": {
"type": "panel",
"controls": [
{
"text_indent": {
"type": "panel",
"size": [ "100% - 6px", "100% - 4px" ],
"controls": [
{
"top_side": {
"type": "stack_panel",
"orientation": "horizontal",
"size": [ "100%", "50%" ],
"anchor_from": "top_left",
"anchor_to": "top_left",
"controls": [
{
"beta_retail_world_name@play.world_list_text": {
"text": "$beta_retail_world_name_binding_name",
"size": [ "fill", 10 ],
"color": "$text_color",
"layer": 1,
"bindings": [
{
"binding_type": "collection",
"binding_collection_name": "$beta_retail_collection_name",
"binding_name": "$beta_retail_world_name_binding_name"
}
]
}
},
{
"beta_retail_world_date@play.world_list_text": {
"text": "$beta_retail_world_date_binding_name",
"size": [ "default", 10 ],
"color": "$secondary_text_color",
"layer": 1,
"bindings": [
{
"binding_type": "collection",
"binding_collection_name": "$beta_retail_collection_name",
"binding_name": "$beta_retail_world_date_binding_name"
}
]
}
}
]
}
},
{
"bottom_side": {
"anchor_from": "bottom_left",
"anchor_to": "bottom_left",
"type": "stack_panel",
"orientation": "horizontal",
"size": [ "100%", "50%" ],
"controls": [
{
"beta_retail_world_game_mode@play.world_list_text": {
"text": "$beta_retail_world_game_mode_binding_name",
"size": [ "fill", 10 ],
"color": "$secondary_text_color",
"layer": 1,
"bindings": [
{
"binding_type": "collection",
"binding_collection_name": "$beta_retail_collection_name",
"binding_name": "$beta_retail_world_game_mode_binding_name"
}
]
}
},
{
"beta_retail_world_filesize@play.world_list_text": {
"text": "$beta_retail_world_filesize_binding_name",
"size": [ "default", 10 ],
"color": "$secondary_text_color",
"layer": 1,
"bindings": [
{
"binding_type": "collection",
"binding_collection_name": "$beta_retail_collection_name",
"binding_name": "$beta_retail_world_filesize_binding_name"
}
]
}
}
]
}
}
]
}
}
]
},
"world_content_panel": {
"type": "stack_panel",
"orientation": "horizontal",
"size": [ "100%", "100%" ],
"variables": [
{
"requires": "$default_state",
"$border_texture": "textures/ui/default_indent"
},
{
"requires": "$hover_state",
"$border_texture": "textures/ui/world_screenshot_focus_border"
},
{
"requires": "$pressed_state",
"$border_texture": "textures/ui/world_screenshot_focus_border"
},
{
"requires": "$locked_state",
"$border_texture": "textures/ui/default_indent"
}
],
"controls": [
{
"world_screenshot@play.collection_world_screenshot": {
"$collection_binding_name": "$worlds_collection_name",
"$image_binding_name": "$world_image_binding_name",
"$supports_realmsplus_overlay": "$world_supports_realmsplus_overlay",
"$texture_source_binding_name": "$world_texture_source_binding_name"
}
},
{
"world_text_panel@$world_text_panel_control": {
"size": [ "fill", "100%" ]
}
}
]
},
"local_world_item_button@common_buttons.dark_content_button": {
"variables": [
{
"requires": "($local_world_upload)",
"$pressed_button_name": "button.local_world_upload"
},
{
"requires": "(not $local_world_upload)",
"$pressed_button_name": "button.menu_start_local_world"
}
],
"$pressed_button_name": "button.menu_start_local_world",
"$worlds_collection_name": "local_worlds",
"$world_image_binding_name": "#local_world_image",
"$world_supports_realmsplus_overlay": true,
"$world_texture_source_binding_name": "#local_world_texture_source",
"$world_text_panel_control": "play.local_world_text_panel",
"$button_content": "play.world_content_panel",
"bindings": [
{
"binding_type": "collection_details",
"binding_collection_name": "local_worlds"
},
{
"binding_type": "collection",
"binding_name": "#world_button_focus_identifier",
"binding_name_override": "#focus_identifier",
"binding_collection_name": "local_worlds"
}
]
},
"legacy_world_item_button@common_buttons.dark_content_button": {
"$pressed_button_name": "button.convert_legacy_world",
"$worlds_collection_name": "legacy_worlds",
"$world_image_binding_name": "#legacy_world_image",
"$world_supports_realmsplus_overlay": false,
"$world_texture_source_binding_name": "#legacy_world_texture_source",
"$world_text_panel_control": "play.legacy_world_text_panel",
"$button_content": "play.world_content_panel",
"button_mappings": [
{
"from_button_id": "button.menu_select",
"to_button_id": "$pressed_button_name",
"mapping_type": "pressed"
},
{
"from_button_id": "button.menu_ok",
"to_button_id": "$pressed_button_name",
"mapping_type": "focused"
}
],
"bindings": [
{
"binding_type": "collection_details",
"binding_collection_name": "legacy_worlds"
}
]
},
"beta_retail_world_item_button@common_buttons.dark_content_button": {
"$worlds_collection_name": "$beta_retail_collection_name",
"$world_image_binding_name": "$beta_retail_world_image",
"$world_supports_realmsplus_overlay": false,
"$world_texture_source_binding_name": "$beta_retail_world_texture_source",
"$world_text_panel_control": "play.beta_retail_world_text_panel",
"$button_content": "play.world_content_panel",
"bindings": [
{
"binding_type": "collection_details",
"binding_collection_name": "$beta_retail_collection_name"
}
]
},
"local_world_edit_button@common_buttons.dark_glyph_button": {
"size": [ "100%y - 1px", "100%" ],
"$pressed_button_name": "button.menu_local_world_item_edit",
"$button_content": "play.edit_icon",
"$button_tts_header": "accessibility.play.editWorld",
"layer": 2,
"bindings": [
{
"binding_type": "collection_details",
"binding_collection_name": "local_worlds"
}
]
},
"cloud_upload_button@common_buttons.dark_glyph_button": {
"size": [ "100%y - 1px", "100%" ],
"$pressed_button_name": "button.cloud_upload",
"$button_content": "play.upload_icon",
"$button_tts_header": "accessibility.play.uploadWorld",
"layer": 2,
"bindings": [
{
"binding_type": "collection_details",
"binding_collection_name": "local_worlds"
}
]
},
"cloud_upload_and_edit_world_stack_panel": {
"size": [ "100%c - 2px", "100%" ],
"type": "stack_panel",
"orientation": "horizontal",
"controls": [
{
"cloud@play.cloud_upload_button": {
"visible": false,
"bindings": [
{
"binding_type": "collection_details",
"binding_collection_name": "local_worlds"
},
{
"binding_name": "#cloud_upload_enabled",
"binding_name_override": "#visible"
}
]
}
},
{
"edit@play.local_world_edit_button": {}
}
]
},
"legacy_world_delete_button@common_buttons.dark_glyph_button": {
"size": [ "100%y - 1px", "100%" ],
"$pressed_button_name": "button.menu_legacy_world_item_delete",
"$button_content": "play.delete_icon",
"$button_tts_header": "accessibility.play.legacyWorldsDelete",
"layer": 2,
"bindings": [
{
"binding_type": "collection_details",
"binding_collection_name": "legacy_worlds"
}
]
},
"legacy_world_migrate_button@common_buttons.dark_glyph_button": {
"size": [ "100%y - 1px", "100%" ],
"$pressed_button_name": "button.menu_legacy_world_item_migrate",
"$button_content": "play.world_download_icon",
"$button_tts_header": "accessibility.play.importWorld",
"layer": 2,
"bindings": [
{
"binding_type": "collection_details",
"binding_collection_name": "legacy_worlds"
}
]
},
"local_world_item": {
"type": "stack_panel",
"anchor_from": "top_left",
"anchor_to": "top_left",
"layer": 1,
"size": [ "100%", 29 ],
"orientation": "horizontal",
"$local_world_edit_button_visible|default": true,
"controls": [
{
"header_button_panel@play.header_button_panel": {
"layer": 1,
"size": [ "100%", "100% + 1px" ],
"anchor_from": "top_left",
"anchor_to": "top_left",
"$primary_header_button": "play.local_world_item_button",
"$secondary_header_button": "play.cloud_upload_and_edit_world_stack_panel",
"$secondary_visible": "$local_world_edit_button_visible"
}
}
]
},
"legacy_world_item": {
"type": "stack_panel",
"anchor_from": "top_left",
"anchor_to": "top_left",
"layer": 1,
"size": [ "100%", 29 ],
"orientation": "horizontal",
"controls": [
{
"header_button_panel_with_delete@play.header_button_panel": {
"ignored": "(not $legacy_worlds_share_storage)",
"layer": 1,
"size": [ "100%", "100% + 1px" ],
"anchor_from": "top_left",
"anchor_to": "top_left",
"$primary_header_button": "play.legacy_world_item_button",
"$secondary_header_button": "play.legacy_world_delete_button"
}
},
{
"header_button_panel_with_migrate@play.header_button_panel": {
"ignored": "(not $legacy_worlds_supports_migration)",
"layer": 1,
"size": [ "100%", "100% + 1px" ],
"anchor_from": "top_left",
"anchor_to": "top_left",
"$primary_header_button": "play.legacy_world_item_button",
"$secondary_header_button": "play.legacy_world_migrate_button"
}
},
{
"header_button_panel_no_delete@play.header_single_button_panel": {
"ignored": "($legacy_worlds_share_storage or $legacy_worlds_supports_migration)",
"layer": 1,
"size": [ "100%", "100% + 1px" ],
"anchor_from": "top_left",
"anchor_to": "top_left",
"$primary_header_button": "play.legacy_world_item_button"
}
}
]
},
"beta_retail_world_item@play.header_single_button_panel": {
"layer": 1,
"size": [ "100%", 30 ],
"anchor_from": "top_left",
"anchor_to": "top_left",
"$primary_header_button": "play.beta_retail_world_item_button"
},
"local_world_item_grid@play.world_item_grid_base": {
"$world_item_grid_template|default": "play.local_world_item",
"grid_item_template": "$world_item_grid_template",
"grid_dimension_binding": "#local_world_item_grid_dimension",
"collection_name": "local_worlds",
"bindings": [
{
"binding_name": "#local_world_item_grid_dimension"
}
]
},
"legacy_world_item_grid@play.world_item_grid_base": {
"grid_item_template": "play.legacy_world_item",
"grid_dimension_binding": "#legacy_world_item_grid_dimension",
"collection_name": "legacy_worlds",
"bindings": [
{
"binding_name": "#legacy_world_item_grid_dimension"
}
]
},
"beta_retail_local_world_item_grid@play.world_item_grid_base": {
"grid_item_template": "play.beta_retail_world_item",
"grid_dimension_binding": "#beta_retail_local_world_item_grid_dimension",
"collection_name": "beta_retail_local_worlds",
"$beta_retail_collection_name": "beta_retail_local_worlds",
"$beta_retail_world_name_binding_name": "#beta_retail_local_world_name",
"$beta_retail_world_date_binding_name": "#beta_retail_local_world_date",
"$beta_retail_world_game_mode_binding_name": "#beta_retail_local_world_game_mode",
"$beta_retail_world_filesize_binding_name": "#beta_retail_local_world_filesize",
"$beta_retail_world_image": "#beta_retail_local_world_image",
"$beta_retail_world_texture_source": "#beta_retail_local_world_texture_source",
"$pressed_button_name": "button.import_beta_retail_local_world",
"bindings": [
{
"binding_name": "#beta_retail_local_world_item_grid_dimension"
}
]
},
"beta_retail_legacy_world_item_grid@play.world_item_grid_base": {
"grid_item_template": "play.beta_retail_world_item",
"grid_dimension_binding": "#beta_retail_legacy_world_item_grid_dimension",
"collection_name": "beta_retail_legacy_worlds",
"$beta_retail_collection_name": "beta_retail_legacy_worlds",
"$beta_retail_world_name_binding_name": "#beta_retail_legacy_world_name",
"$beta_retail_world_date_binding_name": "#beta_retail_legacy_world_date",
"$beta_retail_world_game_mode_binding_name": "#beta_retail_legacy_world_game_mode",
"$beta_retail_world_filesize_binding_name": "#beta_retail_legacy_world_filesize",
"$beta_retail_world_image": "#beta_retail_legacy_world_image",
"$beta_retail_world_texture_source": "#beta_retail_legacy_world_texture_source",
"$pressed_button_name": "button.import_beta_retail_legacy_world",
"bindings": [
{
"binding_name": "#beta_retail_legacy_world_item_grid_dimension"
}
]
},
//---------------------------------------------------------------------------
// Buttons
//---------------------------------------------------------------------------
"common_button_template@common_buttons.light_glyph_button": {},
"common_button_text": {
"type": "label",
"color": "$tab_secondary_unchecked_text_color",
"layer": 1,
"shadow": false,
"text": "$common_button_text_text"
},
"add_friend_and_invite_panel": {
"type": "stack_panel",
"anchor_from": "top_left",
"anchor_to": "top_left",
"orientation": "horizontal",
"size": [ "100%", "100%cm" ],
"controls": [
{
"add_friend_button@play.add_friend_button": {
"ignored": "((not $supports_add_friend) or $nx_os or $is_ps4)",
"size": [ "fill", 30 ],
"bindings": [
{
"binding_name": "#add_friend_button_visible",
"binding_name_override": "#visible",
"binding_type": "global"
},
{
"binding_name": "#cross_platform_enabled",
"binding_name_override": "#enabled"
}
]
}
},
{
"padding_1": {
"type": "panel",
"size": [ 1, 0 ],
"ignored": "((not $supports_add_friend) or $nx_os or $is_ps4)"
}
},
{
"join_by_code_button@play.join_by_code_button": {
"ignored": "$is_editor_mode_enabled",
"size": [ "fill", 30 ]
}
},
{
"padding_2": {
"type": "panel",
"size": [ 1, 0 ],
"bindings": [
{
"binding_name": "#realms_notification_button_visible",
"binding_name_override": "#visible",
"binding_type": "global"
}
]
}
},
{
"notification_button_panel": {
"type": "panel",
"size": [ "13%", 30 ],
"visible": "#realms_notification_button_visible",
"controls": [
{
"notification_button@play.notification_button": {
"$button_content": "play.notification_content",
"$button_tts_header": "realmsInvitationScreen.shareTitle",
"size": [ "100%", "100%" ],
"anchor_from": "top_right",
"anchor_to": "top_right"
}
}
],
"bindings": [
{
"binding_name": "#realms_notification_button_visible",
"binding_name_override": "#visible",
"binding_type": "global"
}
]
}
}
]
},
"add_friend_button@common_buttons.light_text_button": {
"layer": 2,
"$pressed_button_name": "button.menu_network_add_friend",
"$button_text": "networkWorld.add_friend",
"$button_focus_precedence": 10,
"$focus_override_up": "close_button"
},
"join_by_code_button@common_buttons.light_text_button": {
"layer": 2,
"$button_text": "networkWorld.joinByCode",
"$pressed_button_name": "button.menu_network_join_by_code",
"$button_focus_precedence": 10,
"$focus_override_up": "close_button",
"button_mappings": [
{
"from_button_id": "button.menu_select",
"to_button_id": "$pressed_button_name",
"mapping_type": "pressed"
},
{
"from_button_id": "button.menu_ok",
"to_button_id": "$pressed_button_name",
"mapping_type": "focused"
}
],
"bindings": [
{
"binding_name": "#join_by_code_visible",
"binding_name_override": "#visible",
"binding_type": "global"
},
{
"binding_name": "#cross_platform_enabled",
"binding_name_override": "#enabled"
}
]
},
"add_server_toggle_button@common_toggles.light_text_toggle": {
"visible": "(not $ignore_add_servers)",
"size": [ "100%", 20 ],
"anchor_from": "top_left",
"anchor_to": "top_left",
"layer": 2,
"$button_text": "networkWorld.add_server",
"$radio_toggle_group": true,
"$toggle_name": "server_navigation_toggle",
"$toggle_view_binding_name": "add_server_toggle_button",
"$toggle_state_binding_name": "#toggle_state",
"$toggle_on_hover_binding_name": "none",
"$toggle_tab_focus_binding_type": "global",
"$toggle_tab_focus_binding_name": "#navigation_tab_focus_precedence",
"$toggle_group_forced_index": 100,
"$focus_override_up": "left_panel",
"bindings": [
{
"binding_name": "#add_server_enabled",
"binding_name_override": "#enabled"
}
]
},
"server_toggle_base@common_toggles.dark_image_toggle_collection": {
"size": [ "100%", "100% - 2px" ],
"$radio_toggle_group": true,
"$focus_override_right|default": "right_panel",
"$toggle_name": "server_navigation_toggle",
"$toggle_grid_collection_name": "$collection_name",
"$toggle_group_forced_index": "$toggle_index_binding_name",
"$toggle_state_binding_name": "#toggle_state",
"$toggle_tab_focus_binding_type": "global",
"$toggle_tab_focus_binding_name": "#navigation_tab_focus_precedence",
"$toggle_on_hover_binding_type": "global",
"$toggle_on_hover_binding_name": "#toggle_on_hover",
"$focus_override_right": "right_side",
"$button_content": "play.server_button_content_panel",
"bindings": [
{
"binding_type": "collection_details",
"binding_collection_name": "$collection_name"
},
{
"binding_name": "#cross_platform_enabled",
"binding_name_override": "#enabled"
},
{
"binding_type": "collection",
"binding_name": "#is_server_info_available_collection",
"binding_name_override": "#enabled",
"binding_collection_name": "$collection_name"
},
{
"binding_type": "collection",
"binding_name": "$toggle_index_binding_name",
"binding_collection_name": "$collection_name"
}
]
},
"quick_play_button@common_buttons.light_text_button": {
"$pressed_button_name": "button.menu_quick_play",
"$button_text": "menu.quickplay",
"focus_identifier": "quick_play_button",
"layer": 1
},
"create_new_world_button@common_buttons.light_text_button": {
"variables": [
{
"requires": "($local_world_upload)",
"$pressed_button_name": "button.new_world_upload"
},
{
"requires": "(not $local_world_upload)",
"$pressed_button_name": "button.menu_local_world_create"
},
{
"requires": "$is_editor_mode_enabled",
"$button_text": "playscreen.editor.create"
}
],
"anchor_from": "top_left",
"anchor_to": "top_left",
"$button_text": "selectWorld.createNew",
"$button_focus_precedence": 1,
"$create_new_row_focus_override_up|default": "close_button",
"$focus_override_up": "$create_new_row_focus_override_up",
"layer": 1
},
"create_on_realms_button_panel": {
"type": "panel",
"size": [ "100%", "100%cm" ],
"anchor_from": "top_left",
"anchor_to": "top_left",
"controls": [
{
"create_on_realms_button@settings_common.action_button_dark_text": {
"size": [ "100%", 29 ],
"$button_text": "createWorldScreen.createOnRealms",
"$pressed_button_name": "button.create_on_realms_button",
"$default_button_texture": "textures/ui/realmsContent",
"$hover_button_texture": "textures/ui/realmsContentHover",
"$pressed_button_texture": "textures/ui/realmsContentPressed",
"bindings": [
{
"binding_name": "#create_on_realms_button_visible",
"binding_name_override": "#visible"
}
]
}
}
]
},
"import_world_button@play.common_button_template": {
"variables": [
{
"requires": "($local_world_upload)",
"$pressed_button_name": "button.archived_world_upload"
},
{
"requires": "(not $local_world_upload)",
"$pressed_button_name": "button.menu_import_level"
}
],
"$button_tts_header": "accessibility.play.importWorld",
"anchor_from": "top_right",
"anchor_to": "top_right",
"size": [ "100%y", "100%" ],
"$button_content": "play.import_icon",
"$button_size_override": [ "100% + 1px", "100%" ],
"$button_background_anchor": "top_right",
"layer": 2,
"$create_new_row_focus_override_up|default": "close_button",
"$focus_override_up": "$create_new_row_focus_override_up",
"bindings": [
{
"binding_name": "#worlds_tab_import_button_focus_down_override",
"binding_name_override": "#focus_change_down"
}
]
},
"sync_legacy_worlds_button@common_buttons.light_text_button": {
"layer": 2,
"$pressed_button_name": "button.menu_sync_legacy_worlds",
"$button_text": "#sync_legacy_button_text",
"$button_text_binding_type": "global",
"bindings": [
{
"binding_name": "#sync_legacy_worlds_button_visible",
"binding_name_override": "#visible",
"binding_type": "global"
}
]
},
"notification_button_text_layout": {
"type": "panel",
"offset": "$button_offset",
"controls": [
{
"image1@play.invite_icon": {
"layer": 1,
"bindings": [
{
"binding_name": "(not #inbox_enabled)",
"binding_name_override": "#visible"
}
]
}
},
{
"image2@play.bell_icon": {
"layer": 1,
"bindings": [
{
"binding_name": "#inbox_enabled",
"binding_name_override": "#visible"
}
]
}
},
{
"count@start.notification_button_text_panel": {
"offset": [ -0.5, 0 ]
}
}
]
},
"notification_button_label_panel": {
"type": "panel",
"size": [ "70%", "100%" ],
"offset": "$button_offset",
"controls": [
{
"notification_button_label": {
"type": "label",
"offset": [ 0, 0 ],
"color": "$text_color",
"size": [ "100%", 10 ],
"text": "$label_text"
}
}
]
},
"notification_content@play.notification_button_text_layout": {},
"notification_button@common_buttons.light_content_button": {
"$pressed_button_name": "button.menu_invite_notification",
"$button_content": "play.notification_content",
"anchor_from": "top_right",
"anchor_to": "top_right",
"$button_offset|default": [ 0, 0 ],
"$focus_override_down": "friends_realms_world_button_0",
"bindings": [
{
"binding_name": "#friends_tab_invitation_button_focus_down_override",
"binding_name_override": "#focus_change_down"
}
]
},
"header_button_panel": {
"type": "panel",
"layer": 1,
"anchor_from": "top_left",
"anchor_to": "top_left",
"controls": [
{
"buttons": {
"type": "stack_panel",
"orientation": "horizontal",
"size": [ "100% - 1px", "100%" ],
"$secondary_visible|default": true,
"controls": [
{
"primary_panel": {
"type": "panel",
"size": [ "fill", "100%" ],
"controls": [
{
"primary@$primary_header_button": {
"size": [ "100% - 1px", "100%" ],
"anchor_from": "top_left",
"anchor_to": "top_left",
"layer": 1
}
}
]
}
},
{
"secondary@$secondary_header_button": {
"visible": "$secondary_visible",
"anchor_from": "top_right",
"anchor_to": "top_right",
"layer": 1
}
}
]
}
}
]
},
"header_button_panel_opt_in": {
"type": "panel",
"layer": 1,
"anchor_from": "top_left",
"anchor_to": "top_left",
"controls": [
{
"buttons": {
"type": "stack_panel",
"orientation": "horizontal",
"size": [ "100% - 1px", "100%" ],
"$secondary_visible|default": true,
"$ternary_visible|default": true,
"controls": [
{
"primary_panel": {
"type": "panel",
"size": [ "fill", "100%" ],
"controls": [
{
"primary@$primary_header_button": {
"size": [ "100% - 1px", "100%" ],
"anchor_from": "top_left",
"anchor_to": "top_left",
"layer": 1
}
}
]
}
},
{
"secondary@$secondary_header_button": {
"visible": "$secondary_visible",
"anchor_from": "top_right",
"anchor_to": "top_right",
"layer": 1
}
},
{
"ternary@$ternary_header_button": {
"visible": "$ternary_visible",
"anchor_from": "top_right",
"anchor_to": "top_right",
"layer": 1
}
}
]
}
}
]
},
"header_single_button_panel": {
"type": "panel",
"layer": 1,
"anchor_from": "top_left",
"anchor_to": "top_left",
"controls": [
{
"buttons": {
"type": "stack_panel",
"orientation": "horizontal",
"size": [ "100%", "100%" ],
"controls": [
{
"primary@$primary_header_button": {
"size": [ "100% + 1px", "100%" ],
"anchor_from": "top_left",
"anchor_to": "top_left",
"layer": 1
}
}
]
}
}
]
},
"open_account_setting_button_gamecore@common_buttons.light_text_button": {
"$pressed_button_name": "button.open_account_setting_gamecore",
"$button_text": "permissions.open.account.help.button.gamecore",
"size": [ "100%", 30 ],
"visible": true,
"bindings": [
{
"binding_name": "#open_account_setting_button_gamecore_visible",
"binding_name_override": "#visible"
}
]
},
//---------------------------------------------------------------------------
// Scroll panes
//---------------------------------------------------------------------------
"common_scroll_pane": {
"type": "panel",
"anchor_from": "top_left",
"anchor_to": "top_left",
"size": [ "100%-4px", "100%c" ],
"offset": [ 2, 0 ]
},
"worlds_scroll_panel@play.common_scroll_pane": {
"controls": [
{
"worlds_list_stack_panel@play.worlds_stack_panel": {}
}
]
},
"game_tip_item_panel": {
"type": "stack_panel",
"orientation": "horizontal",
"size": [ "100% - 8px", "100%cm + 6px" ],
"$game_tip_text|default": "",
"$label_text": "$game_tip_text",
"controls": [
{
"info_bulb": {
"type": "image",
"layer": 13,
"size": [ 15, 19 ],
"texture": "textures/ui/infobulb"
}
},
{
"padding_1": {
"type": "panel",
"size": [ 2, 0 ]
}
},
{
"label_panel": {
"type": "stack_panel",
"orientation": "vertical",
"size": [ "fill", "100%c" ],
"controls": [
{
"padding_vertical": {
"type": "panel",
"size": [ 0, 1 ]
}
},
{
"realms_warning_text": {
"type": "label",
"size": [ "100%", "default" ],
"$label_text|default": "#label_text",
"$label_text_binding_type|default": "global",
"text": "$label_text",
"color": "$body_text_color",
"layer": 3,
"bindings": [
{
"binding_name": "$label_text",
"binding_name_override": "$label_text",
"binding_type": "$label_text_binding_type"
}
]
}
},
{
"padding_vertical_1": {
"type": "panel",
"size": [ 0, 1 ]
}
}
]
}
},
{
"more_info_button@common_buttons.light_text_form_fitting_button": {
"$pressed_button_name": "button.realms_warning_more_info",
"$button_text": "playscreen.realmsWarning.moreinfo"
}
}
]
},
"realm_warning_tip": {
"type": "image",
"texture": "textures/ui/greyBorder",
"layer": 1,
"size": [ "100%", "100%cm" ],
"$realms_warning_text|default": "#realms_warning_text",
"controls": [
{
"padding_vertical": {
"type": "panel",
"size": [ 0, 8 ]
}
},
{
"info_panel@play.game_tip_item_panel": {
"$game_tip_text": "$realms_warning_text",
"offset": [ 0, 4 ]
}
}
],
"bindings": [
{
"binding_name": "#device_sunsetting",
"binding_name_override": "#visible"
}
]
},
"new_ui_switch_button_options_panel": {
"type": "stack_panel",
"ignored": "$education_edition",
"orientation": "vertical",
"size": [ "50% - 10px", "100%c + 4px" ],
"bindings": [
{
"binding_name": "#show_new_play_screen_opt_in",
"binding_name_override": "#visible"
}
],
"controls": [
{
"unlock_template_options_button@settings_common.action_button": {
"size": [ "100% - 1px", 30 ],
"$button_text": "options.newUiPlayScreen.initiate",
"$pressed_button_name": "button.switch_to_new_ui"
}
}
]
},
"new_ui_servers_switch_button_options_panel": {
"type": "stack_panel",
"ignored": "$education_edition",
"orientation": "vertical",
"size": [ "100%", "100%c" ],
"bindings": [
{
"binding_name": "#show_new_play_screen_servers_opt_in",
"binding_name_override": "#visible"
}
],
"controls": [
{
"unlock_template_options_button@settings_common.action_button": {
"size": [ "100% - 1px", 30 ],
"$button_text": "options.newUiPlayScreen.initiate",
"$pressed_button_name": "button.switch_to_new_ui_servers"
}
},
{
"padding_0": {
"type": "panel",
"size": [ "100%", 2 ]
}
}
]
},
"worlds_stack_panel": {
"type": "stack_panel",
"orientation": "vertical",
"size": [ "100%", "100%c" ],
"controls": [
{
"padding_0": {
"type": "panel",
"size": [ "100%", 2 ]
}
},
{
"play_screen_warning@play.realm_warning_tip": {}
},
{
"header_button": {
// we don't support importing or creating a new world for realm upload yet
"ignored": "$local_world_upload",
"type": "stack_panel",
"orientation": "vertical",
"layer": 1,
"size": [ "100%", "100%c + 4px" ],
"controls": [
{
"quick_play@play.quick_play_button": {
"ignored": "(not $education_edition)",
"layer": 1,
// 0.5 to line up with the button panel below
"size": [ "100% + 0.5px", 30 ],
"$focus_override_up": "close_button"
}
},
{
"buttons@play.header_button_panel_opt_in": {
"layer": 1,
"size": [ "100%", 30 ],
"anchor_from": "top_left",
"anchor_to": "top_left",
"$primary_header_button": "create_new_world_button",
"$secondary_header_button": "new_ui_switch_button_options_panel",
"$ternary_header_button": "import_world_button",
"$ternary_visible": "$world_archive_support"
}
}
]
}
},
{
"worlds_crossplatform_disabled_panel@play.crossplatform_disabled_panel": {
"ignored": "(not $is_realms_enabled)",
"$cross_platform_information_text": "crossPlatformToggle.crossPlatformDisabled.realms"
}
},
{
"worlds_crossplatform_disable_spacer@play.crossplatform_disable_spacer": {
"ignored": "(not $is_realms_enabled)"
}
},
{
"realms_panel": {
"ignored": "(not $is_realms_enabled)",
"type": "stack_panel",
"size": [ "100%", "100%c" ],
"bindings": [
{
"binding_name": "#personal_realms_grid_visible",
"binding_name_override": "#visible"
}
],
"variables": [
{
"requires": "(not $pre_release)",
"$tts_section_header": "playscreen.realms"
},
{
"requires": "($pre_release and not $beta_build)",
"$tts_section_header": "playscreen.previewRealms"
},
{
"requires": "($pre_release and $beta_build)",
"$tts_section_header": "playscreen.betaRealms"
}
],
"controls": [
{
"realms_label@play.world_list_label_panel": {
"ignored": "$world_picker_screen",
"$label_text": "$tts_section_header",
"bindings": [
{
"binding_name": "#realm_label_visible",
"binding_name_override": "#visible"
}
]
}
},
{
"sign_in_to_view_realms_button@play.sign_in_to_view_realms_button": {}
},
{
"realms_previews_panel": {
"type": "panel",
"size": [ "100%", 30 ],
"bindings": [
{
"binding_name": "#free_preview_realm_button_visible",
"binding_name_override": "#visible"
}
],
"controls": [
{
"new_offers_icon@common_store.new_offer_icon": {
"layer": 8,
"offset": [ 0, -2 ],
"anchor_from": "top_right",
"anchor_to": "top_right",
"bindings": [
{
"binding_name": "#free_preview_realm_new_button_visible",
"binding_name_override": "#visible"
}
]
}
},
{
"realms_world_item_button@common_buttons.dark_content_button": {
"size": [ "100%", 30 ],
"$pressed_button_name": "button.free_preview_realm_available",
"$button_content": "play.realms_trial_content_panel",
"$button_content_text": "#free_preview_realm_available",
"$world_details_text": "playscreen.withYourPaidRealms",
"$text_binding_condition": "once",
"$world_header_text_binding_type": "global",
"$world_details_text_binding_type": "none",
"$focus_id": "free_preview_realm_available_button"
}
}
]
}
},
{
"create_on_realms_button_panel@play.create_on_realms_button_panel": {}
},
{
"personal_realms@play.realms_world_item_grid": {
"ignored": "$world_picker_screen",
"$grid_name": "#personal_realms_grid_dimension",
"$realms_worlds_collection_name": "personal_realms",
"$grid_item_layout": "play.realms_world_item"
}
},
{
"placeholder_personal_realms_panel@play.label_background": {
"size": [ "100%", "100%c - 12px" ],
"min_size": [ "100%", 39 ], // Grid item size is 29 + 10 for label, grid items overdraw by 1px
"ignored": "$world_picker_screen",
"controls": [
{
"placeholder_loading_personal_realms": {
"type": "grid",
"layer": 1,
"anchor_to": "top_left",
"anchor_from": "top_left",
"size": [ "100%", "default" ],
"collection_name": "loading_personal_realms",
"grid_item_template": "play.empty_grid",
"grid_dimension_binding": "#loading_personal_realms_grid_dimension",
"bindings": [
{
"binding_name": "#loading_personal_realms_grid_dimension"
}
]
}
},
{
"loading_friends_realms_label@play.loading_label": {
"$message_binding_name": "#realms_loading_display_message"
}
},
{
"padding": {
"type": "panel",
"size": [ "100%", 4 ]
}
},
{
"progress_loading_bars@play.progress_loading_bars": {}
}
],
"bindings": [
{
"binding_name": "#loading_personal_realms_grid_visible",
"binding_name_override": "#visible"
}
]
}
},
// This is to emulate the sizing behavior of the Realms grid which overdraws by 1 pixel to create a single stroke border
{
"realms_trial_panel": {
"type": "panel",
"size": [ "100%", 29 ],
"controls": [
{
"realms_world_item_button@common_buttons.dark_content_button": {
"size": [ "100%", 30 ],
"ignored": "$world_picker_screen",
"$pressed_button_name": "button.menu_realm_world_trial",
"$button_content": "play.realms_trial_content_panel",
"$button_content_text": "#realms_trial_text",
"$world_details_text": "playscreen.realmsTrialWorld",
"$text_binding_condition": "once",
"$world_header_text_binding_type": "global",
"$world_details_text_binding_type": "none",
"$focus_id": "realms_trial_button",
"bindings": [
{
"binding_name": "#cross_platform_enabled",
"binding_name_override": "#enabled"
}
]
}
}
],
"bindings": [
{
"binding_type": "global",
"binding_name": "#realm_trial_button_visible",
"binding_name_override": "#visible"
}
]
}
},
{
"realms_nintendo_first_realm_purchase_panel": {
"type": "panel",
"size": [ "100%", 29 ],
"controls": [
{
"realms_world_item_button@common_buttons.dark_content_button": {
"size": [ "100%", 30 ],
"ignored": "$world_picker_screen",
"$pressed_button_name": "button.menu_realm_nintendo_first_realm_purchase_button",
"$button_content": "play.realms_trial_content_panel",
"$button_content_text": "playscreen.realmsCreateFirstWorld",
"$focus_id": "realms_trial_button"
}
}
],
"bindings": [
{
"binding_type": "global",
"binding_name": "#realm_nintendo_first_realm_purchase_button_visible",
"binding_name_override": "#visible"
}
]
}
},
{
"padding_1": {
"type": "panel",
"size": [ "100%", 4 ]
}
}
]
}
},
{
"realms_multiplayer_blocked_panel": {
"ignored": "(not $is_realms_enabled)",
"type": "stack_panel",
"size": [ "100%", "100%c" ],
"visible": false,
"bindings": [
{
"binding_name": "#multiplayer_blocked_panel_visible",
"binding_name_override": "#visible"
}
],
"controls": [
{
"text_panel@play.label_content_template": {
"$label_content_label": "playscreen.header.realms",
"$label_content_content": "play.information_panel",
"$information_panel_label_text": "#multiplayer_sessions",
"$information_panel_label_text_binding_type": "global",
"$information_panel_label_text_binding_condition": "always_when_visible"
}
},
{
"open_uri_button@play.open_account_setting_button": {}
},
{
"open_account_setting_button_gamecore@play.open_account_setting_button_gamecore": {}
}
]
}
},
{
"worlds_label@play.world_list_label_with_color_panel": {
"$label_text": "playscreen.worlds",
"$square_color": "$world_diskspace_bedrock_fill",
"variables": [
{
"requires": "($pre_release and not $is_editor_mode_enabled)",
"$label_text": "playscreen.beta_worlds"
},
{
"requires": "$is_editor_mode_enabled",
"$label_text": "playscreen.editor.worlds"
}
],
"bindings": [
{
"binding_name": "#local_worlds_visible",
"binding_name_override": "#visible"
}
]
}
},
{
"grid@play.local_world_item_grid": {
"$tts_section_header": "playscreen.worlds",
"variables": [
{
"requires": "$pre_release",
"$tts_section_header": "playscreen.beta_worlds"
}
]
}
},
{
"no_local_worlds_label@play.label_content_template": {
"ignored": "(not $local_world_upload)",
"$label_content_label": "",
"$label_content_content": "play.information_panel",
"$information_panel_label_text": "localWorld.no_local_world_label",
"bindings": [
{
"binding_name": "#no_local_worlds",
"binding_name_override": "#visible"
}
]
}
},
{
"no_local_worlds_switch_setting@play.no_local_worlds_switch_setting": {}
},
{
"beta_retail_local_padding": {
"type": "panel",
"size": [ "100%", 4 ],
"bindings": [
{
"binding_name": "#beta_retail_local_worlds_visible",
"binding_name_override": "#visible"
}
]
}
},
{
"beta_retail_local_worlds_label@play.world_list_label_panel": {
"$label_text": "playscreen.worlds",
"bindings": [
{
"binding_name": "#beta_retail_local_worlds_visible",
"binding_name_override": "#visible"
}
]
}
},
{
"beta_retail_local_grid@play.beta_retail_local_world_item_grid": {
"$tts_section_header": "playscreen.worlds"
}
},
{
"loading_legacy_worlds_panel_padding": {
"ignored": "(not $supports_legacy_worlds)",
"type": "panel",
"size": [ "100%", 4 ],
"bindings": [
{
"binding_name": "#sync_legacy_worlds_button_visible",
"binding_name_override": "#visible",
"binding_type": "global"
}
]
}
},
{
"legacy_worlds_button": {
"type": "stack_panel",
"ignored": "$auto_fetch_legacy_worlds",
"controls": [
{
"legacy_worlds_label@play.world_list_label_panel": {
"$label_text": "playscreen.dontSeeLegacyWorlds",
"ignored": "(not $supports_legacy_worlds)",
"bindings": [
{
"binding_name": "#sync_legacy_worlds_button_visible",
"binding_name_override": "#visible",
"binding_type": "global"
}
]
}
},
{
"sync_legacy_worlds_button_panel": {
"ignored": "(not $supports_legacy_worlds)",
"type": "panel",
"layer": 1,
"size": [ "100%", "100%c + 4px" ],
"controls": [
{
"button@play.sync_legacy_worlds_button": {
"layer": 1,
"size": [ "100%", 30 ]
}
}
]
}
}
]
}
},
{
"loading_legacy_worlds_panel@play.label_background": {
"size": [ "100%", "100%c - 12px" ],
"min_size": [ "100%", 39 ], // Grid item size is 29 + 10 for label, grid items overdraw by 1px
"controls": [
{
"loading_legacy_worlds_label@play.loading_label": {
"$message_binding_name": "#legacy_worlds_loading_display_message"
}
},
{
"padding": {
"type": "panel",
"size": [ "100%", 4 ]
}
},
{
"progress_loading_bars@play.progress_loading_bars": {
"$visible_binding_name": "#loading_legacy_worlds_grid_visible"
}
}
],
"bindings": [
{
"binding_name": "#loading_legacy_worlds_grid_visible",
"binding_name_override": "#visible"
}
]
}
},
{
"padding_2": {
"type": "panel",
"size": [ "100%", 4 ],
"bindings": [
{
"binding_name": "#legacy_worlds_visible",
"binding_name_override": "#visible"
}
]
}
},
{
"upgrade_legacy_worlds_label@play.world_list_label_with_color_panel": {
"$label_text": "playscreen.upgradeLegacyWorlds",
"$square_color": "$world_diskspace_editions_fill",
"variables": [
{
"requires": "$pre_release",
"$label_text": "playscreen.beta_legacy_worlds"
},
{
"requires": "($is_preview_app and (not $legacy_worlds_supports_migration))",
"$label_text": "playscreen.upgradeRetailWorlds"
}
],
"bindings": [
{
"binding_name": "#legacy_worlds_visible",
"binding_name_override": "#visible"
}
]
}
},
{
"legacy_world_item_grid@play.legacy_world_item_grid": {
"$tts_section_header": "playscreen.upgradeLegacyWorlds",
"variables": [
{
"requires": "$pre_release",
"$tts_section_header": "playscreen.beta_legacy_worlds"
},
{
"requires": "($is_preview_app and (not $legacy_worlds_supports_migration))",
"$label_text": "playscreen.upgradeRetailWorlds"
}
]
}
},
{
"beta_retail_legacy_padding": {
"type": "panel",
"size": [ "100%", 4 ],
"bindings": [
{
"binding_name": "#beta_retail_legacy_worlds_visible",
"binding_name_override": "#visible"
}
]
}
},
{
"beta_retail_legacy_worlds_label@play.world_list_label_panel": {
"$label_text": "playscreen.upgradeLegacyWorlds",
"variables": [
{
"requires": "($is_preview_app and (not $legacy_worlds_supports_migration))",
"$label_text": "playscreen.upgradeRetailWorlds"
}
],
"bindings": [
{
"binding_name": "#beta_retail_legacy_worlds_visible",
"binding_name_override": "#visible"
}
]
}
},
{
"beta_retail_legacy_grid@play.beta_retail_legacy_world_item_grid": {
"$tts_section_header": "playscreen.upgradeLegacyWorlds",
"variables": [
{
"requires": "($is_preview_app and (not $legacy_worlds_supports_migration))",
"$tts_section_header": "playscreen.upgradeRetailWorlds"
}
]
}
},
{
"pad_hack_panel": {
// Grid items are actually rendering 1 pixel more than their size
// this is to avoid double-borders
// however, this means we now need an extra pixel for the last grid item
// also add 2 pixels to make it look nice
"type": "panel",
"size": [ "100%", 3 ]
}
}
]
},
"no_local_worlds_switch_setting": {
"type": "panel",
"size": [ "100%", "100%c" ],
"ignored": "$education_edition",
"controls": [
{
"bg@play.label_background": {
"size": [ "100%", "100%c" ],
"controls": [
{
"no_local_worlds_switch_setting@play.label_content_template": {
"size": [ "100% - 6px", "100%c + 1px" ],
"offset": [ 0, 2 ],
"$label_offset": [ 1, 0 ],
"$label_content_label": "localWorld.no_local_worlds_present",
"$label_content_content": "play.storage_location_dropdown_panel",
"$information_panel_label_text": "localWorld.no_local_worlds_present",
"bindings": [
{
"binding_name": "#no_local_world_switch_visible",
"binding_name_override": "#visible"
}
]
}
},
{
"no_local_worlds_get_help@play.label_content_template": {
"size": [ "100% - 6px", "100%c + 1px" ],
"offset": [ 0, 2 ],
"$label_offset": [ 1, 0 ],
"$label_content_label": "#no_local_worlds_help_label",
"$label_content_label_binding_type": "global",
"$label_content_content": "play.no_local_worlds_launch_help",
"$information_panel_label_text": "#no_local_worlds_help_label",
"bindings": [
{
"binding_name": "#no_local_world_help_visible",
"binding_name_override": "#visible"
}
]
}
}
]
}
}
],
"bindings": [
{
"binding_name": "#no_local_worlds_switch_setting_visible",
"binding_name_override": "#visible"
}
]
},
"no_local_worlds_launch_help@common_buttons.light_text_button": {
"$pressed_button_name": "button.no_local_worlds_launch_help",
"$button_text": "#no_local_worlds_launch_help_button_label",
"$button_text_binding_type": "global",
"size": [ "100%", 29 ]
},
"storage_location_dropdown_panel": {
"type": "stack_panel",
"size": [ "100%", "100%c" ],
"controls": [
{
"padding1": {
"type": "panel",
"size": [ "100%", 4 ]
}
},
{
"storage_location_dropdown@play.storage_location_dropdown": {
}
}
]
},
"storage_location_dropdown@settings_common.option_dropdown": {
"$option_label": "options.filelocation.title",
"ignored": "($is_holographic and $is_reality_mode)",
"$dropdown_content": "play.switch_storage_type_content",
"$dropdown_area": "no_local_worlds_switch_setting",
"$dropdown_name": "switch_storage_type",
"$option_enabled_binding_name": "#switch_storage_type_enabled",
"$options_dropdown_toggle_label_binding": "#switch_storage_type_toggle_label",
"$dropdown_scroll_content_size": [ "100%", "200%" ]
},
"switch_storage_type_content@settings_common.option_radio_dropdown_group": {
"$radio_buttons": [
{
"storage_location_option_external@settings_common.radio_with_label": {
"$toggle_state_binding_name": "#storage_location_radio_external",
"$radio_label_text": "options.filelocation.external"
}
},
{
"storage_location_option_appdata@settings_common.radio_with_label": {
"$toggle_state_binding_name": "#storage_location_radio_package",
"$radio_label_text": "options.filelocation.appdata"
}
}
]
},
"bar_animation": {
"anim_type": "flip_book",
"initial_uv": [ 0, 0 ],
"frame_count": 10,
"frame_step": 64,
"fps": 10,
"reversible": true,
"easing": "linear"
},
"light_centered_loading_label": {
"type": "label",
"text": "$label_text",
"max_size": [ "100% - 4px", 20 ],
"shadow": false,
"color": "$generic_button_text_color",
"layer": 3,
"bindings": [
{
"binding_name": "$label_text",
"binding_type": "global"
}
]
},
"light_loading_label": {
"type": "label",
"text": "$label_text",
"max_size": [ "100% - 4px", 20 ],
"shadow": false,
"offset": [ 0, 6 ],
"anchor_from": "top_middle",
"anchor_to": "top_middle",
"color": "$dark_button_locked_text_color",
"layer": 3
},
"loading_label": {
"type": "label",
"text": "$message_binding_name",
"max_size": [ "100% - 4px", 40 ],
"shadow": false,
"offset": [ 0, 6 ],
"anchor_from": "top_middle",
"anchor_to": "top_middle",
"color": "$dark_button_default_text_color",
"layer": 3,
"$message_binding_name|default": "",
"bindings": [
{
"binding_name": "$message_binding_name",
"binding_type": "global"
}
]
},
"progress_loading_bars": {
"type": "image",
"layer": 3,
"texture": "textures/ui/loading_bar",
"offset": [ 0, 18 ],
"anchor_from": "top_middle",
"anchor_to": "top_middle",
"size": [ 64, 8 ],
"uv_size": [ 64, 8 ],
"uv": "@play.bar_animation",
"color": "$dark_button_secondary_default_text_color",
"$visible_binding_name|default": "#loading_bars_animation_visible",
"bindings": [
{
"binding_name": "$visible_binding_name",
"binding_name_override": "#visible"
}
]
},
"world_list_label_panel": {
"type": "panel",
"size": [ "100%", 10 ],
"controls": [
{
"list_label": {
"type": "label",
"color": "$main_header_text_color",
"size": [ "100%", 10 ],
"offset": [ 1, 0 ],
"text": "$label_text"
}
}
]
},
"world_list_label_with_color_panel": {
"type": "stack_panel",
"orientation": "horizontal",
"size": [ "100%", 10 ],
"controls": [
{
"colored_square_sizer": {
"type": "panel",
"size": [ "100%c", "100%" ],
"controls": [
{
"colored_square": {
"ignored": "(not $legacy_worlds_share_storage) and (not $legacy_worlds_supports_migration)",
"type": "image",
"texture": "textures/ui/progress_bar_simple",
"size": [ "100%y", "100% - 4px" ],
"color": "$square_color"
}
}
]
}
},
{
"padding": {
"ignored": "(not $legacy_worlds_share_storage) and (not $legacy_worlds_supports_migration)",
"type": "panel",
"size": [ 4, "100%" ]
}
},
{
"list_label": {
"type": "label",
"color": "$main_header_text_color",
"size": [ "fill", "100%" ],
"offset": [ 1, 0 ],
"$label_text|default": "b",
"text": "$label_text",
"$label_binding_type|default": "none",
"bindings": [
{
"binding_type": "$label_binding_type",
"binding_name": "$label_text",
"binding_name_override": "$label_text"
}
]
}
}
]
},
"empty_panel": {
"type": "panel",
"size": [ 0, 0 ]
},
"empty_grid": {
"type": "panel",
"size": [ "100%", 29 ]
},
"lan_servers_scroll_content@play.label_content_template": {
"$label_content_label": "networkWorld.lan_label",
"$label_content_content": "play.network_world_item_grid",
"$network_world_grid_item_template": "play.network_world_item",
"$network_world_icon": "play.lan_icon",
"$network_world_item_grid_dimension_binding": "#lan_network_world_item_grid_dimension",
"$collection_name": "lan_network_worlds",
"$tts_section_header": "$label_content_label",
"bindings": [
{
"binding_name": "#lan_grid_visible",
"binding_name_override": "#visible"
}
]
},
"friends_scroll_panel@play.common_scroll_pane": {
"$hide_xbox_live_icon": true,
"controls": [
{
"stack_panel": {
"type": "stack_panel",
"orientation": "vertical",
"size": [ "100%", "100%c - 1px" ],
"$add_friend_visible": true,
"$add_friend_not_visible": false,
"controls": [
{
"padding_0": {
"type": "panel",
"size": [ "100%", 2 ]
}
},
{
"friends_screen_warning@play.realm_warning_tip": {}
},
{
"header_button": {
"type": "stack_panel",
"layer": 1,
"size": [ "100%", "100%c + 4px" ],
"controls": [
{
"add_friend_and_invite_panel@play.add_friend_and_invite_panel": {
"anchor_from": "top_left",
"anchor_to": "top_left",
"ignored": "$add_friend_not_visible"
}
}
]
}
},
{
"friends_crossplatform_disabled_panel@play.crossplatform_disabled_panel": {
"ignored": "(not $is_realms_enabled)",
"$cross_platform_information_text": "crossPlatformToggle.crossPlatformDisabled.friends"
}
},
{
"friends_crossplatform_disable_spacer@play.crossplatform_disable_spacer": {
"ignored": "(not $is_realms_enabled)"
}
},
{
"joinable_realms_panel": {
"ignored": "$is_editor_mode_enabled",
"type": "stack_panel",
"size": [ "100%", "100%c" ],
"$tts_section_header": "playscreen.joinableRealms",
"bindings": [
{
"binding_name": "#joinable_realms_panel_visible",
"binding_name_override": "#visible"
}
],
"controls": [
{
"friends_realms_label@play.world_list_label_panel": {
"$label_text": "$tts_section_header",
"bindings": [
{
"binding_name": "#friends_realms_visible",
"binding_name_override": "#visible"
}
]
}
},
{
"sign_in_to_view_realms_button_friends@play.sign_in_to_view_realms_button_friends": {}
},
{
"friends_realms@play.realms_world_item_grid": {
"$grid_name": "#friend_realms_grid_dimension",
"$realms_worlds_collection_name": "friends_realms",
"$grid_item_layout": "play.realms_world_item"
}
},
{
"placeholder_loading_friends_panel@play.label_background": {
"size": [ "100%", "100%c - 12px" ],
"controls": [
{
"placeholder_loading_friends_realms": {
"type": "grid",
"size": [ "100%", "default" ],
"layer": 1,
"anchor_to": "top_left",
"anchor_from": "top_left",
"collection_name": "loading_friends_realms",
"grid_item_template": "play.empty_grid",
"grid_dimension_binding": "#loading_friends_realms_grid_dimension",
"bindings": [
{
"binding_name": "#loading_friends_realms_grid_dimension"
}
]
}
},
{
"loading_friends_realms_label": {
"type": "label",
"max_size": [ "100% - 4px", 40 ],
"text": "#realms_loading_display_message",
"shadow": false,
"offset": [ 0, 6 ],
"anchor_from": "top_middle",
"anchor_to": "top_middle",
"color": "$dark_button_default_text_color",
"layer": 3,
"bindings": [
{
"binding_name": "#realms_loading_display_message",
"binding_type": "global"
}
]
}
},
{
"padding": {
"type": "panel",
"size": [ "100%", 4 ]
}
},
{
"progress_loading_bars@play.progress_loading_bars": {}
}
],
"bindings": [
{
"binding_name": "#loading_friends_realms_grid_visible",
"binding_name_override": "#visible"
}
]
}
},
{
"get_offline_authcode_message_panel@play.label_background": {
"size": [ "100%", 40 ],
"controls": [
{
"content_stack": {
"type": "stack_panel",
"orientation": "horizontal",
"size": [ "100%", "100%" ],
"controls": [
{
"message_panel": {
"type": "panel",
"size": [ "100% - 15px", "100%" ],
"layer": 3,
"controls": [
{
"message_label": {
"type": "label",
"size": [ "100%", "default" ],
"text_alignment": "center",
"text": "networkWorld.addAsAuthorizedApp",
"shadow": false,
"color": "$store_white_text_color"
}
}
]
}
},
{
"image_panel": {
"type": "panel",
"size": [ "100%c", "100%" ],
"controls": [
{
"link_image": {
"type": "image",
"size": [ 8, 8 ],
"texture": "textures/ui/external_link"
}
}
]
}
}
]
}
},
{
"focus_border@common.button": {
"size": [ "100%", "100%sm" ],
"default_control": "",
"$pressed_button_name": "button.get_offline_authcode",
"tts_inherit_siblings": true,
"controls": [
{
"hover@common.focus_border_white": {}
},
{
"pressed@common.focus_border_white": {}
}
]
}
}
],
"bindings": [
{
"binding_name": "#get_offline_authcode_message_panel_visible",
"binding_name_override": "#visible"
}
]
}
},
{
"no_realms_grid@play.label_content_template": {
"$label_content_label": "playscreen.joinableRealms",
"$label_content_content": "play.information_panel",
"$information_panel_label_text": "playscreen.noFriendsRealms",
"bindings": [
{
"binding_name": "#no_friends_realms_visible",
"binding_name_override": "#visible"
}
]
}
},
{
"padding_1": {
"type": "panel",
"size": [ "100%", 3 ]
}
}
]
}
},
// Original Friends Grid
{
"friends_grid@play.label_content_template": {
"$label_content_label": "networkWorld.joinable_friends_label",
"$label_content_content": "play.network_world_item_grid",
"$network_world_grid_item_template": "play.network_world_item",
"$network_world_icon": "play.friends_server_icon",
"$hide_network_icon": "$hide_xbox_live_icon",
"$network_world_item_grid_dimension_binding": "#friends_network_world_item_grid_dimension",
"$collection_name": "friends_network_worlds",
"$header_icon_visible": true,
"$tts_section_header": "$label_content_label",
"variables": [
{
"requires": "$nx_os",
"$label_content_label": "networkWorld.joinable_nintendo_friends_label"
},
{
"requires": "$is_ps4",
"$label_content_label": "networkWorld.joinable_berwick_friends_label"
}
],
"bindings": [
{
"binding_name": "#friends_grid_visible",
"binding_name_override": "#visible"
}
]
}
},
{
"pad_hack_panel": {
// Grid items are actually rendering 1 pixel more than their size
// this is to avoid double-borders
// however, this means we now need an extra pixel for the last grid item
// also add 2 pixels to make it look nice
"type": "panel",
"size": [ "100%", 3 ],
"bindings": [
{
"binding_name": "#friends_grid_visible",
"binding_name_override": "#visible"
}
]
}
},
{
"no_friends_grid_message@play.label_content_template": {
"ignored": "$education_edition",
"$label_content_label": "networkWorld.joinable_friends_label",
"$label_content_content": "play.information_panel",
"$information_panel_label_text": "#no_friends_grid_message_text",
"$information_panel_label_text_binding_type": "global",
"$information_panel_label_text_binding_condition": "always_when_visible",
"$tts_section_header": "$label_content_label",
"variables": [
{
"requires": "$nx_os",
"$label_content_label": "networkWorld.joinable_nintendo_friends_label"
},
{
"requires": "$is_ps4",
"$label_content_label": "networkWorld.joinable_berwick_friends_label"
}
],
"bindings": [
{
"binding_name": "#no_friends_grid_message_text"
},
{
"binding_name": "#no_friends_grid_message_visible",
"binding_name_override": "#visible"
}
]
}
},
// Find Cross-Platform Friends button, only on Switch platform for now
{
"switch_find_cross_platform_friend_button@play.add_friend_button": {
"ignored": "(not $nx_os and not $is_ps4)",
"size": [ "100%", 30 ],
"$button_text": "networkWorld.find_cross_platform_friends",
"bindings": [
{
"binding_name": "#add_friend_button_visible",
"binding_name_override": "#visible",
"binding_type": "global"
},
{
"binding_name": "#cross_platform_enabled",
"binding_name_override": "#enabled"
}
]
}
},
{
"add_friend_button_padding": {
"ignored": "(not $nx_os and not $is_ps4)",
"type": "panel",
"size": [ 0, 2 ]
}
},
// Cross Platform Friends Grid
{
"cross_platform_friends_grid@play.label_content_template": {
"$label_content_label": "networkWorld.joinable_cross_platform_friends_label",
"$label_content_content": "play.network_world_item_grid",
"$network_world_grid_item_template": "play.network_world_item",
"$network_world_icon": "play.cross_platform_friends_server_icon",
"$hide_network_icon": "$hide_xbox_live_icon",
"$network_world_item_grid_dimension_binding": "#cross_platform_friends_network_world_item_grid_dimension",
"$collection_name": "cross_platform_friends_network_worlds",
"$header_icon_visible": true,
"ignored": "(not $nx_os and not $is_ps4)",
"$tts_section_header": "$label_content_label",
"bindings": [
{
"binding_name": "#cross_platform_friends_grid_visible",
"binding_name_override": "#visible"
}
]
}
},
{
"no_cross_platform_friends_grid_message@play.label_content_template": {
"$label_content_label": "networkWorld.joinable_cross_platform_friends_label",
"$label_content_content": "play.information_panel",
"$information_panel_label_text": "#no_cross_platform_friends_grid_message_text",
"$information_panel_label_text_binding_type": "global",
"$information_panel_label_text_binding_condition": "always_when_visible",
"ignored": "(not $nx_os and not $is_ps4)",
"$tts_section_header": "$label_content_label",
"bindings": [
{
"binding_name": "#no_cross_platform_friends_grid_message_text"
},
{
"binding_name": "#no_cross_platform_friends_grid_message_visible",
"binding_name_override": "#visible"
}
]
}
},
{
"general_no_multiplayer_grid_message@play.label_content_template": {
"$label_content_label": "networkWorld.joinable_friends_label",
"$label_content_content": "play.information_panel",
"$information_panel_label_text": "#general_no_multiplayer_grid_message_text",
"$information_panel_label_text_binding_type": "global",
"$information_panel_label_text_binding_condition": "always_when_visible",
"$tts_section_header": "$label_content_label",
"bindings": [
{
"binding_name": "#general_no_multiplayer_grid_message_text"
},
{
"binding_name": "#general_no_multiplayer_grid_message_visible",
"binding_name_override": "#visible"
}
]
}
},
{
"lan_grid@play.lan_servers_scroll_content": {}
},
{
"open_account_setting_button_gamecore@play.open_account_setting_button_gamecore": {}
}
]
}
}
]
},
"manually_added_servers_scrolling_content": {
"type": "stack_panel",
"ignored": "($ignore_add_servers or $ignore_3rd_party_servers)",
"size": [ "100%", "100%c" ],
"bindings": [
{
"binding_name": "#is_network_available_and_multiplayer_visible",
"binding_name_override": "#visible"
}
],
"$tts_section_header": "networkWorld.more_servers",
"controls": [
{
"padding_0": {
"type": "panel",
"size": [ "100%", 2 ]
}
},
{
"more_servers_label@common.minecraftTenLabel": {
"size": [ "default", "default" ],
"text": "thirdPartyWorld.Additional",
"color": "$dark_button_default_text_color",
"bindings": [
{
"binding_name": "#is_additional_server_label_visible",
"binding_name_override": "#visible"
}
]
}
},
{
"padding_1": {
"type": "panel",
"size": [ "100%", 2 ]
}
},
{
"more_servers_grid@play.more_servers_grid": {}
},
{
"padding_3": {
"type": "panel",
"size": [ "100%", 4 ],
"bindings": [
{
"binding_name": "#servers_grid_visible",
"binding_name_override": "#visible"
}
]
}
}
]
},
"servers_content_panel": {
"type": "stack_panel",
"orientation": "vertical",
"size": [ "100%", "100%c" ],
"$focus_id": "left_panel",
"controls": [
{
"new_ui_servers_switch_button_options_panel@play.new_ui_servers_switch_button_options_panel": {}
},
{
"featured_servers_panel": {
"type": "stack_panel",
"size": [ "100%", "100%c" ],
"ignored": "$ignore_3rd_party_servers",
"$third_party_featured_servers": "thirdPartyWorld.Featured",
"$focus_id": "featured_servers_panel",
"controls": [
{
"loading_featured_panel@play.label_background": {
"size": [ "100%", 40 ],
"controls": [
{
"loading_friends_realms_label@play.light_loading_label": {
"$label_text": "thirdPartyWorld.loadingFeaturedServers"
}
},
{
"loading_featured_servers_panel@play.loading_featured_servers_panel": {}
}
],
"bindings": [
{
"binding_name": "#loading_servers_progress_visible",
"binding_name_override": "#visible"
}
]
}
},
{
"padding_1": {
"type": "panel",
"size": [ "100%", 2 ]
}
},
{
"featured_servers_label@common.minecraftTenLabel": {
"size": [ "default", "default" ],
"text": "thirdPartyWorld.Featured",
"color": "$dark_button_default_text_color"
}
},
{
"padding_2": {
"type": "panel",
"size": [ "100%", 2 ]
}
},
{
"third_party_featured_grid@play.third_party_featured_server_grid": {
"$tts_section_header": "$third_party_featured_servers"
}
},
{
"padding_3": {
"type": "panel",
"size": [ "100%", 2 ]
}
}
],
"bindings": [
{
"binding_name": "#featured_servers_visible_and_available",
"binding_name_override": "#visible"
}
]
}
},
{
"more_servers_divider@common.horizontal_divider": {}
},
{
"more_servers_panel@play.manually_added_servers_scrolling_content": {}
}
]
},
"server_scroll_panel@play.common_scroll_pane": {
"$server_scroll_panel_content|default": "play.servers_content_panel",
"controls": [
{
"stack_panel": {
"type": "stack_panel",
"orientation": "vertical",
"size": [ "100%- 3px", "100%c + 1px" ],
"anchor_from": "top_right",
"anchor_to": "top_right",
"controls": [
{
"padding_0": {
"type": "panel",
"size": [ "100%", 3 ]
}
},
{
"servers_crossplatform_disabled_panel@play.crossplatform_disabled_panel": {
"$cross_platform_information_text": "crossPlatformToggle.crossPlatformDisabled.servers"
}
},
{
"no_featured_server_connection@play.information_panel": {
"ignored": "(not $is_ps4)",
"$information_label_font": "smooth",
"$information_panel_label_text": "#internet_connection_text",
"$information_panel_label_text_binding_type": "global",
"$information_panel_label_text_binding_condition": "always_when_visible",
"bindings": [
{
"binding_name": "(not #is_network_available)",
"binding_name_override": "#visible"
}
]
}
},
{
"more_servers_blocked_panel": {
"type": "stack_panel",
"size": [ "100%", "100%c" ],
"orientation": "vertical",
"visible": false,
"ignored": "($ignore_add_servers or $ignore_3rd_party_servers)",
"bindings": [
{
"binding_name": "#multiplayer_blocked_panel_visible",
"binding_name_override": "#visible"
}
],
"controls": [
{
"server_multiplayer_privileges_blocked@play.information_panel": {
"$information_label_font": "smooth",
"$information_panel_label_text": "#multiplayer_blocked_text",
"$information_panel_label_text_binding_type": "global",
"$information_panel_label_text_binding_condition": "always_when_visible",
"ignored": "($ignore_add_servers or $ignore_3rd_party_servers)"
}
},
{
"open_uri_button@play.open_account_setting_button": {}
}
]
}
},
{
"padding_1": {
"type": "panel",
"size": [ "100%", 3 ]
}
},
{
"server_content@$server_scroll_panel_content": {}
},
{
"add_server_button@play.add_server_toggle_button": {}
}
]
}
}
]
},
//---------------------------------------------------------------------------
// Cross Platform panels
//---------------------------------------------------------------------------
"crossplatform_disabled_panel@play.dark_label_background": {
"size": [ "100%", "100%c + 8px" ],
"bindings": [
{
"binding_name": "(not #cross_platform_enabled)",
"binding_name_override": "#visible"
}
],
"controls": [
{
"disable_text": {
"type": "label",
"color": "$dark_button_default_text_color",
"size": [ "100% - 8px", "default" ],
"layer": 1,
"shadow": false,
"font_type": "smooth",
"text": "$cross_platform_information_text"
}
}
]
},
"crossplatform_disable_spacer": {
"type": "panel",
"size": [ "100%", 5 ],
"bindings": [
{
"binding_name": "(not #cross_platform_enabled)",
"binding_name_override": "#visible"
}
]
},
//---------------------------------------------------------------------------
// Scroll panels
//---------------------------------------------------------------------------
"common_scrolling_panel@common.scrolling_panel": {
"layer": 1,
"$scrolling_pane_size": [ "100% - 1px", "100%" ],
"$scrolling_content": "$scrolling_content",
"$scroll_size": [ 5, "100% - 4px" ],
"$show_background": false,
"anchor_from": "top_right",
"anchor_to": "top_right"
},
//---------------------------------------------------------------------------
// Scroll content
//---------------------------------------------------------------------------
"common_content": {
"type": "input_panel",
"anchor_from": "top_left",
"anchor_to": "top_left",
"focus_container": true,
"use_last_focus": true,
"focus_navigation_mode_down": "contained",
"focus_navigation_mode_up": "contained",
"focus_navigation_mode_right": "contained",
"focus_navigation_mode_left": "contained"
},
"scrolling_offsets@play.common_scrolling_panel": {
"size": [ "100% - 4px", "100% - 4px" ],
"offset": [ 2, 2 ],
"anchor_from": "top_left",
"anchor_to": "top_left"
},
"worlds_scroll_content@play.common_content": {
"controls": [
{
"worlds_stack_panel": {
"type": "stack_panel",
"size": [ "100%", "100%" ],
"orientation": "vertical",
"controls": [
{
"scrolling_panel_sizer": {
"type": "panel",
"size": [ "100%", "fill" ],
"controls": [
{
"scrolling_panel@play.scrolling_offsets": {
"layer": 1,
"$scrolling_content": "play.worlds_scroll_panel"
}
}
]
}
},
{
"scrolling_panel_legacy_storage_sizer": {
"type": "panel",
"ignored": "(not $legacy_worlds_share_storage) and (not $legacy_worlds_supports_migration)",
"size": [ "100%", "20%" ],
"controls": [
{
"scrolling_panel@play.scrolling_offsets": {
"layer": 1,
"$scrolling_content": "play.legacy_world_content_status_area_panel"
}
}
]
}
}
]
}
}
]
},
"friends_scroll_content@play.common_content": {
"controls": [
{
"scrolling_panel@play.scrolling_offsets": {
"layer": 1,
"$scrolling_content": "play.friends_scroll_panel"
}
}
]
},
"show_servers_panel": {
"type": "stack_panel",
"orientation": "horizontal",
"size": [ "100%", "fill" ],
"bindings": [
{
"binding_name": "(not #feature_server_message_visible)",
"binding_name_override": "#visible"
}
],
"controls": [
{
"left_panel": {
"type": "panel",
"size": [ "50% - 1px", "100%" ],
"controls": [
{
"scrolling_panel@play.scrolling_offsets": {
"size": [ "100%", "100% - 4px" ],
"offset": [ 0, 2 ],
"layer": 1,
"$scrolling_content": "play.server_scroll_panel"
}
}
]
}
},
{
"divider_panel": {
"type": "panel",
"size": [ 3, "100%" ],
"controls": [
{
"main_divider": {
"type": "image",
"size": [ 3, "100% - 4px" ],
"tiled": "y",
"texture": "textures/ui/HowToPlayDivider",
"layer": 10
}
}
]
}
},
{
"right_panel@play.server_content_area": {}
}
]
},
"server_scroll_content@play.common_content": {
"size": [ "100% - 4px", "100% - 4px" ],
"controls": [
{
"severs_panel": {
"type": "stack_panel",
"orientation": "vertical",
"size": [ "100%", "100%" ],
"controls": [
{
"offset_panel": {
"type": "panel",
"size": [ "100% - 4px", "100%cm" ],
"controls": [
{
"servers_sunsetting_warning@play.realm_warning_tip": {
"size": [ "100% - 2px", "100%cm - 2px" ],
"offset": [ 2, 2 ]
}
}
],
"bindings": [
{
"binding_name": "#device_sunsetting",
"binding_name_override": "#visible"
}
]
}
},
{
"show_servers_panel@play.show_servers_panel": {}
}
]
}
},
{
"feature_server_message_panel": {
"type": "stack_panel",
"orientation": "vertical",
"size": [ "100% - 10px", "100%c" ],
"offset": [ 0, 2 ],
"anchor_to": "top_middle",
"anchor_from": "top_middle",
"bindings": [
{
"binding_name": "#feature_server_message_visible",
"binding_name_override": "#visible"
}
],
"controls": [
{
"featured_servers_label@common.minecraftTenLabel": {
"size": [ "default", "default" ],
"text": "thirdPartyWorld.Featured",
"color": "$dark_button_default_text_color"
}
},
{
"pad": {
"type": "panel",
"size": [ "100%", 2 ]
}
},
{
"feature_server_message_panel@play.dark_label_background": {
"size": [ "100%", "100%c" ],
"controls": [
{
"label_panel_layout": {
"type": "panel",
"size": [ "97%", "100%c + 8px" ],
"controls": [
{
"label": {
"type": "label",
"$information_label_font|default": "default",
"font_type": "smooth",
"color": "$dark_button_default_text_color",
"size": [ "100%", "default" ],
"layer": 1,
"shadow": false,
"text": "#feature_server_message_text",
"bindings": [
{
"binding_name": "#feature_server_message_text"
}
]
}
}
]
}
}
]
}
},
{
"open_account_setting_button_gamecore@play.open_account_setting_button_gamecore": {}
}
]
}
}
]
},
"server_content_area": {
"type": "panel",
"size": [ "50% - 4px", "100%" ],
"layer": 1,
"$focus_id": "right_side",
"bindings": [
{
"binding_name": "#is_network_available_and_multiplayer_visible",
"binding_name_override": "#visible"
}
],
"controls": [
{
"third_party_scrolling_panel@play.scrolling_offsets": {
"size": [ "100%", "100% - 4px" ],
"offset": [ 0, 2 ],
"layer": 1,
"$scrolling_content": "play.third_party_server_info_panel",
"bindings": [
{
"binding_name": "#is_third_party_server_selected",
"binding_name_override": "#visible"
}
]
}
},
{
"additional_server_scrolling_panel@play.scrolling_offsets": {
"size": [ "100%", "100% - 4px" ],
"offset": [ 0, 2 ],
"layer": 1,
"$scrolling_content": "play.additional_server_info_panel",
"bindings": [
{
"binding_name": "#is_additional_server_selected",
"binding_name_override": "#visible"
}
]
}
},
{
"add_server_pane@play.add_server_info_panel": {
"bindings": [
{
"binding_name": "#add_server_info_visible",
"binding_name_override": "#visible"
}
]
}
}
]
},
//---------------------------------------------------------------------------
// Toggle tab buttons
//---------------------------------------------------------------------------
"tab_front": {
"type": "image",
"texture": "textures/ui/TabTopFront"
},
"tab_front_middle": {
"type": "image",
"texture": "textures/ui/TabTopFront"
},
"tab_back": {
"type": "image",
"texture": "textures/ui/TabTopBack"
},
"X_tab_back": {
"type": "image",
"texture": "textures/ui/XTab"
},
"tab_text_stack_panel": {
"type": "stack_panel",
"orientation": "vertical",
"size": [ "fill", "100%" ],
"controls": [
{
"padding@common.empty_panel": {
"size": [ "100%", 1 ]
}
},
{
"text_section": {
"type": "panel",
"size": [ "100%", "100%c" ],
"controls": [
{
"text@play.common_button_text": {
"layer": 3,
"text": "$tab_text_name",
"anchor_from": "left_middle",
"anchor_to": "left_middle",
"offset": [ -1, 0 ],
"color": "$text_color"
}
}
]
}
},
{
"count_section": {
"type": "panel",
"size": [ "100%c", "100%c" ],
"variables": [
{
"requires": "$is_checked_state",
"$count_background_image": "textures/ui/numberBGFront",
"$count_text_color": "$secondary_text_color"
},
{
"requires": "($is_hover_state or not $is_checked_state)",
"$count_background_image": "textures/ui/numberBGBack",
"$count_text_color": "$text_color"
}
],
"controls": [
{
"count_background_image": {
"type": "image",
"texture": "$count_background_image",
"size": [ "100%c + 3px", "100%c" ],
"offset": [ -1, -1 ],
"anchor_from": "bottom_right",
"anchor_to": "bottom_right",
"layer": 3,
"controls": [
{
"count@common_button_text": {
"layer": 1,
"offset": [ 1, 1 ],
"text": "$count_text_name",
"color": "$count_text_color",
"bindings": [
{
"binding_name": "$count_text_name"
}
]
}
}
]
}
}
]
}
}
]
},
"common_navigation_tab_content": {
"type": "stack_panel",
"size": [ "100%-3px", "100% - 4px" ],
"orientation": "horizontal",
"controls": [
{
"padding_0": {
"type": "panel",
"size": [ 2, "100%" ]
}
},
{
"icon_section": {
"type": "panel",
"size": [ "100%c", "100%" ],
"controls": [
{
"icon@$tab_icon": {
"layer": 2
}
}
]
}
},
{
"padding_1": {
"type": "panel",
"size": [ 2, "100%" ]
}
},
{
"count_text@play.tab_text_stack_panel": {}
}
]
},
"friends_navigation_tab_content": {
"type": "stack_panel",
"orientation": "horizontal",
"size": [ "100%-3px", "100% - 4px" ],
"controls": [
{
"padding": {
"type": "panel",
"size": [ 2, "100%" ]
}
},
{
"icon_section": {
"type": "panel",
"size": [ "100%c", "100%" ],
"bindings": [
{
"binding_name": "$visibility_binding_override_name",
"binding_name_override": "#visible"
}
],
"controls": [
{
"icon@$tab_icon": {
"layer": 2,
"offset": "@play.anim_icon_wait_B"
}
}
]
}
},
{
"icon_section_2": {
"type": "panel",
"size": [ "100%c", "100%" ],
"bindings": [
{
"binding_name": "$visibility_binding_override_name",
"binding_name_override": "#visible"
}
],
"controls": [
{
"icon@$tab_icon_2": {
"layer": 3,
"offset": "@play.anim_icon_wait_A"
}
}
]
}
},
{
"icon_section_nobounce": {
"type": "panel",
"size": [ "100%c", "100%" ],
"bindings": [
{
"binding_name": "$visibility_binding_override_name_nobounce",
"binding_name_override": "#visible"
}
],
"controls": [
{
"icon@$tab_icon_nobounce": {
"layer": 2,
"offset": [ 0, -3 ]
}
}
]
}
},
{
"icon_section_nobounce_2": {
"type": "panel",
"size": [ "100%c", "100%" ],
"bindings": [
{
"binding_name": "$visibility_binding_override_name_nobounce",
"binding_name_override": "#visible"
}
],
"controls": [
{
"icon@$tab_icon_nobounce_2": {
"layer": 3,
"offset": [ -5, 2 ]
}
}
]
}
},
{
"icon_section_notification": {
"type": "panel",
"size": [ "100%c", "100%" ],
"bindings": [
{
"binding_name": "$visibility_binding_override_name_notification",
"binding_name_override": "#visible"
}
],
"controls": [
{
"icon1@play.invite_icon": {
"layer": 3,
"offset": [ -0.5, -1 ],
"bindings": [
{
"binding_name": "(not #inbox_enabled)",
"binding_name_override": "#visible"
}
]
}
},
{
"icon2@play.bell_icon": {
"layer": 3,
"offset": [ -0.5, -1 ],
"bindings": [
{
"binding_name": "#inbox_enabled",
"binding_name_override": "#visible"
}
]
}
}
]
}
},
{
"count_text@play.tab_text_stack_panel": {}
}
]
},
//---------------------------------------------------------------------------
// Main navigation tabs
//---------------------------------------------------------------------------
"top_tab@common_tabs.tab_top": {
"$toggle_tts_enabled_binding_type": "global",
"$radio_toggle_group": true,
"$toggle_name": "navigation_tab",
"$toggle_group_default_selected": "$default_tab",
"anchor_to": "top_left",
"anchor_from": "top_left",
"$toggle_tts_type_priority": 1001,
"$toggle_tts_toggle_on_text": "",
"$toggle_tts_toggle_off_text": "",
"$toggle_tts_index_priority": 1002
},
"world_navigation_tab@play.top_tab": {
"$is_left_most_tab": true,
"$tab_view_binding_name": "world_navigation_tab_toggle",
"$tab_icon": "worlds_icon",
"$count_text_name": "#world_item_count",
"$tab_text_name": "selectWorld.tab.worlds",
"$toggle_group_forced_index": 0,
"$tab_content": "play.common_navigation_tab_content",
"variables": [
{
"requires": "$is_editor_mode_enabled",
"$tab_text_name": "playscreen.editor.worlds"
}
]
},
"friends_navigation_tab@play.top_tab": {
"$tab_view_binding_name": "friends_navigation_tab_toggle",
"$tab_icon": "friends_icon_2",
"$tab_icon_2": "friends_icon_1",
"$tab_icon_nobounce": "friends_icon_2",
"$tab_icon_nobounce_2": "friends_icon_1",
"$visibility_binding_override_name": "#friends_tab_show_bouncing",
"$visibility_binding_override_name_nobounce": "#friends_tab_show_not_bouncing",
"$visibility_binding_override_name_notification": "#friends_tab_show_invites",
"$count_text_name": "#friend_world_item_count",
"$tab_text_name": "selectWorld.tab.friends",
"$toggle_group_forced_index": 1,
"$tab_content": "play.friends_navigation_tab_content"
},
"server_navigation_tab@play.top_tab": {
"$tab_view_binding_name": "server_navigation_tab_toggle",
"$tab_icon": "server_tab_icon",
"$count_text_name": "#server_world_item_count",
"$tab_text_name": "selectWorld.tab.thirdParty",
"$toggle_group_forced_index": 2,
"$tab_content": "play.common_navigation_tab_content"
},
"close_navigation_tab": {
"type": "panel",
"controls": [
{
"background@play.X_tab_back": {}
},
{
"x_image@common.light_close_button": {
"layer": 1,
"offset": [ 0, -1 ],
"anchor_from": "center",
"anchor_to": "center",
"focus_identifier": "close_button",
"focus_change_left": "FOCUS_OVERRIDE_STOP",
"focus_change_up": "FOCUS_OVERRIDE_STOP",
"focus_change_right": "FOCUS_OVERRIDE_STOP",
"bindings": [
{
"binding_name": "(not #exit_button_visible)",
"binding_name_override": "#visible"
}
]
}
}
]
},
//---------------------------------------------------------------------------
// Content tabs panel
//---------------------------------------------------------------------------
"common_tab_content_panel": {
"type": "panel",
"controls": [
{
"background@common.common_panel": {
"$dialog_background": "dialog_background_hollow_4",
"$show_close_button": false
}
},
{
"content@$scroll_tab_content": {
"layer": 2,
"anchor_from": "top_left",
"anchor_to": "top_left",
// magic offset to make the scroll clipping perfect
"size": [ "100%-12px", "100%-12px" ],
"offset": [ 6, 6 ],
"ttsSectionContainer": true
}
}
],
"bindings": [
{
"binding_type": "view",
"source_control_name": "$visible_bind_toggle_source_control",
"source_property_name": "#toggle_state",
"target_property_name": "#visible"
}
]
},
"worlds_tab_content_panel@play.common_tab_content_panel": {
"$visible_bind_toggle_source_control": "world_navigation_tab_toggle",
"$scroll_tab_content": "play.worlds_scroll_content"
},
"friends_tab_content_panel@play.common_tab_content_panel": {
"$visible_bind_toggle_source_control": "friends_navigation_tab_toggle",
"$scroll_tab_content": "play.friends_scroll_content"
},
"server_tab_content_panel@play.common_tab_content_panel": {
"$visible_bind_toggle_source_control": "server_navigation_tab_toggle",
"$scroll_tab_content": "play.server_scroll_content"
},
//---------------------------------------------------------------------------
// Content layout panels
//---------------------------------------------------------------------------
"common_tab_content_panel_type": {
"type": "input_panel",
"anchor_to": "bottom_middle",
"anchor_from": "bottom_middle",
"size": [ "100%", "100%-26px" ],
"ttsSectionContainer": true
},
"edu_tab_content_panel_layout@play.common_tab_content_panel_type": {
"controls": [
{ "worlds_tab_content@play.worlds_tab_content_panel": {} },
{ "friends_tab_content@play.friends_tab_content_panel": {} },
{ "server_tab_content_panel@play.server_tab_content_panel": {} }
]
},
"trial_tab_content_panel_layout@play.common_tab_content_panel_type": {
"controls": [
{ "worlds_tab_content@play.worlds_tab_content_panel": {} }
]
},
"default_tab_content_panel_layout@play.common_tab_content_panel_type": {
"controls": [
{ "worlds_tab_content@play.worlds_tab_content_panel": {} },
{ "friends_tab_content@play.friends_tab_content_panel": {} },
{ "server_tab_content_panel@play.server_tab_content_panel": {} }
]
},
//---------------------------------------------------------------------------
// Tabs layout panels
//---------------------------------------------------------------------------
"tab_navigation_panel_layout": {
"type": "stack_panel",
"orientation": "horizontal",
"anchor_to": "top_middle",
"anchor_from": "top_middle",
"size": [ "100%", 30 ],
"controls": [
{
"navigation_tabs": {
"type": "panel",
"size": [ "fill", "100%" ],
"controls": [
{
"content@$navigation_tab": {
"anchor_to": "top_left",
"anchor_from": "top_left"
}
}
]
}
},
{
"close_navigation_tab": {
"size": [ "100%y", "100%" ],
"type": "panel",
"$end_tab_control|default": "play.close_navigation_tab",
"variables": [
{
"requires": "$is_editor_mode_enabled",
"$end_tab_control": "play.editor_settings_menu_button"
}
],
"controls": [
{ "close_button@$end_tab_control": {} }
]
}
}
]
},
"common_tab_navigation_panel_layout": {
"type": "stack_panel",
"orientation": "horizontal",
"size": [ "100% + 2px", "100%" ],
"ttsSectionContainer": true
},
"edu_tab_navigation_panel_layout@play.common_tab_navigation_panel_layout": {
"controls": [
{
"world_navigation_tab@play.world_navigation_tab": {
"size": [ "33%", "100%" ]
}
},
{
"friends_navigation_tab@play.friends_navigation_tab": {
"size": [ "33%", "100%" ]
}
},
{
"server_navigation_tab@play.server_navigation_tab": {
"size": [ "fill", "100%" ]
}
}
]
},
"trial_tab_navigation_panel_layout@play.common_tab_navigation_panel_layout": {
"controls": [
{
"world_navigation_tab@play.world_navigation_tab": {
"size": [ "100%", "100%" ]
}
}
]
},
"default_tab_navigation_panel_layout@play.common_tab_navigation_panel_layout": {
"controls": [
{
"world_navigation_tab@play.world_navigation_tab": {
"size": [ "33%", "100%" ]
}
},
{
"friends_navigation_tab@play.friends_navigation_tab": {
"size": [ "33%", "100%" ]
}
},
{
"server_navigation_tab@play.server_navigation_tab": {
"size": [ "fill", "100%" ]
}
}
]
},
//---------------------------------------------------------------------------
// Trial, EDU and Default
//---------------------------------------------------------------------------
"common_play_screen_panel": {
"type": "panel",
"size": "$play_screen_size"
},
"play_screen_panel@play.common_play_screen_panel": {
// If in edu quickplay is above create new so adjust focus override accordingly
"variables": [
{
"requires": "$education_edition",
"$create_new_row_focus_override_up": "quick_play_button"
}
],
"controls": [
{
"tab_navigation_panel@play.tab_navigation_panel_layout": {
"layer": 1
}
},
{
"tab_content_panel@$tab_content_panel": {
"layer": 2
}
},
{
"gamepad_helper_left_bumper@common.gamepad_helper_left_bumper": {
"offset": [ -1, 0 ],
"anchor_from": "top_left",
"anchor_to": "top_right",
"$hide_description": true,
"bindings": [
{
"binding_name": "#bumper_tooltips_visible",
"binding_name_override": "#visible"
}
]
}
},
{
"gamepad_helper_right_bumper@common.gamepad_helper_right_bumper": {
"offset": [ 1, 0 ],
"anchor_from": "top_right",
"anchor_to": "top_left",
"$hide_description": true,
"bindings": [
{
"binding_name": "#bumper_tooltips_visible",
"binding_name_override": "#visible"
}
]
}
},
{
"keyboard_helper_left_bracket@common.keyboard_left_trigger": {
"offset": [ -1, 0 ],
"anchor_from": "top_left",
"anchor_to": "top_right",
"$hide_description": true,
"$text_color": [ 1, 1, 1 ]
}
},
{
"keyboard_helper_right_bracket@common.keyboard_right_trigger": {
"offset": [ 1, 0 ],
"anchor_from": "top_right",
"anchor_to": "top_left",
"$hide_description": true,
"$text_color": [ 1, 1, 1 ]
}
}
]
},
"default_play_screen_panel@play.play_screen_panel": {
"$navigation_tab": "play.default_tab_navigation_panel_layout",
"$tab_content_panel": "play.default_tab_content_panel_layout"
},
"trial_play_screen_panel@play.play_screen_panel": {
"$navigation_tab": "play.trial_tab_navigation_panel_layout",
"$tab_content_panel": "play.trial_tab_content_panel_layout"
},
"edu_play_screen_panel@play.play_screen_panel": {
"$navigation_tab": "play.edu_tab_navigation_panel_layout",
"$tab_content_panel": "play.edu_tab_content_panel_layout"
},
//---------------------------------------------------------------------------
// Screen
//---------------------------------------------------------------------------
"play_screen@common.base_screen": {
"button_mappings": [
{
"from_button_id": "button.menu_cancel",
"to_button_id": "button.menu_exit",
"mapping_type": "global"
},
{
"from_button_id": "button.menu_tab_left",
"to_button_id": "button.menu_tab_left",
"mapping_type": "global",
"scope": "view"
},
{
"from_button_id": "button.menu_tab_right",
"to_button_id": "button.menu_tab_right",
"mapping_type": "global",
"scope": "view"
}
],
"$screen_content": "play.play_screen_content",
"$world_picker_screen": false
},
"play_screen_content": {
"type": "panel",
"variables": [
{
"requires": "(not $education_edition and not $is_editor_mode_enabled and not $is_editor_playtest_roundtrip)",
"$main_panel": "play.default_play_screen_panel"
},
{
"requires": "($education_edition and not $is_editor_mode_enabled and not $is_editor_playtest_roundtrip)",
"$main_panel": "play.edu_play_screen_panel"
},
{
"requires": "((not $education_edition and $is_editor_mode_enabled) or $is_editor_playtest_roundtrip)",
"$main_panel": "play.editor_play_screen_panel"
}
],
"controls": [
{
"main_control@$main_panel": {}
},
{
"editor_text_panel@play.editor_text_panel": {
"visible": "$is_editor_mode_enabled"
}
},
{
"popup_dialog_factory": {
"type": "factory",
"control_ids": {
"join_by_code": "@play.popup_dialog_join_by_code",
"high_ping_warning": "@play.popup_dialog_high_ping"
}
}
}
]
},
//--------------------------------------------------------------------------------
// Join By Code Dialog Popup
//--------------------------------------------------------------------------------
"popup_dialog_join_by_code@popup_dialog.modal_input_panel": {
"size": [ "100%", "100%" ],
"controls": [
{
"join_by_code_popup_background@play.join_by_code_popup_background": {
"layer": 0
}
},
{
"join_by_code_popup_content@play.join_by_code_popup_content": {
"layer": 1
}
},
{
"gamepad_helpers@common.gamepad_helpers_a_and_b": {
"layer": 1,
"anchor_from": "bottom_middle",
"anchor_to": "bottom_middle",
"offset": [ 0, "31px" ]
}
}
]
},
"join_by_code_popup_background": {
"type": "image",
"texture": "textures/ui/control",
"size": [ "100%", "100%" ],
"alpha": 0.6,
"anchor_from": "top_left",
"anchor_to": "top_left"
},
"join_by_code_popup_content": {
"type": "panel",
"size": [ 200, 90 ],
"controls": [
{ "popup_dialog_bg@realms_common.popup_dialog_bg": {} },
{
"popup_stack_panel": {
"type": "stack_panel",
"orientation": "vertical",
"size": [ "100%", "100%" ],
"controls": [
{ "join_by_code_popup_dialog_header@play.join_by_code_popup_dialog_header": {} },
{
"spacing_1": {
"type": "panel",
"size": [ "100%", "1px" ]
}
},
{ "join_by_code_popup_dialog_upper_body@play.join_by_code_popup_dialog_upper_body": {} },
{
"spacing_2": {
"type": "panel",
"size": [ "100%", "10px" ]
}
},
{ "join_by_code_popup_dialog_lower_body@play.join_by_code_popup_dialog_lower_body": {} }
]
}
}
]
},
"join_by_code_popup_dialog_header": {
"type": "panel",
"size": [ "100%", "21%" ],
"anchor_from": "top_left",
"anchor_to": "top_left",
"layer": 1,
"controls": [
{ "join_by_code_popup_header_text@play.join_by_code_popup_header_text": {} },
{
"close_button@common.close_button": {
"anchor_from": "right_middle",
"anchor_to": "right_middle",
"offset": [ -1, 2 ],
"button_mappings": [
{
"from_button_id": "button.menu_select",
"to_button_id": "button.menu_network_join_by_code_close",
"mapping_type": "pressed"
},
{
"from_button_id": "button.menu_ok",
"to_button_id": "button.menu_network_join_by_code_close",
"mapping_type": "focused"
}
]
}
}
]
},
"join_by_code_popup_header_text": {
"type": "label",
"text": "networkWorld.joinByCode",
"font_size": "normal",
"color": "$title_text_color",
"anchor_from": "center",
"anchor_to": "center"
},
"join_by_code_popup_dialog_upper_body": {
"type": "stack_panel",
"size": [ "100%", "22%" ],
"anchor_from": "top_left",
"anchor_to": "top_left",
"layer": 1,
"orientation": "horizontal",
"controls": [
{
"margin1": {
"type": "panel",
"size": [ "3px", 0 ]
}
},
{
"join_by_code_popup_code_text_field@play.join_by_code_popup_code_text_field": {
"size": [ "65%", "100%" ],
"anchor_from": "top_left",
"anchor_to": "top_left"
}
},
{
"spacing": {
"type": "panel",
"size": [ 1, 0 ]
}
},
{
"join_by_code_popup_join_button@play.join_by_code_popup_join_button": {
"size": [ "fill", "100%" ],
"anchor_from": "top_left",
"anchor_to": "top_left"
}
},
{
"margin2": {
"type": "panel",
"size": [ "3px", 0 ]
}
}
]
},
"join_by_code_popup_code_text_field@common.text_edit_box": {
"$text_box_name": "#join_by_code_text_edit",
"max_length": 15,
"$place_holder_text": "networkWorld.realmsHashPlaceholder"
},
"join_by_code_popup_join_button@common_buttons.light_text_button": {
"layer": 1,
"$button_text": "networkWorld.join",
"$pressed_button_name": "button.menu_network_join_by_code_popup_join",
"button_mappings": [
{
"from_button_id": "button.menu_select",
"to_button_id": "$pressed_button_name",
"mapping_type": "pressed"
},
{
"from_button_id": "button.menu_ok",
"to_button_id": "$pressed_button_name",
"mapping_type": "focused"
}
]
},
"join_by_code_popup_help_text": {
"type": "label",
"size": [ "95%", "100%" ],
"shadow": false,
"text": "networkWold.joinByCodeHelpText",
"color": "$light_glyph_default_color",
"anchor_from": "center",
"anchor_to": "center",
"text_alignment": "center"
},
"lower_body_default_content": {
"type": "panel",
"size": [ "100%", "100%" ],
"anchor_from": "top_middle",
"anchor_to": "top_middle",
"controls": [
{
"info_text@play.join_by_code_popup_help_text": {
}
}
]
},
"join_by_code_popup_dialog_lower_body": {
"type": "panel",
"size": [ "100%", "fill" ],
"anchor_from": "top_left",
"anchor_to": "top_left",
"layer": 1,
"controls": [
{
"default@play.lower_body_default_content": {}
}
]
},
"open_account_setting_button@common_buttons.hyperlink_button": {
"$button_text": "permissions.open.account.help.button",
"property_bag": {
"#hyperlink": "https://aka.ms/MCMultiplayerHelp"
},
"size": [ "100%", 30 ],
"ignored": "$is_holographic",
"visible": false,
"bindings": [
{
"binding_name": "#open_uri_button_visible",
"binding_name_override": "#visible"
}
]
},
//---------------------------------------------------------------------------
// High Ping Warning Dialog Popup
//---------------------------------------------------------------------------
"popup_dialog_high_ping@popup_dialog.modal_input_panel": {
"size": [ "100%", "100%" ],
"controls": [
{
"high_ping_popup_background@play.join_by_code_popup_background": {
"layer": 0
}
},
{
"high_ping_popup_content@play.popup_two_buttons": {
"layer": 1
}
},
{
"gamepad_helpers@common.gamepad_helpers_a_and_b": {
"layer": 1,
"anchor_from": "bottom_middle",
"anchor_to": "bottom_middle",
"offset": [ 0, "31px" ]
}
}
]
},
"popup_two_buttons": {
"type": "panel",
"size": [ 250, 170 ],
"anchor_from": "center",
"anchor_to": "center",
"$text_name": "networkWorld.highPingWarning.title",
"$child_control": "play.high_ping_popup_content_stack_panel",
"controls": [
{
"common_panel@common.common_panel": { "$dialog_background": "dialog_background_hollow_2" }
},
{
"title_label@common_dialogs.title_label": {}
},
{
"panel_indent": {
"type": "panel",
// Fit to the hole in dialog_background_hollow_1 exactly
"size": [ "100% - 16px", "100% - 99px" ],
"offset": [ 0, 35 ],
"anchor_from": "top_middle",
"anchor_to": "top_middle",
"controls": [
{ "inside_header_panel@$child_control": {} }
]
}
},
{
"button_panel": {
"type": "stack_panel",
"orientation": "horizontal",
"size": [ "100% - 14px", 30 ],
"anchor_from": "bottom_middle",
"anchor_to": "bottom_middle",
"offset": [ 0, -7 ],
"controls": [
{
"left_button_panel@play.high_ping_popup_join_button": {
"size": [ "fill", "100%" ]
}
},
{
"pad": {
"type": "panel",
"size": [ 6, "100%" ]
}
},
{
"right_button_panel@play.high_ping_popup_cancel_button": {
"size": [ "fill", "100%" ]
}
}
]
}
}
]
},
"high_ping_popup_content_stack_panel": {
"type": "stack_panel",
"orientation": "vertical",
"size": [ "100% - 8px", "100%c" ],
"layer": 5,
"controls": [
{
"pad_0": {
"type": "panel",
"size": [ "100%", 10 ]
}
},
{
"ping_images_panel": {
"type": "panel",
"size": [ "100%", "100%c" ],
"controls": [
{
"ping_images_stack_panel": {
"type": "stack_panel",
"orientation": "horizontal",
"size": [ "100%c", 20 ],
"controls": [
{
"medium_connection": {
"type": "image",
"size": [ 20, "100%" ],
"texture": "textures/ui/Ping_Yellow_Dark"
}
},
{
"pad": {
"type": "panel",
"size": [ 30, "100%" ]
}
},
{
"low_connection": {
"type": "image",
"size": [ 20, "100%" ],
"texture": "textures/ui/Ping_Red_Dark"
}
}
]
}
}
]
}
},
{
"pad_1": {
"type": "panel",
"size": [ "100%", 10 ]
}
},
{
"text_line_1": {
"type": "label",
"size": [ "100%", "default" ],
"font_type": "smooth",
"text": "networkWorld.highPingWarning.line1",
"color": "$main_header_text_color"
}
},
{
"pad_2": {
"type": "panel",
"size": [ "100%", 10 ]
}
},
{
"text_line_2": {
"type": "label",
"size": [ "100%", "default" ],
"font_type": "smooth",
"text": "networkWorld.highPingWarning.line2",
"color": "$main_header_text_color"
}
},
{
"pad_3": {
"type": "panel",
"size": [ "100%", 10 ]
}
}
]
},
"high_ping_popup_join_button@common_buttons.light_text_button": {
"$pressed_button_name": "button.join_server_anyway",
"button_mappings": [
{
"from_button_id": "button.menu_select",
"to_button_id": "$pressed_button_name",
"mapping_type": "pressed"
},
{
"from_button_id": "button.menu_ok",
"to_button_id": "$pressed_button_name",
"mapping_type": "focused"
}
],
"$button_text": "networkWorld.join"
},
"high_ping_popup_cancel_button@common_buttons.light_text_button": {
"$pressed_button_name": "button.cancel_join_server",
"button_mappings": [
{
"from_button_id": "button.menu_select",
"to_button_id": "$pressed_button_name",
"mapping_type": "pressed"
},
{
"from_button_id": "button.menu_ok",
"to_button_id": "$pressed_button_name",
"mapping_type": "focused"
}
],
"$button_text": "gui.cancel"
},
//---------------------------------------------------------------------------
// Editor Mode
//---------------------------------------------------------------------------
"copyright": {
"type": "label",
"color": "$main_header_text_color",
"layer": 2,
"text": "menu.copyright",
"size": [ "default", 10 ],
"max_size": [ "100%", "100%" ],
"anchor_from": "top_left",
"anchor_to": "top_left"
},
"development_version": {
"type": "label",
"color": "$main_header_text_color",
"layer": 2,
"text": "#development_version",
"size": [ "default", 10 ],
"max_size": [ "100%", "100%" ],
"anchor_from": "center",
"anchor_to": "center",
"bindings": [
{
"binding_name": "#development_version"
}
]
},
"version": {
"type": "label",
"color": "$main_header_text_color",
"layer": 2,
"text": "#version",
"size": [ "default", 10 ],
"max_size": [ "100%", "100%" ],
"anchor_from": "top_right",
"anchor_to": "top_right",
"bindings": [
{
"binding_name": "#version"
}
]
},
"editor_text_panel": {
"type": "panel",
"size": [ "100%-2px", 10 ],
"offset": [ 0, -1 ],
"anchor_from": "bottom_middle",
"anchor_to": "bottom_middle",
"controls": [
{
"copyright@play.copyright": {}
},
{
"development_version@play.development_version": {
"ignored": "$is_publish"
}
},
{
"version@play.version": {}
}
]
},
"editor_settings_image_content": {
"type": "image",
"size": [ 14, 14 ],
"layer": 2,
"texture": "textures/ui/icon_setting",
"color": "white"
},
"editor_settings_menu_button@common_buttons.light_content_button": {
"layer": 1,
"offset": [ 0, -3 ],
"size": [ 24, 24 ],
"anchor_from": "center",
"anchor_to": "center",
"$pressed_button_name": "button.editor_settings",
"$button_content": "play.editor_settings_image_content",
"focus_identifier": "close_button",
"focus_change_left": "FOCUS_OVERRIDE_STOP",
"focus_change_up": "FOCUS_OVERRIDE_STOP",
"focus_change_right": "FOCUS_OVERRIDE_STOP"
},
"editor_server_content_panel": {
"type": "stack_panel",
"orientation": "vertical",
"size": [ "100%", "100%c" ],
"$focus_id": "left_panel",
"controls": [
{
"more_servers_panel@play.manually_added_servers_scrolling_content": {}
}
]
},
"editor_tab_content_panel_layout@play.common_tab_content_panel_type": {
"$server_scroll_panel_content": "play.editor_server_content_panel",
"controls": [
{ "worlds_tab_content@play.worlds_tab_content_panel": {} },
{ "friends_tab_content@play.friends_tab_content_panel": {} },
{ "server_tab_content_panel@play.server_tab_content_panel": {} }
]
},
"editor_play_screen_panel@play.play_screen_panel": {
"$navigation_tab": "play.default_tab_navigation_panel_layout",
"$tab_content_panel": "play.editor_tab_content_panel_layout",
"visible": "(not $is_editor_playtest_roundtrip)"
}
}