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/global_pause_screen.json
Mike Ammerlaan d7cb43ab0a v1.20.40.1
2023-10-24 08:57:33 -07:00

64 lines
1.5 KiB
JSON

/********************************************************
+* (c) Mojang. All rights reserved *
+* (c) Microsoft. All rights reserved. *
+*********************************************************/
{
"namespace": "globalpause",
"message": {
"type": "label",
"color": "$body_text_color",
"anchor_to": "center",
"anchor_from": "center",
"layer": 2,
"shadow": false,
"text": "globalPauseScreen.message"
},
"quit_button@common_buttons.light_text_form_fitting_button": {
"$pressed_button_name": "button.menu_quit",
"$button_text": "globalPauseScreen.quit",
"layer": 2,
"offset": [ 0, "10%" ],
"variables": [
{
"requires": "$is_editor_playtest_roundtrip",
"$button_text": "pauseScreen.editor.quit"
}
]
},
"globalpause_screen@common.base_screen": {
"$screen_content": "globalpause.pause_screen_content"
},
"pause_screen_content": {
"type": "panel",
"$fill_alpha|default": 0.8,
"variables": [
{
"requires": "$is_holographic",
"$fill_alpha": 1.0
}
],
"controls": [
{
"transparentFill": {
"type": "image",
"texture": "textures/ui/control",
"layer": -1,
"size": [ "100%", "100%" ],
"alpha": "$fill_alpha"
}
},
{
"message@globalpause.message": {}
},
{
"quit_button@globalpause.quit_button": {}
}
]
}
}