1
0
mirror of https://github.com/Mojang/bedrock-samples.git synced 2024-11-27 03:28:56 +00:00
bedrock-samples/resource_pack/ui/persona_screen.json
Mike Ammerlaan 1440438305 v1.21.30.3
2024-09-17 09:13:33 -07:00

7445 lines
239 KiB
JSON

{
"namespace": "persona",
"horizontal_1_padding": {
"type": "panel",
"size": [ 1, "100%" ]
},
"horizontal_2_padding": {
"type": "panel",
"size": [ 2, "100%" ]
},
"horizontal_3_padding": {
"type": "panel",
"size": [ 3, 0 ]
},
"horizontal_4_padding": {
"type": "panel",
"size": [ 4, "100%" ]
},
"horizontal_6_padding": {
"type": "panel",
"size": [ 6, "100%" ]
},
"horizontal_4z_padding": {
"type": "panel",
"size": [ 4, 0 ]
},
"common_horizontal_divider@common.vertical_stack_panel": {
"size": [ "100%", 8 ],
"controls": [
{ "padding_top@common.empty_panel": { "size": [ 1, 5 ] } },
{ "divider@common.horizontal_divider": {} },
{ "padding_bottom@common.empty_panel": { "size": [ 1, 10 ] } }
]
},
"horizontal_fill_padding": {
"type": "panel",
"size": [ "fill", "100%" ]
},
"vertical_1_padding": {
"type": "panel",
"size": [ "100%", 1 ]
},
"vertical_2_padding": {
"type": "panel",
"size": [ "100%", 2 ]
},
"vertical_4_padding": {
"type": "panel",
"size": [ "100%", 4 ]
},
"vertical_5_padding": {
"type": "panel",
"size": [ "100%", 5 ]
},
"vertical_9_padding": {
"type": "panel",
"size": [ "100%", 9 ]
},
"vertical_fill_padding": {
"type": "panel",
"size": [ "100%", "fill" ]
},
//////////////////////////////////////////////////////////////////////////
//// Icons
/////////////////////////////////////////////////////////////////////////
"common_image": {
"type": "image",
"keep_ratio": false,
"texture": "$image",
"$image|default": "#texture",
"$image_binding_name|default": "#none",
"$image_binding_type|default": "none",
"bindings": [
{
"binding_type": "$image_binding_type",
"binding_name": "$image_binding_name",
"binding_name_override": "#texture"
}
]
},
"icon_image": {
"type": "image",
"layer": 2
},
"lock_icon@icon_image": {
"size": [ 12, 11 ],
"texture": "textures/ui/icon_lock"
},
"realms_icon@icon_image": {
"size": [ 11, 14 ],
"texture": "textures/ui/realmsIcon"
},
"realms_small_icon@icon_image": {
"size": [ 8, 10 ],
"texture": "textures/ui/realm_icon_small"
},
"realms_banner_small@icon_image": {
"size": [ 14, 12 ],
"texture": "textures/ui/realm_banner_small"
},
"realms_banner_big@icon_image": {
"size": [ 24, 20 ],
"texture": "textures/ui/realm_banner_big"
},
"info_bulb_icon@icon_image": {
"size": [ 7, 9 ],
"texture": "textures/ui/infobulb"
},
"mashup_hangar@icon_image": {
"size": [ 8, 8 ],
"bilinear": true,
"texture": "textures/ui/glyph_skin_pack"
},
"mashup_PaintBrush@icon_image": {
"size": [ 8, 8 ],
"bilinear": true,
"texture": "textures/ui/glyph_resource_pack"
},
"mashup_world@icon_image": {
"size": [ 8, 8 ],
"bilinear": true,
"texture": "textures/ui/glyph_world_template"
},
"checkmark_icon@icon_image": {
"size": [ 7, 6 ],
"texture": "textures/ui/listcheck_smaller"
},
"green_checkmark_icon@icon_image": {
"size": [ 9, 7 ],
"texture": "textures/ui/realms_green_check"
},
"view_character_icon@icon_image": {
"size": [ 14, 14 ],
"texture": "textures/ui/icon_preview"
},
"info_glyph_icon@icon_image": {
"size": [ 14, 14 ],
"texture": "textures/ui/blue_info_glyph"
},
"right_icon@icon_image": {
"size": [ 4, 7 ],
"color": "$dressing_room_dark_button_color",
"texture": "textures/ui/chevron_right"
},
"left_icon@icon_image": {
"size": [ 4, 7 ],
"color": "$dressing_room_dark_button_color",
"texture": "textures/ui/chevron_left"
},
"close_color_icon@icon_image": {
"size": [ 15, 15 ],
"color": "$dressing_room_dark_button_color",
"texture": "textures/ui/close_button_default"
},
"color_picker_icon@icon_image": {
"size": [ 16, 16 ],
"texture": "textures/ui/color_picker"
},
"progress_loading": {
"type": "image",
"texture": "textures/ui/White",
"color": "$rarity_common_bg_color",
"$progress_loading_binding_type|default": "global",
"$progress_loading_collection_name|default": "",
"$progress_loading_binding_name|default": "",
"controls": [
{
"progress_loading@common_store.progress_loading": {
"size": [ "100% - 2px", "100% - 2px" ],
"$hide_failure_text": true,
"$hide_progress_loading_outline": true,
"bindings": []
}
}
],
"bindings": [
{
"binding_type": "$progress_loading_binding_type",
"binding_condition": "always",
"binding_collection_name": "$progress_loading_collection_name",
"binding_name": "$progress_loading_binding_name",
"binding_name_override": "#visible"
}
]
},
"progress_loading_input_panel": {
"type": "input_panel",
"size": [ "100%sm - 2px", "100%sm" ],
"layer": 200,
"$input_progress_loading_collection_binding_type|default": "none",
"$input_progress_loading_prefix|default": "",
"$input_progress_loading_binding_type|default": "global",
"$input_progress_loading_collection_name|default": "",
"$input_progress_loading_binding_name|default": "",
"bindings": [
{
"binding_type": "$input_progress_loading_collection_binding_type",
"binding_collection_name": "$input_progress_loading_collection_name",
"binding_collection_prefix": "$input_progress_loading_prefix"
},
{
"binding_type": "$input_progress_loading_binding_type",
"binding_collection_name": "$input_progress_loading_collection_name",
"binding_name": "$input_progress_loading_binding_name",
"binding_name_override": "#visible"
}
],
"controls": [
{
"progress_loading@persona.progress_loading": {
"bindings": []
}
}
]
},
"skin_viewer_panel_skin_model": {
"type": "panel",
"$skin_viewer_panel_skin_model_size|default": [ "51%y", "110%" ], // 5x base dimensions [20, 39]
"size": "$skin_viewer_panel_skin_model_size",
"max_size": [ "100%", "100%" ],
"$model_offset|default": [ 0, "-15%" ],
"controls": [
{
"skin_model": {
"type": "custom",
"offset": "$model_offset",
"renderer": "paper_doll_renderer",
"camera_tilt_degrees": -10,
"starting_rotation": 30,
"$skin_model_layer|default": 5,
"layer": "$skin_model_layer",
"use_selected_skin": false,
"use_skin_gui_scale": true,
"rotation": "gesture_x",
"animation_reset_name": "screen_animation_reset",
"$skin_model_anims|default": [
"@common.screen_exit_size_animation_push",
"@common.screen_exit_size_animation_pop",
"@common.screen_entrance_size_animation_push",
"@common.screen_entrance_size_animation_pop"
],
"anims": "$skin_model_anims",
"bindings": [
{
"binding_type": "global",
"binding_name": "$skin_preview"
},
{
"binding_type": "view",
"source_control_name": "$gesture_input_panel_control",
"source_property_name": "#gesture_delta_source",
"target_property_name": "#gesture_delta_source"
},
{
"binding_type": "view",
"source_control_name": "$gesture_input_panel_control",
"source_property_name": "#gesture_mouse_delta_x",
"target_property_name": "#gesture_mouse_delta_x"
}
]
}
}
]
},
"skin_viewer_panel": {
"type": "input_panel",
"layer": 90,
"gesture_tracking_button": "button.turn_doll",
"bindings": [
{
"binding_name": "#can_paperdoll_rotate",
"binding_name_override": "#always_handle_controller_direction",
"binding_condition": "always"
}
],
"button_mappings": [
{
"from_button_id": "button.menu_select",
"to_button_id": "button.turn_doll",
"mapping_type": "pressed",
"button_up_right_of_first_refusal": true
}
],
"controls": [
{
"popup_dialog_factory": {
"type": "factory",
"control_ids": {
"toast_message": "@persona.popup_toast"
}
}
},
{ "skin_model_panel@persona.skin_viewer_panel_skin_model": {} },
{
"arrow_panel": {
"type": "panel",
"size": [ "100%", 22 ],
"anchor_from": "bottom_middle",
"anchor_to": "bottom_middle",
"bindings": [
{
"binding_name": "(not #preview_appearance_on)",
"binding_name_override": "#visible"
}
],
"controls": [
{
"skin_color_picker_button_container": {
"type": "panel",
"size": [ "100%c", "100%c" ],
"anchor_to": "bottom_left",
"anchor_from": "bottom_left",
"bindings": [
{
"binding_name": "#left_skin_color_option_on",
"binding_name_override": "#visible"
}
],
"controls": [
{
"skin_color_picker_button@persona.skin_color_picker": {
"size": [ 23, 22 ],
"$focus_id": "skin_color_picker_button",
"bindings": [
{
"binding_name": "(not #expanded_appearance_visible)",
"binding_name_override": "#visible"
},
{
"binding_name": "#skin_color_option_enabled",
"binding_name_override": "#enabled"
},
{
"binding_name": "#skin_color_option_enabled",
"binding_name_override": "#focus_enabled"
}
]
}
}
]
}
},
{
"play_highlighted_emote_panel": {
"type": "panel",
"size": [ "100%", "default" ],
"visible": false,
"property_bag": {
"#visible": false
},
"bindings": [
{
"binding_name": "#play_highlighted_emote_helper_visible",
"binding_name_override": "#visible"
}
],
"controls": [
{
"gamepad_helper@common.gamepad_helper_x": {
"anchor_from": "bottom_left",
"anchor_to": "bottom_left",
"offset": [ -6, 7 ]
}
},
{
"play_highlighted_emote_helper": {
"type": "label",
"layer": 2,
"font_scale_factor": 0.8,
"size": [ "100%", "default" ],
"anchor_from": "bottom_left",
"anchor_to": "bottom_left",
"offset": [ 16, -2 ],
"text_alignment": "left",
"text": "persona.preview.emote",
"color": "$dressing_room_right_side_default_text_color"
}
}
]
}
},
{
"right_side_button_stack_panel": {
"type": "stack_panel",
"size": [ "100%c", "100%" ],
"orientation": "horizontal",
"anchor_to": "bottom_right",
"anchor_from": "bottom_right",
"controls": [
{
"skin_color_picker_button_container": {
"type": "panel",
"size": [ "100%c", "100%c" ],
"anchor_to": "bottom_left",
"anchor_from": "bottom_left",
"bindings": [
{
"binding_name": "#right_skin_color_option_on",
"binding_name_override": "#visible"
}
],
"controls": [
{
"skin_color_picker_button@persona.skin_color_picker": {
"size": [ 23, 22 ],
"$focus_id": "skin_color_picker_button",
"bindings": [
{
"binding_name": "(not #expanded_appearance_visible)",
"binding_name_override": "#visible"
},
{
"binding_name": "#skin_color_option_enabled",
"binding_name_override": "#enabled"
},
{
"binding_name": "#skin_color_option_enabled",
"binding_name_override": "#focus_enabled"
}
]
}
}
]
}
},
{
"info_button@persona.info_button": {
"size": [ 22, 22 ],
"$focus_id": "info_button",
"bindings": [
{
"binding_name": "#restricted_info_visible",
"binding_name_override": "#visible"
}
]
}
},
{
"pad": {
"type": "panel",
"size": [ 2, "100%" ]
}
},
{
"preview_skin_mouse@persona.preview_skin_full": {
"size": [ 22, 22 ],
"$focus_id": "skin_preview_button"
}
}
]
}
}
]
}
},
{
"persona_updating@persona.loading_icon": {
"anchor_to": "top_right",
"anchor_from": "top_right",
"bindings": [
{
"binding_name": "#persona_is_updating",
"binding_name_override": "#visible"
}
]
}
}
]
},
"popup_dialog__restricted_content_popup@popup_dialog.popup_dialog": {
"size": [ "100%", "100%" ],
"layer": 96, // Must be usable on top of skin rotation input panel which has layer of 90
"$scrolling_content": "common.empty_panel",
"$confirm_button_text": "dr.button.ok",
"controls": [
{
"popup@common.dialog_background_hollow_2": {
"size": [ "46%", "100%c" ],
"controls": [
{
"modal@persona.popup_frame_background": {
"size": [ "100%", "100%c + 25px" ],
"controls": [
{
"popup_dialog_message": {
"type": "label",
"layer": 2,
"size": [ "100% - 18px", "default" ],
"anchor_from": "top_middle",
"anchor_to": "top_middle",
"offset": [ 0, 8 ],
"text_alignment": "center",
"text": "dr.modal.restricted_content_text",
"color": "$dressing_room_right_side_default_text_color"
}
},
{
"image": {
"type": "image",
"size": [ "60%", "50%x" ],
"layer": 2,
"texture": "textures/ui/warning_sad_steve",
"anchor_from": "bottom_middle",
"anchor_to": "bottom_middle",
"offset": [ 0, -25 ]
}
}
]
}
},
{
"title_label": {
"type": "label",
"size": [ "100% - 18px", "default" ],
"text": "dr.modal.restricted_content_title",
"layer": 1,
"offset": [ 0, 8 ],
"color": "$profile_create_character_selected_color",
"anchor_from": "top_middle",
"anchor_to": "top_middle"
}
},
{ "Ok_button@persona.differences_popup_ok_button": {} }
]
}
}
]
},
/////////////////////////////////////////////
//// real money purchase button controls ////
"offer_real_money_purchase_button@common_buttons.light_text_button": {
"size": [ "100%c", "100%" ],
"$anchor": "center",
"$pressed_button_name": "button.real_money_purchase",
"$button_text": "#purchase_with_currency_button_text",
"$button_text_binding_type": "global",
"$focus_id": "offer_real_money_purchase_button"
},
/////////////////////////////////////////////
//// Realms button controls ////
"csb_timer_banner@common_csb.csb_expiration_banner": {
"size": [ "100%", 16 ]
},
"realms_savings_text": {
"type": "label",
"text": "#realms_saved_coins_label",
"size": [ "50%", 24 ],
"font_size": "small",
"font_scale_factor": 1.2,
"color": "$store_csb_gold_text_color",
"bindings": [
{
"binding_name": "#realms_redeem_button_visible",
"binding_name_override": "#visible"
},
{
"binding_name": "#realms_saved_coins_label",
"binding_type": "global"
}
]
},
"realms_redeem_button_content@common.empty_panel": {
"$realms_button_text|default": "",
"controls": [
{
"csb_icon@common_csb.csb_icon_large": {
"anchor_from": "left_middle",
"anchor_to": "left_middle",
"$pack_icon_size": [ "100%y", "100% + 10px" ],
"offset": [ "-2px", "0px" ]
}
},
{
"realms_text_label": {
"type": "label",
"layer": 2,
"size": [ "100%", 10 ],
"max_size": [ "100%", "100%" ],
"text_alignment": "center",
"text": "persona.csb.see.subscription",
"color": "$text_color",
"$realms_button_text_offset|default": [ 0, 0 ],
"offset": "$realms_button_text_offset"
}
}
]
},
"realms_redeem_button@common_buttons.light_content_button": {
"max_size": [ "50%", "100%" ],
"size": [ "fill", "100%" ],
"$realms_button_text_offset": [ 8, 0 ],
"$pressed_button_name": "button.redeem_realms_item",
"$button_content": "persona.realms_redeem_button_content",
"$realms_button_text": "persona.realms.redeem",
"bindings": [
{
"binding_name": "#realms_redeem_button_visible",
"binding_name_override": "#visible"
}
]
},
"realms_subscription_button@common_buttons.light_content_button": {
"size": [ "50%", "100%" ],
"$realms_button_text_offset": [ 8, 0 ],
"$pressed_button_name": "button.see_realms_subscription",
"$button_content": "persona.realms_redeem_button_content",
"$realms_button_text": "persona.csb.see.subscription",
"bindings": [
{
"binding_name": "#realms_subscription_button_visible",
"binding_name_override": "#visible"
}
]
},
///////////////////////////////
//// coin purchase button /////
"offer_coin_purchase_button@common_buttons.light_content_button": {
"$pressed_button_name": "button.coin_purchase",
"$ignore_markdown_filler_panel": "#is_on_sale",
"$button_content": "pdp.large_button_coin_purchase_label",
"$is_on_sale": false,
"$coin_image_on_right": false,
"$is_purchase_button": true,
"$interact_button_id": "button.purchase_with_coins",
"$markdown_size": [ "100% + 2px", "100% + 4px" ],
"$strike_thru_offset": [ 0, -1 ],
"$markdown_offset": [ -1, 0 ],
"$focus_id": "offer_coin_purchase_button",
"bindings": [
{
"binding_name": "(not #persona_is_updating)",
"binding_name_override": "#enabled"
}
]
},
"achievement_text_button@common_buttons.light_text_button": {
"$focus_id": "offer_coin_purchase_button",
"$persona_focus_precedence": 3,
"$button_font_scale_factor": 1.0
},
"view_achievement@persona.achievement_text_button": {
"$pressed_button_name": "button.view_achievement",
"$button_text": "store.view_achievement"
},
"collect_achievement@persona.achievement_text_button": {
"$pressed_button_name": "button.collect_achievement",
"$button_text": "dr.collect_achievement_item"
},
///////////////////////////////////////////////////////////////////////////////////////
//// Equip button controls
"a_button_helper@common.gamepad_helper_a": {
"$hide_description": true,
"$gamepad_helper_icon_size": [ 20, 20 ],
"$gamepad_helper_size": [ "100%", "100%" ],
"offset": [ "-25% - 2px", "-25% + 1px" ],
"size": [ "100%", "100%" ]
},
"a_button_helper_center@common.empty_panel": {
"size": [ "90%y", "100%" ],
"controls": [
{ "a_button_helper@persona.a_button_helper": {} }
],
"bindings": [
{
"binding_name": "#show_equip_button_helper",
"binding_name_override": "#visible"
}
]
},
"equip_piece_text": {
"type": "label",
"size": [ "100%", "default" ],
"color": "$text_color",
"text": "dr.equip_piece",
"text_alignment": "center"
},
"equip_piece_text_wrapper@common.empty_panel": {
"size": [ "fill", "100%" ],
"controls": [
{ "text@persona.equip_piece_text": {} }
]
},
"equip_button_content@common.horizontal_stack_panel": {
"size": [ "100%", "100%" ],
"offset": [ 0, 3 ],
"anchor_from": "left_middle",
"anchor_to": "left_middle",
"controls": [
{ "helper_wrapper@persona.a_button_helper_center": {} },
{ "equip_text@persona.equip_piece_text_wrapper": {} }
]
},
"equip_piece_button@common_buttons.light_content_button": {
"$focus_id": "equip_piece_button",
"$persona_focus_precedence": 3,
"$focus_override_down": "FOCUS_OVERRIDE_STOP",
"$pressed_button_name": "$equip_button_name",
"$button_content": "persona.equip_button_content",
"variables": [
{
"requires": "(not $is_low_memory_device)",
"$button_offset": [ 0, -3 ],
"$button_pressed_offset": [ 3, 0 ]
}
]
},
"equip_button_panel": {
"type": "panel",
"size": [ "40%", "100%" ],
"controls": [
{ "equip@persona.equip_piece_button": {} }
],
"bindings": [
{
"binding_name": "$show_equip_button",
"binding_name_override": "#visible"
}
]
},
"subcategory_equip_button_panel@persona.equip_button_panel": {
"size": [ "40%", "100%" ],
"$equip_button_name": "button.equip_piece",
"$show_equip_button": "#is_subcategory_equip_button_visible"
},
"classic_skin_equip_button_panel@persona.equip_button_panel": {
"size": [ "50%", "100%" ],
"$equip_button_name": "button.equip_skin",
"$show_equip_button": "#is_skin_equip_visible"
},
"size_equip_button_panel@persona.equip_button_panel": {
"$equip_button_name": "button.equip_size",
"$show_equip_button": "#is_size_equip_visible"
},
///////////////////////////////////////////////////////////////////////////////////////
//// purchase button controls
"purchase_button_panel": {
"type": "panel",
"bindings": [
{
"binding_name": "$purchase_panel_visible_binding",
"binding_name_override": "#visible"
}
],
"controls": [
{
"$purchase_button_control@$purchase_button_control": {
"size": [ "100%", "100%" ],
"$default_state_border_visible": true,
"$hover_state_border_visible": true,
"$pressed_state_border_visible": true,
"$locked_state_border_visible": true
}
}
]
},
"coin_purchase_panel@persona.purchase_button_panel": {
"size": [ "fill", "100%" ],
"max_size": [ "40%", "100%" ],
"$purchase_panel_visible_binding": "#is_coin_purchase_visible",
"$purchase_button_control": "persona.offer_coin_purchase_button"
},
"real_money_purchase@persona.purchase_button_panel": {
"size": [ "fill", "100%" ],
"max_size": [ "40%", "100%" ],
"$purchase_panel_visible_binding": "#is_currency_purchase_visible",
"$purchase_button_control": "persona.offer_real_money_purchase_button"
},
"achievement_button@persona.view_achievement": {
"ignored": "(not $supports_xbl_achievements)",
"size": [ "60%", "100%" ],
"$focus_override_down": "FOCUS_OVERRIDE_STOP",
"bindings": [
{
"binding_name": "#is_achievement_award",
"binding_name_override": "#visible"
}
]
},
"collect_achievement_button@persona.collect_achievement": {
"size": [ "40%", "100%" ],
"$focus_override_down": "FOCUS_OVERRIDE_STOP",
"bindings": [
{
"binding_name": "#can_collect_achievement_award",
"binding_name_override": "#visible"
}
]
},
"see_skin_pack_in_store@common_buttons.light_text_button": {
"size": [ "50%", "100%" ],
"anchor_from": "bottom_right",
"anchor_to": "bottom_right",
"$pressed_button_name": "button.see_pack_in_store",
"$button_text": "dr.classic_skins.see_in_store",
"$focus_id": "see_pack_in_store_button",
"bindings": [
{
"binding_name": "#is_see_in_store_button_visible",
"binding_name_override": "#visible"
}
]
},
"purchase_buttons@common.horizontal_stack_panel": {
"size": [ "fill", "100%" ],
"controls": [
{ "padding_0@persona.horizontal_1_padding": {} },
{ "subcategory_equip@persona.subcategory_equip_button_panel": {} },
{ "coin_purchase_panel@persona.coin_purchase_panel": {} },
{ "view_achievement_button@persona.achievement_button": {} },
{
"padding@persona.horizontal_1_padding": {
"bindings": [
{
"binding_name": "#is_purchase_button_padding_visible",
"binding_name_override": "#visible"
}
]
}
},
{ "classic_skin_equip@persona.classic_skin_equip_button_panel": {} },
{ "size_equip@persona.size_equip_button_panel": { "ignored": "$is_persona_sdl_enabled" } },
{ "collect_achievement_button@persona.collect_achievement_button": {} },
{ "real_money_purchase_panel@persona.real_money_purchase": {} },
{ "realms_redeem_button_panel@persona.realms_redeem_button": {} },
{ "padding_2@persona.horizontal_1_padding": {} },
{ "realms_subscription_button_panel@persona.realms_subscription_button": {} },
{ "see_skin_pack_in_store@persona.see_skin_pack_in_store": {} },
{ "realms_savings_text_label@persona.realms_savings_text": {} }
]
},
"right_side_bottom_buttons@common.horizontal_stack_panel": {
"ignored": "$ignore_right_side_buttom_buttons",
"size": [ "100% - 2px", 20 ],
"offset": [ 0, -1 ],
"anchor_to": "bottom_left",
"anchor_from": "bottom_left",
"controls": [
{ "purchase_buttons_panel@persona.purchase_buttons": {} }
]
},
///////////////////////////////////////////////////////////////////////////////////////
//// Title Display Objects
"common_title_text": {
"type": "label",
"color": "$dressing_room_right_side_default_text_color",
"layer": 2,
"size": [ "100%", "100%" ],
"text": "#right_panel_title",
"font_type": "MinecraftTen",
"text_alignment": "left",
"bindings": [
{
"binding_name": "#right_panel_title"
}
]
},
"common_title_image": {
"type": "panel",
"alpha": 0.0,
"size": [ "100%", 15 ],
"controls": [
{ "text@persona.common_title_text": {} }
]
},
/////////////////////////////////////////////////////////////////////////////////////////////
////// Title Rarity Background
"title_rarity_positionable_title": {
"type": "label",
"size": [ "100%", "100%" ],
"layer": 11,
"offset": [ 0, -2 ],
"color": "$dressing_room_right_side_default_text_color",
"text": "$title_binding",
"$rarity_title_font_type|default": "MinecraftTen",
"font_type": "$rarity_title_font_type",
"text_alignment": "left",
"$title_binding|default": "#right_panel_title",
"$title_binding_type|default": "global",
"bindings": [
{
"binding_type": "$title_binding_type",
"binding_name": "$title_binding"
}
]
},
"title_stack_postioning_panel": {
"type": "panel",
"size": [ "fill", 10 ],
"controls": [
{ "title@persona.title_rarity_positionable_title": {} }
]
},
"title_rarity_right_title": {
"type": "label",
"size": [ "default", "100%" ],
"offset": [ 0, 1 ],
"layer": 2,
"color": "$dressing_room_right_side_default_text_color",
"text": "$title_rarity_binding",
"font_size": "medium",
"text_alignment": "right",
"$title_rarity_binding|default": "#right_panel_title_rarity",
"bindings": [
{
"binding_name": "$title_rarity_binding"
}
]
},
"title_rarity_stack_postioning_panel": {
"type": "panel",
"size": [ "100%c", 10 ],
"layer": 2,
"anchor_from": "left_middle",
"anchor_to": "left_middle",
"controls": [
{ "rarity_right_title@persona.title_rarity_right_title": {} }
]
},
"title_rarity_stack@common.horizontal_stack_panel": {
"$title_rarity_stack_size|default": [ "100% - 2px", 10 ],
"size": "$title_rarity_stack_size",
"$rarity_title_font_type|default": "MinecraftTen",
"controls": [
{ "position_title_panel_offset@persona.title_stack_postioning_panel": {} },
{ "mid_padding@persona.horizontal_2_padding": {} },
{ "position_rarity_panel_offset@persona.title_rarity_stack_postioning_panel": {} }
]
},
"title_rarity_background_image@persona_common.item_rarity_color_background": {
"size": [ "100%", 14 ],
"layer": 10,
"$rarity_background_alpha": "$rarity_title_background_alpha",
"controls": [
{ "title_stack_panel@persona.title_rarity_stack": {} }
]
},
///////////////////////////////////////////////////////////////////////////////////////
//// dressing room right side panel content
"information_and_selection_title_bar": {
"type": "image",
"layer": 2,
"texture": "$title_bar_texture",
"color": "$title_bar_color",
"alpha": "$title_bar_alpha",
"size": [ "100%", 14 ],
"$ignore_title_bar_visibility|default": true,
"controls": [
{ "dressing_room_title@$info_title_control": {} }
],
"bindings": [
{
"ignored": "$ignore_title_bar_visibility",
"binding_name": "(not #is_right_panel_classic_custom_visible)",
"binding_name_override": "#visible"
}
]
},
"information_and_selection_stack@common.vertical_stack_panel": {
"size": "$info_and_selection_panel_size",
"$title_bar_color|default": "$dressing_room_semi_dark_bg_color",
"$title_bar_texture|default": "textures/ui/White",
"$title_bar_alpha|default": "$dressing_room_panel_alpha",
"$info_bottom_section_size|default": [ "100%", "fill" ],
"controls": [
{ "title_bar@persona.information_and_selection_title_bar": {} },
{ "bottom_section_panel@$info_content_control": { "size": "$info_bottom_section_size" } }
]
},
"information_and_selection_panel": {
"type": "panel",
"$info_and_selection_panel_size|default": [ "100%", "100%" ],
"size": "$info_content_panel_size",
"$info_title_control|default": "common.empty_panel",
"$info_content_control|default": "common.empty_panel",
"controls": [
{
"stack@persona.information_and_selection_stack": {}
}
]
},
"special_offer_banner": {
"ignored": "$ignore_special_banner",
"type": "image",
"size": [ "100%c + 15px", 15 ], // 15px = 3 for left side of banner + 6 for right side of banner + 6 for padding
"$special_offer_banner_offset|default": [ -3, "-60%y" ],
"offset": "$special_offer_banner_offset",
"layer": 15,
"anchor_to": "top_left",
"anchor_from": "top_left",
"texture": "textures/ui/saleribbon",
"controls": [
{
"banner_info@common.horizontal_stack_panel": {
"size": [ "100%c", 8 ],
"offset": [ -1, -2.5 ],
"controls": [
{
"limited_time_icon": {
"type": "image",
"size": [ "100%y", "100%" ],
"layer": 3,
"texture": "textures/ui/icon_timer",
"bindings": [
{
"binding_name": "#is_limited_time_offer",
"binding_name_override": "#visible"
}
]
}
},
{ "padding_0@persona.horizontal_2_padding": {} },
{
"special_banner_text": {
"type": "label",
"layer": 3,
"font_type": "smooth",
"color": "$dressing_room_sale_banner_text_color",
"$special_banner_text_binding_name|default": "#special_banner_text",
"text": "$special_banner_text_binding_name",
"bindings": [
{
"binding_name": "$special_banner_text_binding_name"
}
]
}
}
]
}
}
],
"bindings": [
{
"binding_name": "#is_specail_offer_banner_visible",
"binding_name_override": "#visible"
}
]
},
"dialog_background_object_content": {
"$dialog_bg_size|default": [ "100% - 2px", "100% - 2px" ],
"offset": [ 0, 0 ],
"type": "image",
"size": "$dialog_bg_size",
"texture": "textures/ui/White",
"color": "$dressing_room_dark_bg_color",
"alpha": "$dressing_room_background_alpha",
"layer": 2,
"controls": [
{
"dialog_content@$persona_dialog_content": {
"layer": 4
}
}
]
},
"dialog_background_object@common_dialogs.flat_solid_background": {
"size": [ "100%", "100%" ],
"controls": [
{ "content@persona.dialog_background_object_content": {} }
]
},
"color_picker_content_panel": {
"type": "panel",
"size": [ "100%", "100%" ],
"controls": [
{ "color_picker@persona.color_picker_panel": {} }
]
},
"offer_info_section_content": {
"type": "panel",
"$offer_info_section_content_size|default": [ "100%", "100%" ],
"size": "$offer_info_section_content_size",
"$ignore_special_banner|default": false,
"controls": [
{
"info_content_panels": {
"type": "panel",
"$info_content_panel_size|default": [ "100%", "100%" ],
"size": "$info_content_panel_size",
"controls": [
{ "offer_info_content@persona.information_and_selection_panel": {} },
{ "special_offer_banner@persona.special_offer_banner": {} }
]
}
}
]
},
"left_cycle_button@common_store.cycle_pack_left_button": {
"$cycle_pack_button_enabled": "#left_cycle_button_enabled",
"$gamepad_helper_icon_size": [ 15, 15 ]
},
"right_cycle_button@common_store.cycle_pack_right_button": {
"$cycle_pack_button_enabled": "#right_cycle_button_enabled",
"$gamepad_helper_icon_size": [ 15, 15 ]
},
//////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Right Side Stack
//////////////////////////////////////////////////////////////////////////////////////////////////////////
"right_side_dialog_panel": {
"type": "input_panel",
"$right_side_dialog_bg_size|default": [ "100% - 2px", "100% - 2px" ],
"$right_side_dialog_visible_binding|default": "('#is_right_info_' + $info_panel_prefix +'_panel_visible')",
"bindings": [
{
"binding_name": "$right_side_dialog_visible_binding",
"binding_name_override": "#visible"
}
],
"controls": [
{
"right_side_dialog@persona.dialog_background_object": {
"size": "$right_side_dialog_size",
"anchor_to": "top_middle",
"anchor_from": "top_middle",
"$dialog_bg_size": "$right_side_dialog_bg_size"
}
}
]
},
"right_info_panel": {
"type": "panel",
"$right_info_panel_size|default": [ "100%", "100%" ],
"size": "$right_info_panel_size",
"$right_side_bottom_buttons|default": "persona.right_side_bottom_buttons",
"$ignore_right_side_buttom_buttons|default": false,
"controls": [
{
"info_panel": {
"type": "panel",
"$right_info_panel_content_size|default": [ "100%", "100% - 2px" ],
"size": "$right_info_panel_content_size",
"controls": [
{ "right_info_content@$right_info_content_control": {} }
]
}
},
{ "right_side_bottom_buttons@$right_side_bottom_buttons": {} }
]
},
"right_info_panel_dialog_object@persona.dialog_background_object": {
"size": [ "100%", "100% - 2px" ],
"anchor_to": "top_middle",
"anchor_from": "top_middle"
},
"piece_list_right_side_section@persona.right_side_dialog_panel": {
"type": "panel",
"size": [ "100%", 65 ],
"$title_rarity_stack_size": [ "100% - 4px", 10 ],
"$rarity_title_background_alpha|default": "$dressing_room_panel_alpha",
"$info_title_control": "persona.title_rarity_background_image",
"$persona_dialog_content": "persona.offer_info_section_content",
"$info_content_control": "persona.right_info_panel",
"$right_info_content_control": "persona.info_text_box",
"$dialog_bg_size": [ "100% - 2px", "100% - 2px" ],
"$right_side_dialog_size": [ "100%", "100% - 12px" ],
"$ignore_color_picker": false,
"$info_panel_prefix": "piece_offer",
"controls": [
{ "right_info_panel@persona.right_info_panel_dialog_object": {} }
]
},
"size_button_panel": {
"type": "panel",
"size": [ "100%", 20 ],
"anchor_to": "bottom_left",
"anchor_from": "bottom_left",
"controls": [
{
"size_equip@persona.size_equip_button_panel": {
"offset": [ 2, -2 ],
"anchor_to": "bottom_left",
"anchor_from": "bottom_left"
}
}
]
},
"size_right_side_info_section@persona.right_side_dialog_panel": {
"ignored": "(not $is_persona_sdl_enabled)",
"type": "input_panel",
"size": [ "100%", 65 ],
"$title_rarity_stack_size": [ "100% - 4px", 10 ],
"$info_title_control": "persona_common.generic_title_panel",
"$persona_dialog_content": "persona.offer_info_section_content",
"$info_content_control": "persona.right_info_panel",
"$dialog_bg_size": [ "100% - 2px", "100% - 2px" ],
"$right_side_dialog_size": [ "100%", "100% - 12px" ],
"$right_info_content_control": "common.empty_panel",
"$right_side_bottom_buttons": "persona.size_button_panel",
"$ignore_color_picker": true,
"$ignore_special_banner": true,
"$ignore_title_bar_visibility": true,
"$info_panel_prefix": "size",
"controls": [
{ "right_info_panel@persona.right_info_panel_dialog_object": {} }
]
},
"right_side_stack_debug_control@common.vertical_stack_panel": {
"size": [ "100%", "fill" ],
"bindings": [
{
"binding_name": "#is_using_dressing_room_debugging",
"binding_name_override": "#visible"
}
],
"controls": [
{
"debug_skin_names@common.horizontal_stack_panel": {
"size": [ "100%", 1 ],
"controls": [
{
"debug_current_name": {
"type": "label",
"size": [ "fill", 15 ],
"font_type": "smooth",
"font_scale_factor": 0.75,
"layer": 15,
"color": "$right_side_default_text_color",
"text": "#current_skin_name",
"bindings": [
{
"binding_name": "#current_skin_name"
}
]
}
},
{
"debug_active_name": {
"type": "label",
"size": [ "fill", 15 ],
"font_type": "smooth",
"font_scale_factor": 0.75,
"layer": 15,
"color": "$right_side_default_text_color",
"text": "#active_skin_name",
"bindings": [
{
"binding_name": "#active_skin_name"
}
]
}
}
]
}
},
{
"debug_skins@common.horizontal_stack_panel": {
"size": [ "100%", 75 ],
"controls": [
{
"dressing_room_right_side_model_current@persona.skin_viewer_panel_skin_model": {
"size": [ "fill", "100%" ],
"$skin_offset": [ 0, -10 ],
"$gesture_input_panel_control": "dressing_room_skin_model",
"$skin_preview": "#current_skin"
}
},
{
"dressing_room_right_side_model_active@persona.skin_viewer_panel_skin_model": {
"size": [ "fill", "100%" ],
"$skin_offset": [ 0, -10 ],
"$gesture_input_panel_control": "dressing_room_skin_model",
"$skin_preview": "#active_skin"
}
}
]
}
},
{
"debug_preview_skin_name": {
"type": "label",
"size": [ "100%", 20 ],
"layer": 15,
"font_type": "smooth",
"color": "$right_side_default_text_color",
"text": "#preview_skin_name",
"bindings": [
{
"binding_name": "#preview_skin_name"
}
]
}
}
]
},
"persona_getting_started_title": {
"type": "label",
"layer": 2,
"size": [ "100%", 14 ],
"offset": [ 2, 0 ],
"font_type": "MinecraftTen",
"text": "dr.character_creator_getting_started_title",
"color": "$dressing_room_right_side_default_text_color",
"text_alignment": "left",
"bindings": [
{
"binding_name": "#is_getting_started_visible",
"binding_name_override": "#visible"
}
]
},
"persona_getting_started_description": {
"type": "label",
"size": [ "100% - 4px", "100% - 2px" ],
"font_type": "smooth",
"font_scale_factor": 0.7,
"color": "$dressing_room_right_side_default_text_color",
"text": "dr.character_creator_getting_started_detail",
"bindings": [
{
"binding_name": "#is_getting_started_visible",
"binding_name_override": "#visible"
}
]
},
"persona_getting_started_description_area@common.empty_panel": {
"controls": [
{ "text@persona_getting_started_description": {} }
]
},
"dressing_room_right_side_model@persona.skin_viewer_panel": {
"size": [ "100%", "fill" ],
"$gesture_input_panel_control": "dressing_room_skin_model",
"$skin_preview": "#preview_skin"
},
"persona_getting_started_panel@persona.right_side_dialog_panel": {
"size": [ "100%", 65 ],
"$persona_dialog_content": "persona.offer_info_section_content",
"$ignore_special_banner|default": true,
"$info_title_control": "persona.persona_getting_started_title",
"$title_bar_texture": "textures/ui/White",
"$title_bar_alpha": "$dressing_room_panel_alpha",
"$info_content_control": "persona.persona_getting_started_description_area",
"$info_bottom_section_size": [ "100%", "100% - 12px" ],
"$right_side_dialog_size": [ "100%", "100% - 2px" ],
"$right_side_dialog_bg_size": [ "100% - 2px", "100% - 2px" ],
"$info_panel_prefix": "getting_started"
},
"right_side_color_picker_panel@persona.right_side_dialog_panel": {
"size": [ "100%", "100%c + 2px" ],
"$right_side_dialog_size": [ "100%", 63 ],
"$info_title_control": "persona.color_picker_info_panel_title",
"$persona_dialog_content": "persona.offer_info_section_content",
"$info_panel_prefix": "color_picker",
"$right_side_dialog_visible_binding": "#show_color_picker"
},
"right_side_offer_info_skins@persona.right_side_dialog_panel": {
"$right_side_dialog_size": [ "100%", "100% - 2px" ],
"size": [ "100%", 65 ],
"$title_rarity_stack_size": [ "100% - 2px", 10 ],
"$info_title_control": "persona.right_panel_classic_skins_title",
"$persona_dialog_content": "persona.offer_info_section_content",
"$info_content_control": "persona.right_panel_classic_skin_content",
"$info_panel_prefix": "classic_skin"
},
"right_panel_classic_skin_featured_grid": {
"type": "grid",
"size": [ "100% - 2px", "100%c" ],
"$persona_featured_skin_pack_binding_type|default": "collection",
"$persona_featured_skin_pack_collection_prefix|default": "persona_featured_skin_pack",
"$persona_featured_skin_pack_collection_name|default": "persona_featured_skin_pack_collection",
"$featured_skin_skin_dimension_binding": "#featured_skin_pack_dimensions",
"$grid_item_template|default": "persona.featured_skin_pack_button_panel",
"$feature_skin_pack_button_size|default": [ "33%", "56.25%x" ],
"grid_item_template": "$grid_item_template",
"collection_name": "$persona_featured_skin_pack_collection_name",
"$featured_skin_grid_dimensions|default": [ 3, 1 ],
"grid_dimensions": "$featured_skin_grid_dimensions"
},
"classic_skin_featured_content@common.horizontal_stack_panel": {
"size": [ "100% - 4px", "100%cm" ],
"$featured_skin_grid_panel_size|default": [ "fill", "100%c + 4px" ],
"$cycle_button_panel_size": [ 15, "100%sm" ],
"$cycle_button_size": [ "100%", "90%" ],
"$ignore_cycle_buttons|default": false,
"$is_skins": true,
"controls": [
{
"left_cycle_button@persona.left_cycle_button": {
"size": [ 15, "100%sm" ],
"$pressed_button_name": "button.cycle_featured_skins_left",
"$cycle_pack_button_name_right": "button.cycle_featured_skins_right",
"$cycle_pack_button_name_left": "button.cycle_featured_skins_left",
"$cycle_pack_button_enabled": "#is_left_cycle_featured_skins_button_enabled"
}
},
{
"featured_skin_grid_panel": {
"type": "panel",
"size": "$featured_skin_grid_panel_size",
"controls": [
{ "featured_skin_grid@persona.right_panel_classic_skin_featured_grid": {} }
]
}
},
{
"right_cycle_button@persona.right_cycle_button": {
"size": [ 15, "100%sm" ],
"$pressed_button_name": "button.cycle_featured_skins_right",
"$cycle_pack_button_name_right": "button.cycle_featured_skins_right",
"$cycle_pack_button_name_left": "button.cycle_featured_skins_left",
"$cycle_pack_button_enabled": "#is_right_cycle_featured_skins_button_enabled"
}
}
]
},
"classic_skin_featured_panel_content": {
"type": "panel",
"size": [ "100%", "100%c" ],
"controls": [
{ "classic_skin_featured_content@persona.classic_skin_featured_content": {} }
]
},
"right_side_classic_skin_featured_panel@persona.right_side_dialog_panel": {
"size": [ "100%", "100%c + 4px" ],
"$right_side_dialog_size": [ "100%", "100%c + 2px" ],
"$right_side_dialog_bg_size": [ "100% - 2px", "100%c" ],
"$rarity_title_background_alpha|default": "$dressing_room_panel_alpha",
"$info_title_control": "persona.title_rarity_background_image",
"$info_content_control": "persona.classic_skin_featured_panel_content",
"$persona_dialog_content": "persona.offer_info_section_content",
"$offer_info_section_content_size": [ "100%", "100%c" ],
"$info_content_panel_size": [ "100%", "100%cm" ],
"$info_and_selection_panel_size": [ "100%", "100%c" ],
"$info_bottom_section_size": [ "100%", "100%cm" ],
"$ignore_cycle_buttons": true,
"$info_panel_prefix": "classic_skin_featured"
},
"emotes_right_info_panel@persona.right_info_panel": {
"$right_side_bottom_buttons|default": "persona.emotes_right_side_bottom_buttons"
},
"right_side_emotes_info_panel@persona.piece_list_right_side_section": {
"$ignore_title_bar_visibility": true,
"$info_panel_prefix": "emote",
"$info_content_control": "persona.emotes_right_info_panel",
"$persona_dialog_content": "persona.offer_info_section_content"
},
"right_side_stack@common.vertical_stack_panel": {
"size": [ "fill", "100%" ],
"$right_side_default_text_color": "$dressing_room_right_side_default_text_color",
"$left_focus_container_override|default": "left_main_panel",
"focus_container": true,
"use_last_focus": false,
"focus_wrap_enabled": false,
"focus_navigation_mode_left": "custom",
"focus_navigation_mode_right": "stop",
"focus_navigation_mode_down": "stop",
"focus_navigation_mode_up": "custom",
"focus_container_custom_up": [
{
"other_focus_container_name": "top_bar"
}
],
"focus_container_custom_left": [
{
"other_focus_container_name": "$left_focus_container_override"
}
],
"controls": [
{ "debug_information@persona.right_side_stack_debug_control": {} },
{ "dressing_room_skin_model@persona.dressing_room_right_side_model": {} },
{ "padding@persona.vertical_2_padding": {} },
{ "csb_banner@persona.csb_timer_banner": {} },
// below are the sub sections which dis/re-appear depending on context.
{
"offer_related_info_panels": {
"type": "panel",
"size": [ "100%", "100%cm" ],
"controls": [
{ "getting_started@persona.persona_getting_started_panel": {} },
{ "piece_offer_info_panel@persona.piece_list_right_side_section": {} },
{ "size_info_panel@persona.size_right_side_info_section": {} },
{ "offer_info_panel_skins@persona.right_side_offer_info_skins": {} },
{ "emote_info_panel@persona.right_side_emotes_info_panel": {} }
],
"bindings": [
{
"binding_type": "view",
"source_control_name": "color_picker_info_panel",
"source_property_name": "(not #visible)",
"target_property_name": "#visible",
"resolve_sibling_scope": true
}
]
}
},
{ "color_picker_info_panel@persona.right_side_color_picker_panel": {} }
]
},
///////////////////////////////////////////////////////////////////////////////////////
//// dressing room right side panel content
"info_text_summary_author_button@common_buttons.underline_button": {
"offset": [ 2, 0 ],
"size": [ "100%c", 12 ],
"layer": 2,
"$pressed_button_name": "button.seeMoreBy",
"$single_label_size": [ "default", 10 ],
"$single_line_label_offset": [ 0, 0 ],
"$single_line_font_scale_factor": 1,
"$single_line_label_color": "$right_side_default_text_color",
"$single_line_label_text": "#creator_label",
"$label_text_bindings": [
{
"binding_name": "$single_line_label_text"
}
],
"bindings": [
{
"binding_name": "(not #emotes_active)",
"binding_name_override": "#enabled"
}
]
},
"info_text_summary_button_panel": {
"type": "panel",
"size": [ "100%c", "100%c" ],
"bindings": [
{
"binding_name": "(not (#creator_label = ''))",
"binding_name_override": "#visible"
}
],
"controls": [
{ "summary_author_button@persona.info_text_summary_author_button": {} }
]
},
"info_text_box_description_stack_locked_icon@persona.icon_image": {
"size": [ 12, 11 ],
"anchor_to": "top_middle",
"anchor_from": "top_middle",
"bindings": [
{
"binding_name": "#achievement_offer_lock_state_texture",
"binding_name_override": "#texture"
}
]
},
"info_text_box_description_stack_lock_state_panel@common.empty_panel": {
"size": [ 15, "100%" ],
"bindings": [
{
"binding_name": "#is_offer_achievement",
"binding_name_override": "#visible"
}
],
"controls": [
{ "locked_state_icon@persona.info_text_box_description_stack_locked_icon": {} }
]
},
"info_text_box_description_stack_description_label": {
"type": "label",
"size": [ "100%", 14 ],
"offset": [ 0, 5 ],
"layer": 2,
"color": "$right_side_default_text_color",
"text": "#right_panel_description",
"font_type": "smooth",
"font_scale_factor": 0.7,
"bindings": [
{
"binding_name": "#right_panel_description"
}
]
},
"info_text_description_padding@persona.horizontal_2_padding": {
"bindings": [
{
"binding_name": "(not #is_offer_achievement)",
"binding_name_override": "#visible"
}
]
},
"description_reward_panel": {
"type": "panel",
"size": [ "fill", "fill" ],
"bindings": [
{
"binding_name": "(not (#creator_label = ''))",
"binding_name_override": "#visible"
},
{
"binding_name": "#right_panel_description"
}
],
"controls": [
{ "summary_author_button@persona.info_text_box_description_stack_description_label": {} }
]
},
"info_text_box_description_stack_label_panel@common.horizontal_stack_panel": {
"size": [ "100%", "fill" ],
"controls": [
{ "lock_state_icon_panel@persona.info_text_box_description_stack_lock_state_panel": {} },
{ "padding@persona.info_text_description_padding": {} },
{ "description_text_panel@persona.description_reward_panel": {} }
]
},
"info_text_box_description_label_stack@common.vertical_stack_panel": {
"size": [ "100%", "fill" ],
"controls": [
{ "description_label_panel@persona.info_text_box_description_stack_label_panel": {} }
]
},
"info_text_box_description_stack@common.vertical_stack_panel": {
"size": [ "100%", "fill" ],
"controls": [
{ "summary_author_button_panel@persona.info_text_summary_button_panel": {} },
{ "description_label_vert_stack@persona.info_text_box_description_stack_label_panel": {} }
]
},
"info_text_box_padding@persona.vertical_2_padding": {
"bindings": [
{
"binding_name": "#currency_purchase_visible",
"binding_name_override": "#visible"
}
]
},
"info_text_box@common.vertical_stack_panel": {
"size": [ "100%", "100% - 17px" ],
"anchor_to": "top_left",
"anchor_from": "top_left",
"$legal_text_offset": [ 2, -4 ],
"controls": [
{ "description_panel@persona.info_text_box_description_stack": {} },
{ "mid_padding@persona.info_text_box_padding": {} },
{ "disclaimer_panel@common_store.disclaimer_panel": {} }
]
},
"category_featured_offer_content@common.horizontal_stack_panel": {
"size": [ "100%", "100%cm" ],
"$cycle_button_panel_size": [ 15, "100%sm" ],
"$cycle_button_size": [ "100%", "90%" ],
"$ignore_cycle_buttons|default": false,
"$ignore_piece_offer_grid_dimension_binding": true,
"controls": [
{
"left_cycle_button@persona.left_cycle_button": {
"size": [ 15, "100%sm" ],
"$pressed_button_name": "button.cycle_featured_pieces_left",
"$cycle_pack_button_name_left": "button.cycle_featured_pieces_left",
"$cycle_pack_button_enabled": "#is_left_cycle_featured_pieces_button_enabled"
}
},
{
"left_padding": {
"ignored": "$ignore_cycle_buttons",
"type": "panel",
"size": [ 2, 0 ]
}
},
{
"category_featured_offer_grid_panel": {
"type": "stack_panel",
"$category_featured_offer_grid_size|default": [ "fill", "17%x" ],
"size": "$category_featured_offer_grid_size",
"$piece_section_collection_details": "collection_details",
"$piece_section_binding_type": "collection",
"$piece_section_collection_prefix": "piece_section",
"$piece_section_collection_name": "piece_section_collection",
"bindings": [
{
"binding_type": "$piece_section_collection_details",
"binding_collection_name": "$piece_section_collection_name",
"binding_collection_prefix": "$piece_section_collection_prefix"
}
],
"controls": [
{
"category_featured_offer_grid@persona.persona_piece_offer_grid": {
"size": [ "100%", "100%" ],
"clip_state_change_event": "",
"$featured_grid_dimensions|default": [ 6, 1 ],
"grid_dimensions": "$featured_grid_dimensions",
"grid_rescaling_type": "none"
}
}
]
}
},
{
"right_padding": {
"ignored": "$ignore_cycle_buttons",
"type": "panel",
"size": [ 2, 0 ]
}
},
{
"right_cycle_button@persona.right_cycle_button": {
"size": [ 15, "100%sm" ],
"$pressed_button_name": "button.cycle_featured_pieces_right",
"$cycle_pack_button_name_right": "button.cycle_featured_pieces_right",
"$cycle_pack_button_enabled": "#is_right_cycle_featured_pieces_button_enabled"
}
}
]
},
"category_featured_offer_panel": {
"type": "panel",
"$category_featured_offer_panel_size|default": [ "100%", "100%cm + 2px" ],
"size": "$category_featured_offer_panel_size",
"$persona_piece_collection_name": "piece_collection",
"$piece_grid_dimension_binding": "'#' + $piece_section_collection_prefix + '_grid_dimension_binding'",
"$category_featured_offer_size|default": [ "16.7% - 2px", "100%" ],
"$pressed_button_function": "('button.' + $piece_section_collection_prefix)",
"$input_progress_loading_binding_type": "$piece_section_binding_type",
"$input_progress_loading_collection_name": "$piece_section_collection_name",
"$input_progress_loading_binding_name": "('#is_' + $piece_section_collection_prefix + '_section_loading')",
"$ignore_emote_keybind_helpers": true,
"$piece_grid_visible_binding_name": "('#is_' + $piece_section_collection_prefix + '_offers_visible'",
"controls": [
{
"category_featured_content@persona.category_featured_offer_content": {
"$persona_piece_size": "$category_featured_offer_size"
}
},
{
"progress_loading_input_panel@persona.progress_loading_input_panel": {}
}
]
},
///////////////////////////////////////////////////////////////////////////////////////
//// color picker controls
"color_picker@common.tooltip_background": {
"size": [ 210, 88 ],
"layer": 100,
"controls": [
{ "panel_control@$child_control": {} }
]
},
"color_grid": {
"type": "grid",
"size": [ "100% - 2px", "100%c + 2px" ],
"anchor_to": "top_middle",
"anchor_from": "top_middle",
"grid_item_template": "persona.color_grid_item",
"grid_rescaling_type": "horizontal",
"grid_dimension_binding": "#color_single_page_size",
"collection_name": "color_collection",
"bindings": [
{
"binding_name": "#color_single_page_size",
"binding_name_override": "#maximum_grid_items"
}
]
},
"color_picker_info_panel_title": {
"type": "image",
"size": [ "100%", 12 ],
"alpha": "$dressing_room_panel_alpha",
"texture": "textures/ui/White",
"bindings": [
{
"binding_name": "#color_picker_info_panel_title_color",
"binding_name_override": "#color"
}
],
"controls": [
{
"color_name": {
"type": "label",
"anchor_from": "left_middle",
"anchor_to": "left_middle",
"font_type": "MinecraftTen",
"color": "$dressing_room_right_side_default_text_color",
"layer": 2,
"offset": [ 2, -1 ],
"text": "#color_picker_info_panel_title_name",
"text_alignment": "left",
"bindings": [
{
"binding_name": "#color_picker_info_panel_title_name"
}
]
}
}
]
},
///////////////////////////////////////////////////////////////////////////////////////
//// classic skins right side panel content
"appearance_status_image_panel@common.empty_panel": {
"size": [ "100%cm", "100%c" ],
"controls": [
{
"usage_limited@persona.info_bulb_icon": {
"bindings": [
{
"binding_name": "#skin_pack_right_panel_usage_is_limited",
"binding_name_override": "#visible"
}
]
}
},
{
"usage_not_limited@persona.green_checkmark_icon": {
"bindings": [
{
"binding_name": "(not #skin_pack_right_panel_usage_is_limited)",
"binding_name_override": "#visible"
}
]
}
}
]
},
"appearance_status_panel": {
"type": "panel",
"controls": [
{
"appearance_status@common.horizontal_stack_panel": {
"size": [ "100% - 4px", "100%" ],
"anchor_from": "left_middle",
"anchor_to": "left_middle",
"controls": [
{
"appearance_status_image_panel@persona.appearance_status_image_panel": {}
},
{
"label_panel": {
"type": "panel",
"size": [ "85%", "100%" ],
"controls": [
{
"label": {
"type": "label",
"size": [ "100%", 10 ],
"offset": [ 0, -1 ],
"layer": 2,
"text_alignment": "left",
"color": "$dressing_room_right_side_default_text_color",
"text": "#skin_pack_right_panel_usage_text",
"font_type": "smooth",
"bindings": [
{
"binding_type": "global",
"binding_name": "#skin_pack_right_panel_usage_text"
}
]
}
}
]
}
}
]
}
}
]
},
"roamable_status_notification_panel": {
"type": "input_panel",
"size": [ "100%", 10 ],
"$text_binding_name|default": "#skin_pack_right_panel_usage_text",
"button_mappings": [
{
"to_button_id": "button.is_appearance_status_hovered",
"mapping_type": "pressed"
}
],
"controls": [
{
"appearance_status_notification@common_buttons.static_tooltip_notification_panel": {
"size": [ "100%", "100%" ],
"offset": [ "-50% + 10px", 0 ],
"button_mappings": [],
"consume_hover_events": false,
"focus_enabled": true,
"$static_tooltip_button_visibility_binding_name": "#is_right_panel_classic_skin_pack_visible",
"$tooltip_popup_visible_binding": "#is_appearance_status_hover_panel_visible",
"$override_tooltip_popup_image": true,
"$tooltip_popup_override_image_panel": "persona.appearance_status_image_panel",
"$tooltip_text_binding_name": "#skin_pack_right_panel_usage_tooltip_text",
"$tooltip_panel_content": "common.empty_panel",
"$tooltip_panel_content_background_alpha": 0.0,
"$tooltip_panel_size": [ "140%", "100%cm + 8px" ],
"$tooltip_panel_offset": [ "-14%", "-100%c - 2px" ],
"$tooltip_popup_chevron_offset": [ "7%", "100%y - 3px" ],
"$tooltip_chevron_anchor": "bottom_middle",
"$tooltip_text_font_type": "smooth",
"$button_tts_name": "$text_binding_name",
"bindings": [
{
"binding_type": "global",
"binding_name": "$text_binding_name"
}
]
}
},
{
"roamable_status@persona.skin_info_label_and_image": {
"$texture_to_show": "persona.appearance_status_image_panel",
"$text_binding_name": "#skin_pack_right_panel_usage_text"
}
}
]
},
"pack_information_skins_and_world@common.vertical_stack_panel": {
"size": [ "40%", 22 ],
"$middle_padding|default": "persona.vertical_2_padding",
"controls": [
{
"skins@persona.skin_info_label_and_image": {
"size": [ "100%", 10 ],
"$texture_to_show": "persona.mashup_hangar",
"$text_binding_name": "#skin_pack_right_panel_skin_count_text"
}
},
{ "mid_padding@$middle_padding": {} },
{
"worlds@persona.skin_info_label_and_image": {
"size": [ "100%", 10 ],
"$texture_to_show": "persona.mashup_world",
"$text_binding_name": "#skin_pack_right_panel_world_count_text"
}
}
]
},
"pack_information_textures_and_usage_tooltip@common.vertical_stack_panel": {
"size": [ "60%", 22 ],
"$middle_padding|default": "persona.vertical_2_padding",
"controls": [
{
"textures@persona.skin_info_label_and_image": {
"size": [ "100%", 10 ],
"$texture_to_show": "persona.mashup_PaintBrush",
"$text_binding_name": "#skin_pack_right_panel_texture_pack_count_text"
}
},
{ "mid_padding@$middle_padding": {} },
{ "appearance_status@persona.roamable_status_notification_panel": {} }
]
},
"popup_dialog_close_button@common_buttons.light_text_button": {
"layer": 2,
"$pressed_button_name": "button.close_dialog",
"$button_text": "gui.close",
"button_mappings": [
{
"from_button_id": "button.menu_cancel",
"to_button_id": "button.close_dialog",
"mapping_type": "global"
},
{
"from_button_id": "button.menu_select",
"to_button_id": "button.close_dialog",
"mapping_type": "focused"
},
{
"from_button_id": "button.menu_ok",
"to_button_id": "button.close_dialog",
"mapping_type": "focused"
}
]
},
///////////////////////////////////////////////////////////////////////////////////////
//// Realms plus extra info popup
"realms_extra_info_button_collection@common.vertical_stack_panel": {
"size": [ "100% - 16px", 26 ],
"offset": [ 0, -10 ],
"anchor_from": "bottom_middle",
"anchor_to": "bottom_middle",
"controls": [
{ "close@persona.popup_dialog_close_button": {} }
]
},
"realms_extra_info_panel_text": {
"type": "label",
"layer": 2,
"color": "$light_button_default_text_color",
"offset": [ 0, 7 ],
"anchor_to": "top_middle",
"anchor_from": "top_middle",
"font_type": "default",
"text": "#realms_plus_skin_pack_name",
"bindings": [
{
"binding_name": "#realms_plus_skin_pack_name"
}
]
},
"realms_extra_info_pack_info": {
"size": [ 94, 53 ],
"type": "image",
"keep_ratio": false,
"bindings": [
{
"binding_name": "#realms_plus_skin_pack_texture",
"binding_name_override": "#texture"
},
{
"binding_name": "#realms_plus_skin_pack_texture_file_system",
"binding_name_override": "#texture_file_system"
}
]
},
"realms_extra_info_content@common.empty_panel": {
"size": [ "100% - 16px", "100% - 65px" ],
"anchor_to": "center",
"anchor_from": "center",
"offset": [ 0, -9.5 ],
"controls": [
{
"the_spread@common.horizontal_stack_panel": {
"size": [ "100%", "100%" ],
"offset": [ 7, 6 ],
"controls": [
{ "pack_image@persona.realms_extra_info_pack_info": {} },
{ "padding@persona.horizontal_6_padding": {} },
{
"the_info_stack@common.vertical_stack_panel": {
"$middle_padding": "persona.vertical_5_padding",
"controls": [
{ "skins_and_world@persona.pack_information_skins_and_world": {} },
{ "padding@$middle_padding": { "size": [ "100%", 6 ] } },
{ "textures_and_usage@persona.pack_information_textures_and_usage_tooltip": {} }
]
}
}
]
}
}
]
},
"realms_extra_info_panel@common.empty_panel": {
"controls": [
{ "realms_extra@persona.realms_extra_info_content": {} },
{ "button_group@persona.realms_extra_info_button_collection": {} }
]
},
"realms_plus_extra_info_popup_dialog_bg@common_dialogs.dialog_background_hollow_2": {
"size": [ "100%", "100%" ],
"$persona_popup_title_text|default": "dr.classic_skins.select_skin.title",
"$persona_popup_title_font_type|default": "MinecraftTen",
"$persona_popup_title_offset|default": [ 0, 8 ],
"controls": [
{
"background_image": {
"type": "image",
"layer": -1,
"size": "$section_content_size",
"offset": "$section_content_offset",
"texture": "textures/ui/White",
"color": "$dressing_room_dark_bg_color",
"alpha": "$dressing_room_background_alpha"
}
},
{ "title@persona.realms_extra_info_panel_text": {} },
{ "popup_content@$dialog_content": {} }
]
},
"popup_dialog__realms_plus_extra_info@popup_dialog.popup_dialog": {
"size": [ "100%", "100%" ],
"layer": 990,
"$message_text": "dr.classic_skins.select_skin",
"$section_content_size": [ "100%", "100% - 16px" ],
"$section_content_offset": [ 0, 0 ],
"controls": [
{
"background_image": {
"type": "image",
"size": [ "100%", "100% + 64px" ],
"offset": "$section_content_offset",
"texture": "textures/ui/White",
"color": "$dressing_room_dark_bg_color",
"alpha": 0.8
}
},
{
"dialog_bg@persona.realms_plus_extra_info_popup_dialog_bg": {
"$dialog_content": "persona.realms_extra_info_panel",
"size": [ 219, 133 ]
}
}
]
},
///////////////////////////////////////////////////////////////////////////////////////
//// right panel skin pack info
"right_realms_pack_button_more_info@common_buttons.light_content_button": {
"layer": 92, // Must be usable on top of skin rotation input panel which has layer of 90
"$button_content": "persona.bigger_usage_limited_bulb",
"size": [ 21.5, 20 ],
"$button_size_override": [ 20, 20 ],
"$pressed_button_name": "button.realms_pack_more_info",
"$default_state_border_visible": true,
"$hover_state_border_visible": true,
"$pressed_state_border_visible": true,
"$locked_state_border_visible": true
},
"right_panel_pack_information_content@common.horizontal_stack_panel": {
"size": [ "100% - 4px", "100%cm + 26px" ],
"controls": [
{ "padding@persona.horizontal_4z_padding": {} },
{ "skins_and_world@persona.pack_information_skins_and_world": {} },
{ "textures_and_usage@persona.pack_information_textures_and_usage_tooltip": {} }
],
"bindings": [
{
"binding_name": "(not #is_currency_purchase_visible)",
"binding_name_override": "#visible"
}
]
},
"right_panel_disclaimer_and_info_button@common.horizontal_stack_panel": {
"size": [ "100%", "100%" ],
"controls": [
{ "disclaimer_panel@common_store.disclaimer_panel": { "size": [ "fill", "100% - 26px" ] } },
{ "realms_plus_more_info_button@persona.right_realms_pack_button_more_info": {} }
],
"bindings": [
{
"binding_name": "#is_currency_purchase_visible",
"binding_name_override": "#visible"
}
]
},
"right_panel_pack_info_content_stack@common.empty_panel": {
"size": [ "100%", "100%" ],
"controls": [
{ "information@persona.right_panel_pack_information_content": {} },
{ "right_disclaimer_button@persona.right_panel_disclaimer_and_info_button": {} }
]
},
"right_panel_classic_skin_pack@common.horizontal_stack_panel": {
"size": [ "100%", "100%" ],
"controls": [
{
"pack_info@common.vertical_stack_panel": {
"size": [ "100%", "100%" ],
"controls": [
{ "top_padding@persona.vertical_2_padding": {} },
{ "right_panel_pack_info_content@persona.right_panel_pack_info_content_stack": {} },
{ "bottom_padding@persona.vertical_5_padding": {} }
]
}
}
]
},
///////////////////////////////////////////////////////////////////////////////////////
"featured_skin_pack_button_content_panel": {
"type": "panel",
"controls": [
{
"featured_skin_pack_button_content_visible_panel": {
"type": "panel",
"controls": [
{
"featured_skin_pack_button_content@persona.in_use_grid_item": {
"size": [ "100% - 2px", "100% - 2px" ],
"$in_use_grid_collection_name": "$featured_skin_pack_collection_name"
}
},
{
"offer_state_info@persona.offer_state_info": {
"$offer_state_info_collection_name": "$featured_skin_pack_collection_name"
}
}
],
"bindings": [
{
"binding_type": "collection",
"binding_name": "(not #is_featured_classic_skin_loading)",
"binding_collection_name": "$featured_skin_pack_collection_name",
"binding_name_override": "#visible"
}
]
}
},
{
"progress_loading@persona.progress_loading": {
"bindings": [
{
"binding_type": "collection",
"binding_condition": "always",
"binding_name": "#is_featured_classic_skin_loading",
"binding_collection_name": "$featured_skin_pack_collection_name",
"binding_name_override": "#visible"
}
]
}
}
]
},
"featured_skin_pack_button_panel": {
"type": "panel",
"size": "$feature_skin_pack_button_size",
"$featured_skin_pack_collection_name": "persona_featured_skin_pack_collection",
"$pressed_button_name": "button.featured_skin_pack_pressed",
"bindings": [
{
"binding_type": "collection",
"binding_name": "#is_featured_pack_visible",
"binding_collection_name": "$featured_skin_pack_collection_name",
"binding_name_override": "#visible"
}
],
"controls": [
{
"featured_skin_pack_button@common.button": {
"max_size": [ "100%", "100%" ],
"$controller_left_bumper_mapping|default": "",
"$controller_right_bumper_mapping|default": "",
"controls": [
{ "default@common.empty_panel": {} },
{ "hover@persona.focus_border": {} },
{ "pressed@persona.focus_border": {} },
{ "featured_content@persona.featured_skin_pack_button_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"
},
{
"to_button_id": "button.asset_button_hovered",
"mapping_type": "pressed"
},
{
"ignored": "($controller_left_bumper_mapping = '')",
"from_button_id": "button.menu_tab_left",
"to_button_id": "$controller_left_bumper_mapping",
"mapping_type": "focused"
},
{
"ignored": "($controller_right_bumper_mapping = '')",
"from_button_id": "button.menu_tab_right",
"to_button_id": "$controller_right_bumper_mapping",
"mapping_type": "focused"
}
],
"bindings": [
{
"binding_type": "collection_details",
"binding_collection_name": "$featured_skin_pack_collection_name",
"binding_collection_prefix": "persona_featured_skin_pack"
}
]
}
}
]
},
"to_realms_plus_screen_realms_text": {
"type": "label",
"offset": [ 0, 2 ],
"size": [ "100%", "100%" ],
"text": "dr.classic_skins.realms_plus_button",
"text_alignment": "center",
"color": "$light_button_default_text_color"
},
"to_realms_plus_screen_realms_text_container@common.empty_panel": {
"size": [ "fill", "100%" ],
"controls": [
{ "to_realms_text@persona.to_realms_plus_screen_realms_text": {} }
]
},
"to_realms_plus_screen_realms_banner@persona.realms_banner_big": {
"anchor_from": "left_middle",
"anchor_to": "left_middle",
"offset": [ -3, 0 ],
"controls": [
{
"realms_icon@persona.realms_icon": {
"anchor_from": "left_middle",
"anchor_to": "left_middle",
"layer": 1,
"offset": [ 4, 0 ]
}
}
]
},
"to_realms_plus_screen_realms_banner_container@common.empty_panel": {
"size": [ "100%cm - 3px", "100%" ],
"controls": [
{ "realms_banner@persona.to_realms_plus_screen_realms_banner": {} }
]
},
"to_realms_plus_buy_screen_content@common.horizontal_stack_panel": {
"size": [ "100%", "100%" ],
"controls": [
{ "realms_banner@persona.to_realms_plus_screen_realms_banner_container": {} },
{ "realms_text@persona.to_realms_plus_screen_realms_text_container": {} }
]
},
"right_panel_classic_skin_pack_bottom_buttons@common.horizontal_stack_panel": {
"anchor_from": "bottom_left",
"anchor_to": "bottom_left",
"offset": [ 0, -1 ],
"size": [ "100% - 1px", 20 ],
"controls": [
{ "purchase_buttons_panel@persona.purchase_buttons": {} }
]
},
"right_panel_classic_skin_pack_information@common.empty_panel": {
"controls": [
{
"content_panel@common.empty_panel": {
"controls": [
{ "content_pack@persona.right_panel_classic_skin_pack": {} },
{ "bottom_buttons@persona.right_panel_classic_skin_pack_bottom_buttons": {} }
],
"bindings": [
{
"binding_name": "(not #is_classic_skin_current_offer_loading)",
"binding_name_override": "#visible"
}
]
}
},
{
"progress_loading@persona.loading_progress_bars": {
"bindings": [
{
"binding_name": "#is_classic_skin_current_offer_loading",
"binding_name_override": "#visible"
}
]
}
}
]
},
"usage_limited_bulb_panel@common.empty_panel": {
"size": [ 10, 12 ],
"controls": [
{ "bulb@persona.usage_limited_bulb": {} }
]
},
"usage_limited_bulb@persona.info_bulb_icon": {
"anchor_from": "center",
"anchor_to": "center"
},
"bigger_usage_limited_bulb@persona.info_bulb_icon": {
"size": [ 10, 12 ],
"anchor_from": "center",
"anchor_to": "center"
},
"usage_limited_right_panel_text": {
"type": "label",
"size": [ "fill", "default" ],
"text": "#right_panel_description",
"text_alignment": "left",
"font_type": "smooth",
"font_scale_factor": 0.75,
"color": "$dressing_room_right_side_default_text_color",
"bindings": [
{
"binding_name": "#right_panel_description"
}
]
},
"usage_limited_stack@common.horizontal_stack_panel": {
"size": [ "100%", "100%" ],
"anchor_from": "top_left",
"anchor_to": "top_left",
"offset": [ 0, 4 ],
"controls": [
{ "left@persona.horizontal_4_padding": {} },
{ "usage_limited@persona.usage_limited_bulb_panel": {} },
{ "pad@persona.horizontal_2_padding": {} },
{ "text@persona.usage_limited_right_panel_text": {} },
{ "right@persona.horizontal_4_padding": {} }
]
},
"default_body_text_panel@common.empty_panel": {
"size": [ "100%", "100%c" ],
"offset": [ 3, 1 ],
"anchor_from": "top_left",
"anchor_to": "top_left",
"controls": [
{ "text@persona.usage_limited_right_panel_text": {} }
]
},
"select_custom_skin@common_buttons.light_text_form_fitting_button": {
"$ignore_choose_skin|default": true,
"ignored": "$ignore_choose_skin",
"anchor_from": "bottom_left",
"anchor_to": "bottom_left",
"$pressed_button_name": "button.choose_custom_skin",
"$button_text": "dr.classic_skins.choose_custom_skin",
"bindings": [
{
"binding_name": "#custom_skin_button_enabled",
"binding_name_override": "#enabled"
}
]
},
"info_popup_button@common_buttons.light_content_button": {
"size": [ 20, 20 ],
"anchor_from": "bottom_right",
"anchor_to": "bottom_right",
"$pressed_button_name": "button.custom_skin_info_popup",
"$button_content": "persona.bigger_usage_limited_bulb"
},
"select_custom_skin_stack@common.empty_panel": {
"size": [ "100% - 1px", 20 ],
"offset": [ 0, -1 ],
"anchor_from": "bottom_middle",
"anchor_to": "bottom_middle",
"controls": [
{ "select_skin@persona.select_custom_skin": {} },
{ "extra_info@info_popup_button": {} }
]
},
"right_panel_classic_skin_default_pack_information": {
"type": "panel",
"controls": [
{ "stack@persona.usage_limited_stack": {} },
{ "button_stack@select_custom_skin_stack": {} }
]
},
"right_panel_classic_skin_pack_info@persona.right_panel_classic_skin_pack_information": {
"bindings": [
{
"binding_name": "#is_right_panel_classic_skin_pack_visible",
"binding_name_override": "#visible"
}
]
},
"right_panel_classic_default_skin_pack@persona.right_panel_classic_skin_default_pack_information": {
"$ignore_choose_skin": false,
"bindings": [
{
"binding_name": "#is_right_panel_classic_custom_visible",
"binding_name_override": "#visible"
}
]
},
"right_panel_classic_blank_skin_pack_info@persona.default_body_text_panel": {
"bindings": [
{
"binding_name": "(not #is_right_panel_classic_custom_visible)",
"binding_name_override": "#visible"
}
]
},
"right_panel_classic_skin_pack_built_in@common.empty_panel": {
"controls": [
{ "default_skin_pack_info@persona.right_panel_classic_default_skin_pack": {} },
{ "blank_skin_pack_info@persona.right_panel_classic_blank_skin_pack_info": {} }
],
"bindings": [
{
"binding_name": "(not #is_right_panel_classic_skin_pack_visible)",
"binding_name_override": "#visible"
}
]
},
"right_panel_classic_skin_content": {
"type": "panel",
"controls": [
{ "skin_pack_info@persona.right_panel_classic_skin_pack_info": {} },
{ "built_in_skin_pack@right_panel_classic_skin_pack_built_in": {} }
]
},
"right_panel_classic_skins_title@common.horizontal_stack_panel": {
"size": [ "100%", "100%cm" ],
"controls": [
{
"padding_start@common.empty_panel": {
"size": [ "3px", "100%sm" ]
}
},
{
"title_panel@common.empty_panel": {
"type": "input_panel",
"size": [ "50% - 4px", "100%c + 4px" ],
"controls": [
{
"title": {
"type": "label",
"size": [ "100%", 10 ],
"layer": 2,
"color": "$dressing_room_right_side_default_text_color",
"font_type": "MinecraftTen",
"offset": [ 0, -2 ],
"text": "#skin_pack_title",
"text_alignment": "left",
"bindings": [
{
"binding_name": "#skin_pack_title"
}
]
}
}
]
}
},
{
"author_panel@common.empty_panel": {
"size": [ "50% - 2px", "100%c + 4px" ],
"controls": [
{
"author": {
"type": "label",
"size": [ "100%", 10 ],
"layer": 2,
"color": "$dressing_room_right_side_default_text_color",
"text": "#skin_pack_author",
"text_alignment": "right",
"bindings": [
{
"binding_name": "#skin_pack_author"
}
]
}
}
]
}
},
{
"padding_end@common.empty_panel": {
"size": [ "4px", "100%sm" ]
}
}
]
},
///////////////////////////////////////////////////////////////////////////////////////
//// body sizing objects
"size_option_content": {
"type": "image",
"texture": "textures/ui/slots_bg",
"size": [ "100% - 2px", "100%" ],
"controls": [
{
"size_option_image": {
"type": "image",
"anchor_to": "bottom_middle",
"anchor_from": "bottom_middle",
"size": "$image_size",
"offset": [ 0, -5 ],
"bindings": [
{
"binding_type": "collection",
"binding_collection_name": "$size_option_collection_name",
"binding_name": "$size_option_image_binding_name",
"binding_name_override": "#texture"
}
]
}
}
]
},
"size_option_panel": {
"type": "panel",
"$size_option_panel_size|default": [ "25%", "100%" ],
"size": "$size_option_panel_size",
"controls": [
{
"size_option_button@common.button": {
"$button_content": "persona.size_option_content",
"$pressed_button_name": "$size_option_pressed_button_name",
"$focus_id": "body_option",
"controls": [
{ "default@common.empty_panel": {} },
{
"hover@persona.focus_border": {
"layer": 4
}
},
{
"pressed@persona.selected_border": {
"layer": 3
}
},
{
"content@$button_content": {
"layer": 2
}
},
{
"equipped@persona.equipped_border": {
"layer": 10,
"size": [ "100% + 2px", "100% + 2px" ],
"$enable_border": false,
"bindings": [
{
"binding_type": "collection",
"binding_collection_name": "$size_option_collection_name",
"binding_name": "$equipped_border_binding",
"binding_name_override": "#visible"
}
]
}
},
{
"selected@persona.selected_border": {
"layer": 8,
"size": [ "100% + 2px", "100% + 2px" ],
"$enable_border": false,
"bindings": [
{
"binding_type": "collection",
"binding_collection_name": "$size_option_collection_name",
"binding_name": "$selection_border_binding",
"binding_name_override": "#visible"
}
]
}
}
],
"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"
},
{
"to_button_id": "button.piece_button_hovered",
"mapping_type": "pressed"
}
],
"size": [ "100%", "100%" ],
"bindings": [
{
"binding_type": "collection_details",
"binding_collection_name": "$size_option_collection_name",
"binding_collection_prefix": "$size_option_collection_prefix"
}
]
}
}
]
},
"body_size_option_grid@common.horizontal_stack_panel": {
"collection_name": "$size_option_collection_name",
"layer": 10,
"bindings": [
{
"binding_type": "collection_details",
"binding_collection_name": "$size_option_collection_name",
"binding_collection_prefix": "$size_option_collection_prefix"
}
],
"controls": [
{
"smaller@persona.size_option_panel": {
"$image_size": [ 18, 28.8 ],
"collection_index": 0
}
},
{
"small@persona.size_option_panel": {
"$image_size": [ 18, 32.4 ],
"collection_index": 1
}
},
{
"medium@persona.size_option_panel": {
"$image_size": [ 18, 36 ],
"collection_index": 2
}
},
{
"tall@persona.size_option_panel": {
"$image_size": [ 18, 37.8 ],
"collection_index": 3
}
}
]
},
"arm_size_option_grid@common.horizontal_stack_panel": {
"collection_name": "$size_option_collection_name",
"layer": 10,
"bindings": [
{
"binding_type": "collection_details",
"binding_collection_name": "$size_option_collection_name",
"binding_collection_prefix": "$size_option_collection_prefix"
}
],
"controls": [
{
"narrow@persona.size_option_panel": {
"$image_size": [ 12.8, 20 ],
"collection_index": 0
}
},
{
"wide@persona.size_option_panel": {
"$image_size": [ 16, 20 ],
"collection_index": 1
}
}
]
},
"body_sizes@persona.body_size_option_grid": {
"size": [ "100%", 50 ],
"$size_option_pressed_button_name": "button.change_height",
"$size_option_image_binding_name": "#height_image_binding",
"$size_option_dimension_binding": "#body_size_dimensions",
"$selection_border_binding": "#body_size_selected",
"$equipped_border_binding": "#body_size_equipped",
"$size_option_collection_prefix": "body_size",
"$size_option_collection_name": "body_size_collection"
},
"arm_sizes@persona.arm_size_option_grid": {
"size": [ "100%", 30 ],
"$size_option_pressed_button_name": "button.change_arm_size",
"$size_option_image_binding_name": "#arms_image_binding",
"$size_option_dimension_binding": "#arm_size_dimensions",
"$selection_border_binding": "#arm_size_selected",
"$equipped_border_binding": "#arm_size_equipped",
"$size_option_collection_prefix": "arm_size",
"$size_option_collection_name": "arm_size_collection"
},
"arm_size_label": {
"type": "label",
"text": "dr.arm_size_label_text",
"color": "$dressing_room_size_default_text_color"
},
"body_size_label": {
"type": "label",
"text": "dr.body_size_label_text",
"color": "$dressing_room_size_default_text_color"
},
///////
"loading_progress_bars": {
"type": "image",
"layer": 2,
"texture": "textures/ui/loading_spin",
"anchor_from": "center",
"anchor_to": "center",
"offset": [ 0, 6 ],
"uv_size": [ 7, 7 ],
"size": [ 14, 14 ],
"uv": "@progress.spinner_animation",
"controls": [
{
"loading_text": {
"type": "label",
"offset": [ 0, -12 ],
"layer": 2,
"anchor_from": "top_middle",
"anchor_to": "top_middle",
"text_alignment": "center",
"text": "dr.loading",
"color": "$dressing_room_right_side_dark_text_color"
}
}
]
},
"pick_axe_animation": {
"anim_type": "flip_book",
"initial_uv": [ 0, 0 ],
"frame_count": 91,
"frame_step": 10,
"fps": 30,
"reversible": false,
"easing": "linear"
},
"loading_icon": {
"type": "image",
"layer": 1,
"texture": "textures/ui/mine_chop_dig_animation",
"anchor_from": "top_middle",
"anchor_to": "top_middle",
"size": [ 30, 30 ],
"uv_size": [ 10, 10 ],
"uv": "@persona.pick_axe_animation",
"color": [ 1, 1, 1, 1 ]
},
"info_button@common_buttons.light_content_button": {
"layer": 92, // Must be usable on top of skin rotation input panel which has layer of 90
"$button_content": "persona.info_glyph_icon",
"$button_size_override": [ 22, 22 ],
"$pressed_button_name": "button.info_popup"
},
"preview_skin_full@common_buttons.light_content_button": {
"layer": 92, // Must be usable on top of skin rotation input panel which has layer of 90
"$button_content": "persona.view_character_icon",
"$button_size_override": [ 22, 22 ],
"$pressed_button_name": "button.preview_skin",
"$default_state_border_visible": true,
"$hover_state_border_visible": true,
"$pressed_state_border_visible": true,
"$locked_state_border_visible": true
},
"color_picker_right_cycle@common_buttons.light_content_button": {
"$button_content": "persona.right_icon",
"$pressed_button_name": "button.swap_color_channel_right",
"$default_state_border_visible": false,
"$hover_state_border_visible": false,
"$pressed_state_border_visible": false,
"$locked_state_border_visible": false,
"button_mappings": [
{
"from_button_id": "button.menu_tab_right",
"to_button_id": "$pressed_button_name",
"mapping_type": "global"
},
{
"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"
}
]
},
"color_picker_left_cycle@common_buttons.light_content_button": {
"$button_content": "persona.left_icon",
"$pressed_button_name": "button.swap_color_channel_left",
"$default_state_border_visible": false,
"$hover_state_border_visible": false,
"$pressed_state_border_visible": false,
"$locked_state_border_visible": false,
"button_mappings": [
{
"from_button_id": "button.menu_tab_left",
"to_button_id": "$pressed_button_name",
"mapping_type": "global"
},
{
"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"
}
]
},
"leave_color_picker@common_buttons.light_content_button": {
"$button_content": "persona.close_color_icon",
"$pressed_button_name": "button.toggle_skin_color_picker",
"$default_state_border_visible": false,
"$hover_state_border_visible": false,
"$pressed_state_border_visible": false,
"$locked_state_border_visible": false
},
"left_limb_button@common_buttons.light_content_button": {
"$button_content": "persona.left_icon",
"$pressed_button_name": "button.swap_to_left_limb",
"$default_state_border_visible": false,
"$hover_state_border_visible": false,
"$pressed_state_border_visible": false,
"$locked_state_border_visible": false,
"button_mappings": [
{
"from_button_id": "button.menu_tab_left",
"to_button_id": "$pressed_button_name",
"mapping_type": "global"
},
{
"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"
}
]
},
"right_limb_button@common_buttons.light_content_button": {
"$button_content": "persona.right_icon",
"$pressed_button_name": "button.swap_to_right_limb",
"$default_state_border_visible": false,
"$hover_state_border_visible": false,
"$pressed_state_border_visible": false,
"$locked_state_border_visible": false,
"button_mappings": [
{
"from_button_id": "button.menu_tab_right",
"to_button_id": "$pressed_button_name",
"mapping_type": "global"
},
{
"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"
}
]
},
"skin_color_picker@common_buttons.light_content_button": {
"$button_content": "persona.color_picker_icon_content",
"layer": 92,
"$pressed_button_name": "button.toggle_skin_color_picker",
"$default_state_border_visible": true,
"$hover_state_border_visible": true,
"$pressed_state_border_visible": true,
"$locked_state_border_visible": true
},
"color_picker_icon_content@common.horizontal_stack_panel": {
"size": [ "100%", "100%" ],
"controls": [
{ "color_picker_icon@persona.color_picker_icon": {} }
]
},
"offer_state_info": {
"type": "panel",
"$ignore_offer_state_info|default": false,
"$offer_state_info_collection_name|default": "",
"$piece_section_collection_details|default": "none",
"$piece_section_collection_prefix|default": "",
"$piece_section_collection_name|default": "",
"$ignore_emote_keybind_helpers|default": false,
"controls": [
{
"offer_state_info_panel": {
"ignored": "$ignore_offer_state_info",
"type": "panel",
"controls": [
{
"sale_ribbon@persona.icon_image": {
"size": [ 9, 6 ],
"offset": [ -1, -1 ],
"layer": 20,
"anchor_from": "top_left",
"anchor_to": "top_left",
"texture": "textures/ui/slot_sale",
"bindings": [
{
"binding_type": "$piece_section_collection_details",
"binding_collection_name": "$piece_section_collection_name",
"binding_collection_prefix": "$piece_section_collection_prefix"
},
{
"binding_type": "collection",
"binding_collection_name": "$offer_state_info_collection_name",
"binding_name": "#is_offer_on_sale",
"binding_name_override": "#visible"
}
]
}
},
{
"limited_time@persona.icon_image": {
"size": [ 9, 9 ],
"layer": 20,
"anchor_from": "top_right",
"anchor_to": "top_right",
"texture": "textures/ui/icon_timer",
"bindings": [
{
"binding_type": "$piece_section_collection_details",
"binding_collection_name": "$piece_section_collection_name",
"binding_collection_prefix": "$piece_section_collection_prefix"
},
{
"binding_type": "collection",
"binding_collection_name": "$offer_state_info_collection_name",
"binding_name": "#is_limited_time_offer",
"binding_name_override": "#visible"
}
]
}
},
{
"coin_icon@persona.icon_image": {
"size": [ 9, 9 ],
"layer": 21,
"anchor_from": "bottom_right",
"anchor_to": "bottom_right",
"texture": "textures/ui/icon_minecoin_9x9",
"bindings": [
{
"binding_type": "$piece_section_collection_details",
"binding_collection_name": "$piece_section_collection_name",
"binding_collection_prefix": "$piece_section_collection_prefix"
},
{
"binding_type": "collection",
"binding_collection_name": "$offer_state_info_collection_name",
"binding_name": "#is_offer_purchasable_and_not_free",
"binding_name_override": "#visible"
}
]
}
},
{
"free_download@persona.icon_image": {
"size": [ 8, 10 ],
"layer": 22,
"anchor_from": "bottom_right",
"anchor_to": "bottom_right",
"texture": "textures/ui/free_download",
"bindings": [
{
"binding_type": "$piece_section_collection_details",
"binding_collection_name": "$piece_section_collection_name",
"binding_collection_prefix": "$piece_section_collection_prefix"
},
{
"binding_type": "collection",
"binding_collection_name": "$offer_state_info_collection_name",
"binding_name": "#is_redeemable",
"binding_name_override": "#visible"
}
]
}
},
{
"new_offer_symbol@persona.icon_image": {
"size": [ 9, 9 ],
"offset": [ -1, -1 ],
"layer": 21,
"anchor_to": "top_left",
"anchor_from": "top_left",
"texture": "textures/ui/icon_new_item",
"bindings": [
{
"binding_type": "$piece_section_collection_details",
"binding_collection_name": "$piece_section_collection_name",
"binding_collection_prefix": "$piece_section_collection_prefix"
},
{
"binding_type": "collection",
"binding_collection_name": "$offer_state_info_collection_name",
"binding_name": "#is_offer_new",
"binding_name_override": "#visible"
}
]
}
},
{
"locked_icon@persona.icon_image": {
"size": [ 12, 11 ],
"layer": 20,
"anchor_to": "bottom_right",
"anchor_from": "bottom_right",
"texture": "textures/ui/icon_lock",
"bindings": [
{
"binding_type": "$piece_section_collection_details",
"binding_collection_name": "$piece_section_collection_name",
"binding_collection_prefix": "$piece_section_collection_prefix"
},
{
"binding_type": "collection",
"binding_collection_name": "$offer_state_info_collection_name",
"binding_name": "#is_offer_locked",
"binding_name_override": "#visible"
}
]
}
},
{
"achievement_icons@persona.icon_image": {
"size": [ 12, 11 ],
"layer": 20,
"anchor_to": "bottom_right",
"anchor_from": "bottom_right",
"bindings": [
{
"binding_type": "$piece_section_collection_details",
"binding_collection_name": "$piece_section_collection_name",
"binding_collection_prefix": "$piece_section_collection_prefix"
},
{
"binding_type": "collection",
"binding_collection_name": "$offer_state_info_collection_name",
"binding_name": "#is_offer_achievement",
"binding_name_override": "#visible"
},
{
"binding_type": "collection",
"binding_collection_name": "$offer_state_info_collection_name",
"binding_name": "#achievement_offer_lock_state_texture",
"binding_name_override": "#texture"
}
]
}
},
{
"key_helpers@common.empty_panel": {
"ignored": "$ignore_emote_keybind_helpers",
"offset": [ "25%", "-30%" ],
"controls": [
{
"key_binding_icons@persona.icon_image": {
"size": [ 25, 25 ],
"offset": [ 1, 0 ],
"bindings": [
{
"binding_type": "$piece_section_collection_details",
"binding_collection_name": "$piece_section_collection_name",
"binding_collection_prefix": "$piece_section_collection_prefix"
},
{
"binding_type": "collection",
"binding_collection_name": "$offer_state_info_collection_name",
"binding_name": "#key_bound_texture",
"binding_name_override": "#texture"
}
]
}
},
{
"keyboard_helpers@common.keyboard_helper": {
"offset": [ 1, 0 ],
"$hide_description": true,
"$icon_size": [ 14, 14 ],
"$icon_label_offset": [ 0.5, -1.5 ],
"$text_color": "$generic_button_text_color",
"$keyboard_character": "#key_bound_label",
"$keyboard_character_bindings": [
{
"binding_type": "$piece_section_collection_details",
"binding_collection_name": "$piece_section_collection_name",
"binding_collection_prefix": "$piece_section_collection_prefix"
},
{
"binding_type": "collection",
"binding_collection_name": "$offer_state_info_collection_name",
"binding_name": "$keyboard_character"
}
],
"bindings": [
{
"binding_type": "$piece_section_collection_details",
"binding_collection_name": "$piece_section_collection_name",
"binding_collection_prefix": "$piece_section_collection_prefix"
},
{
"binding_type": "collection",
"binding_collection_name": "$offer_state_info_collection_name",
"binding_name": "#is_key_bound",
"binding_name_override": "#visible"
}
]
}
}
]
}
}
]
}
}
]
},
"color_grid_item@common_buttons.light_content_button": {
"size": [ "17% - 2px", "100%x" ],
"layer": 3,
"$hover_button_texture": "textures/ui/button_borderless_light",
"$button_pressed_offset": [ 0, 0 ],
"$button_content": "persona.color_grid_icon",
"$pressed_button_name": "button.change_piece_color",
"$focus_id": "color_grid_item",
"$button_focus_precedence": 20,
"bindings": [
{
"binding_type": "collection_details",
"binding_collection_name": "color_collection",
"binding_collection_prefix": "color"
}
]
},
"color_grid_icon": {
"type": "image",
"size": [ "100% + 2px", "100% + 2px" ],
"texture": "textures/ui/White",
"bindings": [
{
"binding_name": "#current_panel_color",
"binding_name_override": "#color",
"binding_type": "collection",
"binding_collection_name": "color_collection"
}
],
"controls": [
{
"equipped@persona.equipped_border": {
"bindings": [
{
"binding_name": "#color_equipped",
"binding_name_override": "#visible",
"binding_type": "collection",
"binding_collection_name": "color_collection"
}
]
}
},
{
"selected@persona.selected_border": {
"bindings": [
{
"binding_name": "#color_selected",
"binding_name_override": "#visible",
"binding_type": "collection",
"binding_collection_name": "color_collection"
}
]
}
}
]
},
"in_use_grid_item": {
"type": "image",
"layer": 5,
"size": [ 20, 20 ],
"fill": true,
"bindings": [
{
"binding_type": "collection",
"binding_collection_name": "$in_use_grid_collection_name",
"binding_name": "#in_use_texture",
"binding_name_override": "#texture"
},
{
"binding_type": "collection",
"binding_collection_name": "$in_use_grid_collection_name",
"binding_name": "#in_use_texture_file_system",
"binding_name_override": "#texture_file_system"
}
]
},
"color_picker_panel@common.vertical_stack_panel": {
"size": [ "100%", "100%" ],
"controls": [
{ "top_pad@persona.vertical_2_padding": {} },
{
"top_bar@common.horizontal_stack_panel": {
"size": [ "100%", 20 ],
"controls": [
{
"cycle_left": {
"type": "panel",
"size": [ "100%y", "100%" ],
"controls": [
{
"button@persona.color_picker_left_cycle": {
"layer": 2,
"offset": [ 5, 0 ],
"bindings": [
{
"binding_name": "#left_color_cycle_enabled",
"binding_name_override": "#enabled"
},
{
"binding_name": "#other_channels",
"binding_name_override": "#visible"
}
]
}
},
{
"left_bumper_panel@common.empty_panel": {
"bindings": [
{
"binding_name": "#other_channels",
"binding_name_override": "#visible"
}
],
"controls": [
{
"left_bumper@common.gamepad_helper_left_bumper": {
"anchor_from": "top_middle",
"anchor_to": "top_middle",
"offset": [ 0, -20 ],
"$hide_description": true,
"bindings": [
{
"binding_name": "#gamepad_helper_visible",
"binding_name_override": "#visible"
}
]
}
}
]
}
}
]
}
},
{ "padding_0@persona.horizontal_2_padding": {} },
{
"title": {
"type": "panel",
"size": [ "fill", "100%" ],
"controls": [
{
"skin_title": {
"type": "label",
"size": [ "100%", "default" ],
"max_size": [ "100%", "100%" ],
"text": "#color_picker_title",
"text_alignment": "center",
"color": "$dressing_room_color_title",
"layer": 2,
"bindings": [
{
"binding_name": "#color_picker_title"
}
]
}
}
]
}
},
{ "padding_1@persona.horizontal_2_padding": {} },
{
"cycle_right": {
"type": "panel",
"size": [ "100%y", "100%" ],
"controls": [
{
"button@persona.color_picker_right_cycle": {
"layer": 2,
"offset": [ -5, 0 ],
"bindings": [
{
"binding_name": "#right_color_cycle_enabled",
"binding_name_override": "#enabled"
},
{
"binding_name": "#other_channels",
"binding_name_override": "#visible"
}
]
}
},
{
"right_bumper_panel@common.empty_panel": {
"bindings": [
{
"binding_name": "#other_channels",
"binding_name_override": "#visible"
}
],
"controls": [
{
"right_bumper@common.gamepad_helper_right_bumper": {
"anchor_from": "top_middle",
"anchor_to": "top_middle",
"offset": [ 0, -20 ],
"$hide_description": true,
"bindings": [
{
"binding_name": "#gamepad_helper_visible",
"binding_name_override": "#visible"
}
]
}
}
]
}
}
]
}
}
]
}
},
{ "middle_pad@persona.vertical_1_padding": {} },
{
"grid_of_colors@persona.scroll_section": {
"size": [ "100%", "fill" ],
"anchor_to": "top_middle",
"anchor_from": "top_middle",
"$scrolling_content": "persona.color_grid"
}
}
]
},
///////////////////////////////////////////////////////////////////////////////////////
//// helper objects
"scroll_section@common.scrolling_panel": {
"size": [ "100%", "100%" ],
"$scrolling_pane_size": [ "100%", "100%" ],
"$scrolling_pane_offset": [ 0, 0 ],
"$scrolling_content_anchor_from": "top_middle",
"$scrolling_content_anchor_to": "top_middle",
"$scroll_size": [ 5, "100% - 8px" ],
"$scroll_bar_left_padding_size": [ 0, 0 ],
"$scroll_view_port_size": [ "100% - 8px", "100%" ],
"$show_background": false,
"$bar_visible": true,
"$scroll_bar_contained": true
},
"skin_info_image_panel@common.empty_panel": {
"size": [ "100%c", "100%" ],
"controls": [
{ "image@$texture_to_show": {} }
]
},
"skin_info_label_panel_label": {
"type": "label",
"size": [ "100%", 10 ],
"layer": 2,
"text_alignment": "left",
"color": "$dressing_room_right_side_default_text_color",
"text": "$text_binding_name",
"font_type": "smooth",
"bindings": [
{
"binding_type": "global",
"binding_name": "$text_binding_name"
}
]
},
"skin_info_label_panel@common.empty_panel": {
"type": "panel",
"size": [ "fill", "100%" ],
"controls": [
{ "label@persona.skin_info_label_panel_label": {} }
]
},
"skin_info_content_stack@common.horizontal_stack_panel": {
"size": [ "100% - 4px", "100%" ],
"anchor_from": "left_middle",
"anchor_to": "left_middle",
"controls": [
{ "image_panel@persona.skin_info_image_panel": {} },
{ "padding_0@persona.horizontal_2_padding": {} },
{ "label_panel@skin_info_label_panel": {} }
]
},
"skin_info_label_and_image": {
"type": "panel",
"controls": [
{ "content_stack@persona.skin_info_content_stack": {} }
]
},
"sub_category_label_image_button_content": {
"type": "panel",
"size": [ "100% - 6px", "100%" ],
"controls": [
{
"stack_content@common.horizontal_stack_panel": {
"size": [ "100%", "100%" ],
"$content_label_image_binding_type|default": "global",
"$content_label_image_file_system_binding_type|default": "none",
"$content_label_image_collection_name|default": "",
"controls": [
{
"content_label_panel": {
"type": "panel",
"size": [ "fill", "100%" ],
"controls": [
{
"content_label": {
"type": "label",
"size": [ "100%", 12 ],
"layer": 10,
"text": "$content_label_binding_name",
"color": "$text_color",
"bindings": [
{
"binding_type": "$content_label_image_binding_type",
"binding_collection_name": "$content_label_image_collection_name",
"binding_name": "$content_label_binding_name"
}
]
}
}
]
}
},
{
"content_image_panel": {
"type": "panel",
"size": [ "100%c", "100%c" ],
"$content_image_size|default": [ 15, 14 ],
"controls": [
{
"content_image": {
"type": "image",
"size": "$content_image_size",
"layer": 2,
"alpha": 1.0,
"$content_image_binding_name|default": "",
"$content_image_binding_system|default": "",
"$content_image_bindings|default": [],
"$content_image_is_dynamic|default": false, // ie. it is determined by a bind
"controls": [
{
"border_image": {
"type": "image",
"size": [ "100% + 2px", "100% + 4px" ],
"layer": 3,
"alpha": 0.0,
"texture": "textures/ui/square_image_border_white",
"$border_bindings|default": [],
"bindings": "$border_bindings",
"$has_border|default": false
}
}
],
"variables": [
{
"requires": "$content_image_is_dynamic",
"$content_image_bindings": [
{
"binding_type": "$content_label_image_binding_type",
"binding_collection_name": "$content_label_image_collection_name",
"binding_name": "$content_image_binding_name",
"binding_name_override": "#texture"
},
{
"binding_type": "$content_label_image_file_system_binding_type",
"binding_collection_name": "$content_label_image_collection_name",
"binding_name": "$content_image_binding_system",
"binding_name_override": "#texture_file_system"
}
]
}
],
"texture": "$content_image_binding_name",
"bindings": "$content_image_bindings"
}
}
]
}
}
]
}
},
{
"bottom_bar": {
"type": "image",
"texture": "textures/ui/White",
"anchor_to": "bottom_middle",
"anchor_from": "bottom_middle",
"offset": [ 0, "7%" ],
"size": [ "100%", "5%" ],
"color": "$dressing_room_sub_category_seperator_color",
"alpha": 0.2
}
}
]
},
"label_image_button_content@common.horizontal_stack_panel": {
"size": [ "100% - 6px", "100%" ],
"$content_label_image_binding_type|default": "global",
"$content_label_image_collection_name|default": "",
"$content_label_font_type|default": "MinecraftTen",
"$content_label_text_offset|default": [ 0, -2 ],
"controls": [
{
"content_label_panel": {
"type": "panel",
"size": [ "fill", "100%" ],
"controls": [
{
"content_label": {
"type": "label",
"size": [ "100%", 12 ],
"layer": 10,
"text": "$content_label_binding_name",
"color": "$text_color",
"font_type": "$content_label_font_type",
"offset": "$content_label_text_offset",
"bindings": [
{
"binding_type": "$content_label_image_binding_type",
"binding_collection_name": "$content_label_image_collection_name",
"binding_name": "$content_label_binding_name"
}
]
}
}
]
}
},
{
"content_image_panel": {
"type": "panel",
"size": [ "100%c", "100%" ],
"$content_image_color|default": "$text_color",
"controls": [
{
"content_image": {
"type": "image",
"$content_image_size|default": [ 11, 11 ],
"size": "$content_image_size",
"layer": 2,
"color": "$content_image_color",
"$content_image_binding_name|default": "",
"$content_image_is_dynamic|default": false, // ie. it is determined by a bind
"$content_image_bindings|default": [
{
"ignored": "(not $content_image_is_dynamic)",
"binding_type": "$content_label_image_binding_type",
"binding_collection_name": "$content_label_image_collection_name",
"binding_name": "$content_image_binding_name",
"binding_name_override": "#texture"
}
],
"texture": "$content_image_binding_name",
"bindings": "$content_image_bindings"
}
}
]
}
}
]
},
"subcategory_button@common_buttons.dark_content_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"
},
{
"to_button_id": "$hover_button_name",
"mapping_type": "pressed"
}
]
},
"persona_classic_skin_paper_doll": {
"type": "custom",
"$paper_doll_offset|default": [ 0, -7 ],
"offset": "$paper_doll_offset",
"size": [ "100%", "100%" ],
"renderer": "paper_doll_renderer",
"camera_tilt_degrees": -10,
"starting_rotation": 30,
"use_selected_skin": false,
"use_skin_gui_scale": true,
"enable_scissor_test": true,
"animation_reset_name": "screen_animation_reset",
"anims": [
"@common.screen_exit_size_animation_push",
"@common.screen_exit_size_animation_pop",
"@common.screen_entrance_size_animation_push",
"@common.screen_entrance_size_animation_pop"
]
},
/*
SKIN DOLL BUTTON
Requires:
- $content_size
- $skin_collection_name
- $skin_collection_prefix
- $skin_pack_collection_name
- $skin_pack_collection_prefix
- $pressed_button_name
Bindings:
- #is_skin_selected:
Boolean to enable the selected border on a skin in the primary collection. Has primary
and secondary collections.
- #is_skin_equipped:
Boolean to enable the equipped border on a skin in the primary collection. Has primary
and secondary collections.
- #classic_skin_index
The skin setting binding. Has primary and secondary collections.
- #is_skin_locked:
Boolean to enable the locked icon on the skin in the primary collection. Has primary
and secondary collections.
- #is_skin_index_visible
Boolean to disable the entire object but the object still must be present for grid
sizes. Has primary and secondary collections.
- #is_skin_not_equippable
Boolean to enable the locked icon on the skin in the primary collection. Has primary
and secondary collections.
- #is_skin_realms_plus
Boolean to enable the realms plus icon on the skin in the primary collection. Has primary
and secondary collections.
$content_size:
The size of the panel. In general, the y component should be "153%x".
$skin_collection_name:
$skin_collection_prefix:
The name and prefix for the primary collection you want this skin to be in. Usually this is the
skin index collection for the skin, not the pack.
$skin_pack_collection_name:
$skin_pack_collection_prefix:
The name and prefix for the secondary collection you want this skin to be in. Usually this is the
pack collection, not the skin index.
$pressed_button_name:
The button event handle that is called when the button is pressed
$is_background_visible: (optional)
Whether or not the background of the button is visible. Default is true
*/
"skin_doll_button": {
"type": "panel",
"size": "$content_size",
"clips_children": true,
"$skin_binding_type|default": "global",
"$skin_collection_details|default": "none",
"$skin_collection_name|default": "",
"$skin_collection_prefix|default": "",
"$skin_pack_collection_details|default": "none",
"$skin_pack_collection_name|default": "",
"$skin_pack_collection_prefix|default": "",
"$section_collection_details|default": "none",
"$section_collection_name|default": "",
"$section_collection_prefix|default": "",
"$is_background_visible|default": true,
"$ignore_skin_focus_binds|default": true,
"$ignore_skin_realms_plus_icon|default": false,
"bindings": [
{
"binding_type": "$skin_binding_type",
"binding_collection_name": "$skin_collection_name",
"binding_name": "#is_skin_index_visible",
"binding_name_override": "#visible"
},
{
"binding_type": "$skin_collection_details",
"binding_collection_name": "$skin_collection_name",
"binding_collection_prefix": "$skin_collection_prefix"
},
{
"binding_type": "$skin_pack_collection_details",
"binding_collection_name": "$skin_pack_collection_name",
"binding_collection_prefix": "$skin_pack_collection_prefix"
},
{
"binding_type": "$section_collection_details",
"binding_collection_name": "$section_collection_name",
"binding_collection_prefix": "$section_collection_prefix"
}
],
"controls": [
{
"size_control": {
"type": "panel",
"size": [ "65.21%y", "100% - 2px" ],
"controls": [
{
"background": {
"type": "image",
"texture": "textures/ui/slots_bg",
"visible": "$is_background_visible"
}
},
{
"new_offer_icon@common_store.status_new_offer_icon": {
"bindings": [
{
"binding_type": "$skin_binding_type",
"binding_collection_name": "$skin_collection_name",
"binding_name": "#is_skin_new",
"binding_name_override": "#visible"
},
{
"binding_type": "$skin_pack_collection_details",
"binding_collection_name": "$skin_pack_collection_name",
"binding_collection_prefix": "$skin_pack_collection_prefix"
},
{
"binding_type": "$section_collection_details",
"binding_collection_name": "$section_collection_name",
"binding_collection_prefix": "$section_collection_prefix"
}
]
}
},
{
"locked_icon@persona.lock_icon": {
"anchor_from": "bottom_right",
"anchor_to": "bottom_right",
"bindings": [
{
"binding_type": "$skin_binding_type",
"binding_collection_name": "$skin_collection_name",
"binding_name": "#is_skin_locked",
"binding_name_override": "#visible"
},
{
"binding_type": "$skin_pack_collection_details",
"binding_collection_name": "$skin_pack_collection_name",
"binding_collection_prefix": "$skin_pack_collection_prefix"
},
{
"binding_type": "$section_collection_details",
"binding_collection_name": "$section_collection_name",
"binding_collection_prefix": "$section_collection_prefix"
}
]
}
},
{
"unequippable_icon@persona.lock_icon": {
"anchor_from": "bottom_right",
"anchor_to": "bottom_right",
"bindings": [
{
"binding_type": "$skin_binding_type",
"binding_collection_name": "$skin_collection_name",
"binding_name": "#is_skin_not_equippable",
"binding_name_override": "#visible"
},
{
"binding_type": "$skin_pack_collection_details",
"binding_collection_name": "$skin_pack_collection_name",
"binding_collection_prefix": "$skin_pack_collection_prefix"
},
{
"binding_type": "$section_collection_details",
"binding_collection_name": "$section_collection_name",
"binding_collection_prefix": "$section_collection_prefix"
}
]
}
},
{
"realms_plus_icon@common.empty_panel": {
"ignored": "$ignore_skin_realms_plus_icon",
"controls": [
{
"csb_icon@common_csb.csb_icon_large": {
"layer": 3,
"$pack_icon_size": [ 8, 10 ],
"offset": [ 1, 1 ],
"anchor_from": "bottom_left",
"anchor_to": "bottom_left"
}
}
],
"bindings": [
{
"binding_type": "$skin_binding_type",
"binding_collection_name": "$skin_collection_name",
"binding_name": "#is_skin_realms_plus",
"binding_name_override": "#visible"
},
{
"binding_type": "$skin_pack_collection_details",
"binding_collection_name": "$skin_pack_collection_name",
"binding_collection_prefix": "$skin_pack_collection_prefix"
},
{
"binding_type": "$section_collection_details",
"binding_collection_name": "$section_collection_name",
"binding_collection_prefix": "$section_collection_prefix"
}
]
}
},
{
"skin_button@common.button": {
"controls": [
{ "default@common.empty_panel": {} },
{
"hover@persona.focus_border": {
"layer": 10
}
},
{
"pressed@persona.selected_border": {
"layer": 4
}
},
{
"selected@persona.selected_border": {
"layer": 8,
"bindings": [
{
"binding_type": "$skin_binding_type",
"binding_collection_name": "$skin_collection_name",
"binding_name": "#is_skin_selected",
"binding_name_override": "#visible"
},
{
"binding_type": "$skin_pack_collection_details",
"binding_collection_name": "$skin_pack_collection_name",
"binding_collection_prefix": "$skin_pack_collection_prefix"
},
{
"binding_type": "$section_collection_details",
"binding_collection_name": "$section_collection_name",
"binding_collection_prefix": "$section_collection_prefix"
}
]
}
},
{
"equipped@persona.equipped_border": {
"layer": 10,
"bindings": [
{
"binding_type": "$skin_binding_type",
"binding_collection_name": "$skin_collection_name",
"binding_name": "#is_skin_equipped",
"binding_name_override": "#visible"
},
{
"binding_type": "$skin_pack_collection_details",
"binding_collection_name": "$skin_pack_collection_name",
"binding_collection_prefix": "$skin_pack_collection_prefix"
},
{
"binding_type": "$section_collection_details",
"binding_collection_name": "$section_collection_name",
"binding_collection_prefix": "$section_collection_prefix"
}
]
}
},
{
"content_panel": {
"type": "panel",
"size": [ "100%", "100% - 2px" ],
"clips_children": true,
"controls": [
{
"content@persona.persona_classic_skin_paper_doll": {
"bindings": [
{
"binding_type": "$skin_binding_type",
"binding_collection_name": "$skin_collection_name",
"binding_name": "#classic_skin_index"
},
{
"binding_type": "$skin_pack_collection_details",
"binding_collection_name": "$skin_pack_collection_name",
"binding_collection_prefix": "$skin_pack_collection_prefix"
},
{
"binding_type": "$section_collection_details",
"binding_collection_name": "$section_collection_name",
"binding_collection_prefix": "$section_collection_prefix"
}
]
}
}
]
}
}
],
"bindings": [
{
"binding_type": "$skin_collection_details",
"binding_collection_name": "$skin_collection_name",
"binding_collection_prefix": "$skin_collection_prefix"
},
{
"binding_type": "$skin_pack_collection_details",
"binding_collection_name": "$skin_pack_collection_name",
"binding_collection_prefix": "$skin_pack_collection_prefix"
},
{
"binding_type": "$section_collection_details",
"binding_collection_name": "$section_collection_name",
"binding_collection_prefix": "$section_collection_prefix"
},
{
"ignored": "$ignore_skin_focus_binds",
"binding_type": "$skin_binding_type",
"binding_collection_name": "$skin_collection_name",
"binding_name": "#skin_focus_id",
"binding_name_override": "#focus_identifier"
},
{
"ignored": "$ignore_skin_focus_binds",
"binding_type": "$skin_binding_type",
"binding_collection_name": "$skin_collection_name",
"binding_name": "#skin_pack_change_right",
"binding_name_override": "#focus_change_right"
}
],
"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"
},
{
"to_button_id": "button.skin_hovered",
"mapping_type": "pressed"
},
{
"to_button_id": "button.skin_unhovered",
"mapping_type": "pressed"
}
]
}
}
]
}
}
]
},
"focus_border": {
"type": "image",
"layer": 10,
"$border_texture|default": "textures/ui/focus_border_selected",
"texture": "$border_texture"
},
"selected_border@persona.focus_border": {
"$border_texture": "textures/ui/focus_border_white",
"color": "$dressing_room_skin_picker_equipped_border_color"
},
"equipped_border": {
"type": "image",
"$enable_border|default": true,
"size": [ "100%", "100%" ],
"layer": 11,
"texture": "textures/ui/equipped_item_border"
},
///////////////////////////////////////////////////////////////////////////////////////
//// tab controls
"rarity_bar_panel": {
"type": "image",
"size": [ "100%", 3 ],
"layer": 2,
"anchor_to": "bottom_middle",
"anchor_from": "bottom_middle",
"texture": "#rarity_bar_texture",
"bindings": [
{
"binding_type": "$persona_piece_binding_type",
"binding_collection_name": "$persona_piece_collection_name",
"binding_name": "#rarity_bar_texture",
"binding_name_override": "#texture"
},
{
"binding_type": "$persona_piece_binding_type",
"binding_collection_name": "$persona_piece_collection_name",
"binding_name": "#rarity_bar_visible",
"binding_name_override": "#visible"
}
]
},
///////////////////////////////////////////////////////////////////////////////////////
//// piece offer section
"piece_offer_button_content@persona_common.piece_item_display": {
"$offer_state_info_collection_name": "$persona_piece_collection_name",
"$item_content_control": "persona.offer_state_info",
"$is_loading": false
},
"piece_offer_button@common.button": {
"$focus_id": "piece_offer_button",
"$button_content|default": "common.empty_panel",
"$hide_while_loading|default": true,
"$ignore_piece_selected|default": false,
"$piece_section_collection_details|default": "none",
"$piece_section_collection_prefix|default": "",
"$piece_section_collection_name|default": "",
"$progress_loading_binding_type": "$persona_piece_binding_type",
"$progress_loading_collection_name": "$persona_piece_collection_name",
"$progress_loading_binding_name": "#piece_content_downloading",
"$controller_left_bumper_mapping|default": "",
"$controller_right_bumper_mapping|default": "",
"bindings": [
{
"binding_type": "$piece_section_collection_details",
"binding_collection_name": "$piece_section_collection_name",
"binding_collection_prefix": "$piece_section_collection_prefix"
},
{
"binding_type": "$persona_piece_collection_details",
"binding_collection_name": "$persona_piece_collection_name",
"binding_collection_prefix": "$persona_piece_prefix"
}
],
"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"
},
{
"from_button_id": "button.menu_tab_left",
"to_button_id": "$controller_left_bumper_mapping",
"mapping_type": "focused"
},
{
"from_button_id": "button.menu_tab_right",
"to_button_id": "$controller_right_bumper_mapping",
"mapping_type": "focused"
},
{
"to_button_id": "button.persona_item_hovered",
"mapping_type": "pressed"
},
{
"to_button_id": "button.persona_item_unhovered",
"mapping_type": "pressed"
}
],
"controls": [
{
"button_controls": {
"type": "panel",
"visible": false,
"$loading_bindings|default": [],
"variables": [
{
"requires": "$hide_while_loading",
"$loading_bindings": [
{
"binding_type": "view",
"source_control_name": "progress_loading",
"source_property_name": "(not #visible)",
"target_property_name": "#visible",
"resolve_sibling_scope": true
}
]
}
],
"bindings": "$loading_bindings",
"controls": [
{ "default@common.empty_panel": {} },
{
"pressed@persona.selected_border": {
"layer": 9
}
},
{
"csb_icon@common_csb.csb_icon_large": {
"layer": 10,
"$pack_icon_size": [ 8, 10 ],
"offset": [ "0px", "2px" ],
"anchor_from": "bottom_left",
"anchor_to": "bottom_left",
"bindings": [
{
"binding_type": "$piece_section_collection_details",
"binding_collection_name": "$piece_section_collection_name",
"binding_collection_prefix": "$piece_section_collection_prefix"
},
{
"binding_type": "collection",
"binding_collection_name": "$persona_piece_collection_name",
"binding_name": "#is_piece_csb",
"binding_name_override": "#visible"
}
]
}
},
{
"content@$button_content": {
"layer": 2
}
},
{
"equipped@persona.equipped_border": {
"ignored": "$ignore_piece_selected",
"layer": 10,
"bindings": [
{
"binding_type": "$piece_section_collection_details",
"binding_collection_name": "$piece_section_collection_name",
"binding_collection_prefix": "$piece_section_collection_prefix"
},
{
"binding_type": "collection",
"binding_collection_name": "$persona_piece_collection_name",
"binding_name": "#is_piece_equipped",
"binding_name_override": "#visible"
}
]
}
},
{
"selected@persona.selected_border": {
"ignored": "$ignore_piece_selected",
"layer": 8,
"bindings": [
{
"binding_type": "$piece_section_collection_details",
"binding_collection_name": "$piece_section_collection_name",
"binding_collection_prefix": "$piece_section_collection_prefix"
},
{
"binding_type": "collection",
"binding_collection_name": "$persona_piece_collection_name",
"binding_name": "#is_piece_selected",
"binding_name_override": "#visible"
}
]
}
},
{
"previewed@persona.selected_border": {
"ignored": "$ignore_piece_selected",
"layer": 8,
"bindings": [
{
"binding_type": "$piece_section_collection_details",
"binding_collection_name": "$piece_section_collection_name",
"binding_collection_prefix": "$piece_section_collection_prefix"
},
{
"binding_type": "collection",
"binding_collection_name": "$persona_piece_collection_name",
"binding_name": "#is_piece_being_previewed",
"binding_name_override": "#visible"
}
]
}
}
]
}
},
{
"hover@persona.focus_border": {
"layer": 9
}
},
{
"progress_loading@persona.progress_loading": {
"ignored": "(not $hide_while_loading)",
"bindings": [
{
"binding_type": "$piece_section_collection_details",
"binding_collection_name": "$piece_section_collection_name",
"binding_collection_prefix": "$piece_section_collection_prefix"
},
{
"binding_type": "$persona_piece_binding_type",
"binding_condition": "always",
"binding_collection_name": "$persona_piece_collection_name",
"binding_name": "#piece_content_downloading",
"binding_name_override": "#visible"
}
]
}
}
]
},
"persona_piece_offer": {
"type": "panel",
"$persona_piece_size|default": [ "16.3%", "100%x" ],
"$max_size_centered_y_panel|default": [ "100%y", "100%" ],
"$max_size_centered_x_panel|default": [ "100%", "100%x" ],
"size": "$persona_piece_size",
"$pressed_button_function|default": "button.apply_persona_piece",
"controls": [
{
"piece_offer_center_on_y_axis": {
"type": "panel",
"size": [ "100%", "100%" ],
"max_size": "$max_size_centered_y_panel",
"controls": [
{
"piece_offer_center_on_x_axis": {
"type": "panel",
"size": [ "100%", "100%" ],
"max_size": "$max_size_centered_x_panel",
"controls": [
{
"piece_offer_button@persona.piece_offer_button": {
"size": [ "100% - 2px", "100% - 2px" ],
"$pressed_button_name": "$pressed_button_function",
"$button_content": "persona.piece_offer_button_content",
"$button_content_size": [ "100%", "100%" ],
"bindings": [
{
"binding_type": "$piece_section_collection_details",
"binding_collection_name": "$piece_section_collection_name",
"binding_collection_prefix": "$piece_section_collection_prefix"
},
{
"binding_type": "$persona_piece_collection_details",
"binding_collection_name": "$persona_piece_collection_name",
"binding_collection_prefix": "$persona_piece_prefix"
},
{
"binding_type": "collection",
"binding_collection_name": "$persona_piece_collection_name",
"binding_name": "#is_piece_visible",
"binding_name_override": "#visible"
}
]
}
},
{
"plus_image@common_buttons.light_text_button": {
"layer": 50,
"size": [ "100%", "100%" ],
"$pressed_button_name": "$pressed_button_function",
"$button_text": "#piece_plus_button_text",
"$button_text_binding_type": "collection",
"$button_text_grid_collection_name": "$piece_section_collection_name",
"$button_text_collection_details": "$piece_section_collection_details",
"$button_text_collection_prefix": "$piece_section_collection_prefix",
"bindings": [
{
"binding_type": "$piece_section_collection_details",
"binding_collection_name": "$piece_section_collection_name",
"binding_collection_prefix": "$piece_section_collection_prefix"
},
{
"binding_type": "collection",
"binding_collection_name": "$persona_piece_collection_name",
"binding_name": "#is_piece_plus_button_visible",
"binding_name_override": "#visible"
}
]
}
}
]
}
}
]
}
}
]
},
"persona_piece_offer_grid": {
"type": "grid",
"size": [ "100%", "100%c" ],
"$piece_grid_dimension_binding|default": "#piece_offer_count",
"grid_dimension_binding": "$piece_grid_dimension_binding",
"grid_rescaling_type": "horizontal",
"grid_item_template": "persona.persona_piece_offer",
"$pressed_button_function|default": "button.apply_persona_piece",
"$persona_piece_prefix|default": "piece",
"$persona_piece_binding_type|default": "collection",
"$filesystem_binding_type": "collection",
"$persona_piece_collection_details|default": "collection_details",
"$persona_piece_collection_name|default": "piece_collection",
"collection_name": "$persona_piece_collection_name",
"$piece_section_binding_type|default": "global",
"$piece_section_collection_name|default": "",
"$piece_section_collection_prefix|default": "",
"$ignore_piece_offer_grid_dimension_binding|default": false,
"$ignore_piece_offer_grid_visible_bind|default": true,
"$piece_grid_visible_binding_name|default": "",
"$button_focus_precedence": 20,
"bindings": [
{
"binding_type": "$piece_section_collection_details",
"binding_collection_name": "$piece_section_collection_name",
"binding_collection_prefix": "$piece_section_collection_prefix"
},
{
"ignored": "$ignore_piece_offer_grid_dimension_binding",
"binding_type": "$piece_section_binding_type",
"binding_collection_name": "$piece_section_collection_name",
"binding_name": "$piece_grid_dimension_binding",
"binding_name_override": "#maximum_grid_items"
},
{
"ignored": "$ignore_piece_offer_grid_visible_bind",
"binding_type": "$piece_section_binding_type",
"binding_collection_name": "$piece_section_collection_name",
"binding_name": "$piece_grid_visible_binding_name",
"binding_name_override": "#visible"
}
]
},
"persona_offer_piece_list@common.empty_panel": {
"size": [ "100%", "100%c" ],
"$persona_piece_collection_name": "($persona_piece_prefix + '_collection')",
"$piece_grid_dimension_binding": "('#' + $persona_piece_prefix + '_piece_offer_list_count')",
"$piece_grid_visible_binding_name": "('#is_' + $persona_piece_prefix + '_piece_offer_list_visible')",
"$pressed_button_function": "('button.apply_' + $persona_piece_prefix + '_piece_offer')",
"controls": [
{ "featured_piece_offer_grid@persona.persona_piece_offer_grid": {} }
]
},
"featured_piece_offer_list_panel": {
"type": "panel",
"size": [ "100%", "100%cm" ],
"$ignore_piece_offer_grid_visible_bind": false,
"controls": [
{ "category_featured_piece_list@persona.persona_offer_piece_list": { "$persona_piece_prefix": "category_featured" } },
{ "main_featured_piece_list@persona.persona_offer_piece_list": { "$persona_piece_prefix": "main_featured" } },
{ "profile_featured_piece_list@persona.persona_offer_piece_list": { "$persona_piece_prefix": "profile_featured" } },
{ "custom_section_piece_list@persona.persona_offer_piece_list": { "$persona_piece_prefix": "custom_section" } }
]
},
"conditional_top_padding@persona.vertical_2_padding": {
"bindings": [
{
"binding_name": "#is_none_option_visible",
"binding_name_override": "#visible"
}
]
},
"piece_section_title_panel": {
"type": "panel",
"size": [ "100%", 11 ],
"controls": [
{
"title": {
"type": "label",
"size": [ "100% - 6px", 10 ],
"offset": [ 0, -2 ],
"layer": 1,
"anchor_to": "bottom_middle",
"anchor_from": "bottom_middle",
"color": "$f_color_format",
"font_type": "MinecraftTen",
"text_alignment": "left",
"$piece_section_binding_type|default": "global",
"$piece_section_collection_name|default": "",
"$piece_section_title_bind": "#piece_section_title",
"text": "$piece_section_title_bind",
"bindings": [
{
"binding_type": "$piece_section_binding_type",
"binding_collection_name": "$piece_section_collection_name",
"binding_name": "$piece_section_title_bind"
}
]
}
}
]
},
"limb_side_switcher@common.horizontal_stack_panel": {
"size": [ "100%", 19 ],
"controls": [
{ "padding_0@persona.horizontal_2_padding": {} },
{
"left_button_panel": {
"type": "panel",
"size": [ 20, "100%x" ],
"controls": [
{
"left_button@persona.left_limb_button": {
"bindings": [
{
"binding_name": "#left_limb_enabled",
"binding_name_override": "#enabled"
}
]
}
},
{
"left_bumper@common.gamepad_helper_left_bumper": {
"anchor_from": "top_middle",
"anchor_to": "top_middle",
"offset": [ 0, -20 ],
"$hide_description": true,
"bindings": [
{
"binding_name": "#gamepad_helper_visible",
"binding_name_override": "#visible"
}
]
}
}
]
}
},
{
"title": {
"type": "panel",
"size": [ "fill", "100%" ],
"controls": [
{
"limb_title": {
"type": "label",
"text": "#limb_title",
"font_type": "MinecraftTen",
"color": "$generic_button_text_color",
"locked_color": "$dressing_room_side_locked_text_color",
"offset": [ 0, 0 ],
"anchor_to": "center",
"anchor_from": "center",
"layer": 2,
"bindings": [
{
"binding_name": "#limb_title"
},
{
"binding_name": "#limb_title_enabled",
"binding_name_override": "#enabled"
}
]
}
}
]
}
},
{
"right_button_panel": {
"type": "panel",
"size": [ 20, "100%x" ],
"controls": [
{
"right_button@persona.right_limb_button": {
"bindings": [
{
"binding_name": "#right_limb_enabled",
"binding_name_override": "#enabled"
}
]
}
},
{
"right_bumper@common.gamepad_helper_right_bumper": {
"anchor_from": "top_middle",
"anchor_to": "top_middle",
"offset": [ 0, -20 ],
"$hide_description": true,
"bindings": [
{
"binding_name": "#gamepad_helper_visible",
"binding_name_override": "#visible"
}
]
}
}
]
}
},
{ "padding_1@persona.horizontal_2_padding": {} }
],
"bindings": [
{
"binding_name": "#is_leg_or_arms_selected",
"binding_name_override": "#visible"
}
]
},
"none_piece_option_panel": {
"ignored": "$ignore_none_button",
"type": "panel",
"size": [ "100%", "100%c + 4px" ],
"$piece_section_binding_type|default": "global",
"$piece_section_collection_name|default": "",
"bindings": [
{
"binding_type": "$piece_section_binding_type",
"binding_collection_name": "$piece_section_collection_name",
"binding_name": "#is_none_option_visible",
"binding_name_override": "#visible"
}
],
"controls": [
{
"none_piece_option_button@common_buttons.light_text_button": {
"size": [ "100% - 4px", 20 ],
"$pressed_button_name": "button.none_piece_option",
"$button_text": "#none_option_text",
"$button_text_binding_type": "global",
"$button_text_size": [ "default", 10 ],
"$new_ui_label_offset": [ 0, 0 ],
"bindings": [
{
"binding_name": "#is_none_option_visible",
"binding_name_override": "#visible"
},
{
"binding_name": "#is_none_option_enabled",
"binding_name_override": "#enabled"
},
{
"binding_name": "#is_none_option_enabled",
"binding_name_override": "#focus_enabled"
}
],
"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"
}
]
}
}
]
},
"sizing_section_wrapper": {
"type": "stack_panel",
"orientation": "horizontal",
"size": [ "100% - 6px", "100%c" ],
"bindings": [
{
"binding_name": "#sizing_options_on",
"binding_name_override": "#visible"
}
],
"controls": [
{ "padding@persona.horizontal_3_padding": {} },
{ "vertical@persona.sizing_section": {} }
]
},
"sizing_section": {
"type": "stack_panel",
"orientation": "vertical",
"size": [ "100%", "100%c" ],
"controls": [
{ "body_size_label@persona.body_size_label": {} },
{ "pad_0@persona.vertical_2_padding": {} },
{ "body_size_option@persona.body_sizes": {} },
{
"pad_1": {
"type": "panel",
"size": [ "100%", 3 ]
}
},
{ "arm_size_label@persona.arm_size_label": {} },
{ "pad_2@persona.vertical_2_padding": {} },
{ "arm_sizes@persona.arm_sizes": {} }
]
},
"piece_section_end_panel": {
"type": "panel",
"size": [ "100%", 5 ],
"controls": [
{
"end_line": {
"type": "image",
"size": [ "100% - 10px", 1 ],
"texture": "textures/ui/White",
"color": "$dressing_room_end_piece_section_line",
"alpha": 0.2
}
}
]
},
"piece_section": {
"type": "stack_panel",
"orientation": "vertical",
"size": [ "100%", "100%c" ],
"$piece_section_binding_type|default": "global",
"$piece_section_collection_name|default": "",
"$ignore_none_button|default": true,
"bindings": [
{
"binding_type": "$piece_section_binding_type",
"binding_collection_name": "$piece_section_collection_name",
"binding_name": "#is_piece_section_visible",
"binding_name_override": "#visible"
}
],
"controls": [
{ "title_panel@persona.piece_section_title_panel": {} },
{ "none@persona.none_piece_option_panel": {} },
{ "piece_offer_grid@persona.persona_piece_offer_grid": {} },
{ "end_section_panel@persona.piece_section_end_panel": {} }
]
},
"owned_piece_section@persona.piece_section": {
"$ignore_none_button": false
},
"piece_section_factory": {
"type": "stack_panel",
"orientation": "vertical",
"size": [ "100%", "100%c" ],
"$piece_section_collection_details": "collection_details",
"$piece_section_binding_type": "collection",
"$piece_section_collection_prefix": "piece_section",
"$piece_section_collection_name": "piece_section_collection",
"collection_name": "$piece_section_collection_name",
"factory": {
"name": "sidebar_factory",
"control_ids": "$piece_section_control_ids",
"factory_variables": [
"$piece_section_collection_details",
"$piece_section_binding_type",
"$piece_section_collection_name",
"$piece_section_collection_prefix"
]
},
"bindings": [
{
"binding_name": "$piece_section_collection_binding_name",
"binding_name_override": "#collection_length"
}
]
},
"persona_section_factory_panel": {
"type": "panel",
"size": [ "100%", "100%c" ],
"$piece_section_collection_binding_name": "#piece_sections",
"$piece_section_control_ids": {
"featured_piece_section": "persona.piece_section",
"owned_piece_section": "persona.owned_piece_section",
"piece_section": "persona.piece_section",
"unknown_section": "persona.empty_section"
},
"bindings": [
{
"binding_type": "view",
"source_control_name": "size_section",
"source_property_name": "(not #visible)",
"target_property_name": "#visible",
"resolve_sibling_scope": true
}
],
"controls": [
{ "piece_section_factory@persona.piece_section_factory": {} }
]
},
"piece_list_scroll_content": {
"type": "stack_panel",
"orientation": "vertical",
"size": [ "100%", "100%c" ],
"controls": [
{ "size_section@persona.sizing_section_wrapper": {} },
{ "piece_section_factory@persona.persona_section_factory_panel": {} }
]
},
"piece_list_scroll_section@persona.scroll_section": {
"size": [ "100%", "fill" ],
"$scrolling_content": "persona.piece_list_scroll_content"
},
"piece_offer_section_panel": {
"anchor_from": "top_middle",
"anchor_to": "top_middle",
"type": "stack_panel",
"size": [ "100%", "100% - 1px" ],
"controls": [
{ "padding@persona.vertical_1_padding": {} },
{
"pieces": {
"type": "stack_panel",
"size": [ "100%", "100%" ],
"bindings": [
{
"binding_type": "view",
"source_control_name": "color_picker_content_panel",
"source_property_name": "(not #visible)",
"target_property_name": "#visible",
"resolve_sibling_scope": true
}
],
"controls": [
{
"padding_0@persona.vertical_1_padding": {
"bindings": [
{
"binding_name": "#is_leg_or_arms_selected",
"binding_name_override": "#visible"
}
]
}
},
{ "limb_side_switcher@persona.limb_side_switcher": {} },
{
"padding_2@persona.vertical_1_padding": {
"bindings": [
{
"binding_name": "#is_leg_or_arms_selected",
"binding_name_override": "#visible"
}
]
}
},
{ "piece_list_scroll_section@persona.piece_list_scroll_section": {} }
]
}
},
{
"color_picker_content_panel@persona.color_picker_content_panel": {
"bindings": [
{
"binding_name": "#show_color_picker",
"binding_name_override": "#visible"
}
]
}
}
]
},
"persona_piece_section@persona.dialog_background_object": {
"$persona_dialog_content": "persona.piece_offer_section_panel",
"bindings": [
{
"binding_name": "#is_piece_list_section_visible",
"binding_name_override": "#visible"
}
]
},
"cycle_featured_content_section": {
"type": "panel",
"size": [ "100%", "fill" ],
"controls": [
{
"cycle_featured_content@common.horizontal_stack_panel": {
"size": [ "100% - 4px", "100% - 2px" ],
"anchor_from": "bottom_middle",
"anchor_to": "bottom_middle",
"$cycle_button_panel_size": [ "fill", "100%" ],
"$cycle_button_size": [ "100%", "100%" ],
"$piece_grid_dimension_binding": "",
"$ignore_cycle_buttons|default": false,
"bindings": [
{
"binding_name": "#is_cycle_featured_section_ready",
"binding_name_override": "#visible"
}
],
"controls": [
{
"left_cycle_button@persona.left_cycle_button": {
"size": [ 15, "100%" ],
"$pressed_button_name": "button.cycle_featured_pieces_left",
"$cycle_pack_button_name_left": "button.cycle_featured_pieces_left",
"$cycle_pack_button_enabled": "#is_left_cycle_featured_pieces_button_enabled"
}
},
{
"featured_offer_grid_panel": {
"type": "panel",
"size": [ "fill", "100%" ],
"controls": [
{
"featured_offer_grid@persona.persona_piece_offer_grid": {
"size": [ "100%", "33%x" ],
"max_size": [ "100%", "100%" ],
"$persona_piece_size": [ "33%", "100%" ],
"$pressed_button_function": "button.apply_persona_piece",
"$controller_left_bumper_mapping": "button.cycle_featured_pieces_left",
"$controller_right_bumper_mapping": "button.cycle_featured_pieces_right",
"clip_state_change_event": "",
"grid_dimensions": [ 3, 1 ],
"maximum_grid_items": 3
}
}
]
}
},
{
"right_cycle_button@persona.right_cycle_button": {
"size": [ 15, "100%" ],
"$pressed_button_name": "button.cycle_featured_pieces_right",
"$cycle_pack_button_name_right": "button.cycle_featured_pieces_right",
"$cycle_pack_button_enabled": "#is_right_cycle_featured_pieces_button_enabled"
}
}
]
}
}
]
},
"featured_piece_offer_section_panel@common.vertical_stack_panel": {
"size": [ "100%", "100%" ],
"controls": [
{
"center_featured_header_panel": {
"type": "panel",
"size": [ "100%", 12 ],
"controls": [
{
"featured_header@common.minecraftTenLabel": {
"size": [ "100% - 4px", 10 ],
"$featured_header": "#sub_category_featured_title",
"text": "$featured_header",
"color": "$dark_button_default_text_color",
"bindings": [
{
"binding_condition": "visible",
"binding_name": "$featured_header"
}
]
}
}
]
}
},
{ "cycle_featured_content_section@persona.cycle_featured_content_section": {} },
{
"bottom_padding@persona.vertical_2_padding": {}
}
]
},
"featured_piece_section": {
"type": "panel",
"size": [ "100%", "35%" ],
"bindings": [
{
"binding_name": "#is_subcategory_featured_section_visible",
"binding_name_override": "#visible"
}
],
"controls": [
{
"featured_piece_section_dailog_bg@persona.dialog_background_object": {
"size": [ "100%", "100% - 2px" ],
"anchor_to": "top_middle",
"anchor_from": "top_middle",
"$persona_dialog_content": "persona.featured_piece_offer_section_panel"
}
}
]
},
///////////////////////////////////////////////////////////////////////////////////////
//// subcategory objects
"persona_subcategory_button@persona.subcategory_button": {
"size": [ "100%", 25 ],
// button vars
"$pressed_button_name": "button.subcategory_selected",
"$hover_button_name": "button.subcategory_button_hovered",
"$button_content": "persona.sub_category_label_image_button_content",
"$focus_id": "$subcategory_button_focus_id",
// override textures
"$default_button_texture": "",
"$hover_button_texture": "textures/ui/white_background",
"$pressed_button_texture": "textures/ui/banners_no_border_dark_hover",
"$locked_button_texture": "textures/ui/banners_no_border",
// override text colors
"$default_text_color": "$dark_toggle_checked_default_text_color",
"$hover_text_color": "$dark_toggle_checked_hover_text_color",
"$border_visible": false,
// override image properties
"$hover_button_image_fill": true,
"$hover_content_alpha": 0.5,
"$hover_button_image_color": "$dressing_room_subcategory_button_hover_color",
// content vars
"$content_label_image_binding_type": "collection",
"$content_label_image_collection_name": "$subcategory_collection_name",
"$content_label_binding_name": "#subcategory_title",
"$content_image_binding_name": "#subcategory_image",
"$content_image_is_dynamic": true,
"bindings": [
{
"binding_type": "collection_details",
"binding_collection_name": "$subcategory_collection_name",
"binding_collection_prefix": "$subcategory_collection_prefix"
}
]
},
"category_toggle@common_toggles.light_content_toggle": {
"$ignore_content_toggle_image": true,
"$default_checked_text_color": "$dropdown_radio_background_checked_color",
"$hover_texture": "textures/ui/button_borderless_lightpressednohover",
"$content_toggle_label_offset": [ 0, 0 ],
"$content_toggle_label_font_type": "Default",
"$content_toggle_icon_size": [ 11, 11 ],
"$checked_toggle_icon": "textures/ui/dropdown_chevron_up",
"$checked_hover_toggle_icon": "textures/ui/chevron_white_up",
"$unchecked_toggle_icon": "textures/ui/dropdown_chevron",
"$unchecked_hover_toggle_icon": "textures/ui/chevron_white_down",
"$toggle_binding_type": "collection",
"$toggle_binding_condition": "visible",
"$toggle_state_binding_name": "#is_category_toggle_selected"
},
///////////////////////////////////////////////////////////////////////////////////////
//// category select objects
"category_select_button_panel": {
"type": "panel",
"size": [ "100%", "100%c" ],
"controls": [
{
"category_select_button@persona.category_toggle": {
"size": [ "100%", 25 ],
"$toggle_grid_collection_name": "$category_collection_name",
"bindings": [
{
"binding_type": "collection_details",
"binding_collection_name": "$category_collection_name",
"binding_collection_prefix": "$category_collection_prefix"
}
]
}
}
]
},
"category_content@common.vertical_stack_panel": {
"size": [ "100%", "100%c" ],
"$light_button_hover_text_color": "$light_button_hover_text_color",
"$content_label_font_type": "default",
"$content_label_text_offset": [ 0, 0 ],
"controls": [
{
"select_category_button@persona.category_select_button_panel": {
"$toggle_name": "toggle.category_selected",
"$enable_hover_event_mapping": true,
"$toggle_hover_event_mapping": "button.category_button_hovered",
"$content_image_binding_name": "textures/ui/chevron_white_down",
"$focus_id": "select_category_button",
"$content_toggle_label": "#category_title",
"$content_toggle_label_binding_type": "collection"
}
},
{
"subcategory_grid_panel": {
"type": "panel",
"size": [ "100%", "100%c" ],
"bindings": [
{
"binding_type": "collection",
"binding_collection_name": "$category_collection_name",
"binding_name": "#is_category_toggle_selected",
"binding_name_override": "#visible"
}
],
"controls": [
{
"subcategory_grid": {
"type": "grid",
"size": [ "100% - 4px", "100%c" ],
"anchor_to": "top_middle",
"anchor_from": "top_middle",
"$subcategory_collection_prefix|default": "subcategory",
"$subcategory_collection_name|default": "subcategory_collection",
"$subcategory_button_focus_id": "subcategory_button",
"$subcategory_dimension_binding": "#subcategory_dimension_binding",
"grid_dimension_binding": "$subcategory_dimension_binding",
"grid_item_template": "persona.persona_subcategory_button",
"collection_name": "$subcategory_collection_name",
"$button_focus_precedence": 20,
"bindings": [
{
"binding_name": "$subcategory_dimension_binding"
}
]
}
}
]
}
}
]
},
"featured_info_panel@persona.right_side_dialog_panel": {
"size": [ "100%", "100%c" ],
"$ignore_right_side_dialog_visible_binding": true,
"$persona_dialog_content": "persona.offer_info_section_content",
"$title_bar_color": "$dressing_room_dark_button_color",
"$rarity_title_background_alpha": 0.0,
"$title_bar_alpha": 0.0,
"$info_title_control": "persona.title_rarity_background_image",
"$info_content_control": "persona.right_info_panel",
"$right_info_content_control": "persona.category_featured_offer_panel",
"$info_panel_prefix": "piece",
"$input_progress_loading_collection_binding_type": "collection_details",
"$input_progress_loading_prefix": "$info_panel_prefix",
"$right_side_dialog_size": [ "100%", "100%c" ],
"$right_side_dialog_bg_size": [ "100%", "100%c" ],
"$offer_info_section_content_size": [ "100%", "100%c" ],
"$info_content_panel_size": [ "100%", "100%c" ],
"$info_and_selection_panel_size": [ "100%", "100%c" ],
"$info_bottom_section_size": [ "100%", "100%c" ],
"$right_info_panel_size": [ "100%", "100%c" ],
"$right_info_panel_content_size": [ "100%", "100%c" ],
"$ignore_right_side_buttom_buttons": true,
"$ignore_special_banner": true,
"$ignore_piece_selected": true,
"$ignore_cycle_buttons": true
},
"persona_category_featured_info_panel@persona.featured_info_panel": {
"$title_binding_type": "none",
"$title_binding": "dr.header.featured"
},
"persona_category_main_realms_info_panel@persona.featured_info_panel": {
"$title_binding_type": "none",
"$title_binding": "store.csb",
"ignored": "(not #is_right_info_main_realms_panel_visible)"
},
"persona_category_factory@common.vertical_stack_panel": {
"size": [ "100%", "100%c" ],
"$store_factory_clipping_event": "category factory_section_shown",
"$category_collection_prefix": "category",
"$category_collection_name": "category_collection",
"factory": {
"name": "store_section_factory",
"control_ids": {
"category_content": "@persona.category_content"
},
"factory_variables": [
"$category_collection_prefix",
"$category_collection_name"
]
},
"collection_name": "$category_collection_name",
"bindings": [
{
"binding_name": "#category_section_content",
"binding_name_override": "#collection_length"
}
]
},
"featured_section_factory@persona.piece_section_factory": {
"size": [ "100%", "100%c + 4px" ],
"$piece_section_collection_binding_name": "#featured_section_content",
"$piece_section_control_ids": {
"featured_row": "persona.persona_category_featured_info_panel",
"realms_row": "persona.persona_category_main_realms_info_panel"
}
},
"persona_category_grid_panel@common.vertical_stack_panel": {
"size": [ "100% - 4px", "100%c" ],
"$title_rarity_binding": "#none",
"controls": [
{
"section_wrapper": {
"type": "input_panel",
"size": [ "100%", "100%c" ],
"controls": [
{ "featured_section_factory@persona.featured_section_factory": {} }
]
}
},
{ "factory@persona.persona_category_factory": {} }
]
},
"category_scroll_panel@persona.scroll_section": {
"$scrolling_content": "persona.persona_category_grid_panel"
},
"persona_category_section@persona.dialog_background_object": {
"$persona_dialog_content": "persona.category_scroll_panel",
"bindings": [
{
"binding_name": "#is_category_section_visible",
"binding_name_override": "#visible"
}
]
},
///////////////////////////////////////////////////////////////////////////////////////
//// custom skin popup dialog
"popup_dialog_skin_model": {
"type": "panel",
"offset": [ 0, -20 ],
"controls": [
{
"paper_doll": {
"type": "custom",
"layer": 100,
"renderer": "paper_doll_renderer",
"camera_tilt_degrees": -10,
"starting_rotation": 30,
"use_selected_skin": false,
"bindings": [
{ "binding_name": "$button_model_type" }
]
}
}
]
},
"popup_dialog_choose_skin_type_panel@common.empty_panel": {
"size": [ "50%", "80%" ],
"layer": 1,
"controls": [
{
"choose_skin_type_button@common_buttons.light_content_button": {
"size": [ "90%", "90%" ],
"$button_content": "persona.popup_dialog_skin_model"
}
}
]
},
"popup_dialog_bg@common_dialogs.dialog_background_hollow_3": {
"size": [ "100%", "100%" ],
"$persona_popup_title_text|default": "dr.classic_skins.select_skin.title",
"$persona_popup_title_font_type|default": "MinecraftTen",
"$persona_popup_title_offset|default": [ 0, 5.5 ],
"$section_content_offset|default": [ 0, 0 ],
"controls": [
{
"background_image": {
"type": "image",
"layer": -1,
"size": "$section_content_size",
"offset": "$section_content_offset",
"texture": "textures/ui/White",
"color": "$dressing_room_dark_bg_color",
"alpha": "$dressing_room_background_alpha"
}
},
{
"title_panel@common.empty_panel": {
"size": [ "100% - 16px", 21 ],
"anchor_from": "top_middle",
"anchor_to": "top_middle",
"controls": [
{
"title": {
"type": "label",
"$persona_popup_title_size|default": [ "100%", 15 ],
"$persona_popup_title_offset|default": [ 0, 2 ],
"size": "$persona_popup_title_size",
"layer": 2,
"font_type": "$persona_popup_title_font_type",
"text_alignment": "center",
"offset": "$persona_popup_title_offset",
"text": "$persona_popup_title_text",
"color": "$light_button_default_text_color",
"$persona_popup_title_bindings|default": [],
"bindings": "$persona_popup_title_bindings"
}
}
]
}
},
{ "popup_content@$dialog_content": {} }
]
},
"popup_dialog_invalid_custom_skin_content@common.empty_panel": {
"size": "$section_content_size",
"offset": "$section_content_offset",
"controls": [
{
"popup_dialog_message@popup_dialog.popup_dialog_message": {
"color": "$dressing_room_right_side_default_text_color"
}
},
{ "popup_dialog_middle_button@popup_dialog.popup_dialog_middle_button": {} }
]
},
"popup_dialog_choose_skin_type_content@common.empty_panel": {
"size": "$choose_skin_type_content_size",
"offset": "$choose_skin_type_content_offset",
"controls": [
{
"popup_dialog_message@popup_dialog.popup_dialog_message": {
"color": "$dressing_room_right_side_default_text_color"
}
},
{
"left@persona.popup_dialog_choose_skin_type_panel": {
"$pressed_button_name": "button.choose_skinny",
"$button_model_type": "#skinny_skin_index",
"anchor_from": "bottom_left",
"anchor_to": "bottom_left"
}
},
{
"right@persona.popup_dialog_choose_skin_type_panel": {
"$pressed_button_name": "button.choose_fat",
"$button_model_type": "#fat_skin_index",
"anchor_from": "bottom_middle",
"anchor_to": "bottom_left"
}
}
]
},
"popup_dialog__invalid_custom_skin@popup_dialog.popup_dialog": {
"$middle_button_press": "button.close_dialog",
"$message_text": "dr.classic_skins.invalidCustomSkin",
"$middle_button_text": "gui.ok",
"size": [ "40%", "75%" ],
"$section_content_size": [ "100% - 16px", "100% - 31px" ],
"$section_content_offset": [ 0, "7.5px" ],
"controls": [
{
"popup_dialog_bg@persona.popup_dialog_bg": {
"$dialog_content": "persona.popup_dialog_invalid_custom_skin_content"
}
}
]
},
"popup_dialog__upsell_without_store@popup_dialog__invalid_custom_skin": {
"$message_text": "dr.classic_skins.upsellWithoutStore"
},
"popup_anim_wait": {
"anim_type": "wait",
"duration": "$display_time",
"next": "@persona.popup_anim_end"
},
"popup_anim_start": {
"anim_type": "alpha",
"easing": "linear",
"from": 0.0,
"to": 1.0,
"duration": "$transition_in_time",
"next": "@persona.popup_anim_wait"
},
"popup_anim_end": {
"anim_type": "alpha",
"easing": "linear",
"from": 1.0,
"to": 0.0,
"duration": "$transition_out_time",
"destroy_at_end": "toast_message",
"end_event": "toast_end"
},
"popup_title@toast_screen.toast_label": {
"text": "#toast_title",
"color": "$toast_text_color",
"size": [ "100%-10px", "default" ],
"max_size": [ "100%-10px", 20 ],
"layer": 2,
"$popup_title_binding_type|default": "global",
"$popup_title_collection_name|default": "",
"$popup_title_collection_details|default": "none",
"$popup_title_collection_prefix|default": "",
"bindings": [
{
"binding_type": "$popup_title_collection_details",
"binding_collection_name": "$popup_title_collection_name",
"binding_collection_prefix": "$popup_title_collection_prefix"
},
{
"binding_type": "$popup_title_binding_type",
"binding_collection_name": "$popup_title_collection_name",
"binding_name": "#toast_title"
}
]
},
"popup@common.input_panel": {
"$toast_anchor_from|default": "top_middle",
"$toast_anchor_to|default": "bottom_middle",
"$toast_offset|default": [ 0, 0 ],
"$popup_size|default": [ 1, 1 ],
"anchor_from": "$toast_anchor_from",
"anchor_to": "$toast_anchor_to",
"size": "$popup_size",
"offset": "$toast_offset",
"$toast_label_offset": [ 0, 0 ],
"$offset_anims|default": [],
"$toast_text_alignment": "center",
"$alpha_anims|default": [],
"controls": [
{
"background": {
"type": "image",
"size": [ "100%", "100%c + 12px" ],
"texture": "textures/ui/greyBorder",
"anims": "$alpha_anims",
"controls": [
{
"text_stack_panel@persona.popup_title": {}
}
]
}
}
],
"anims": "$offset_anims"
},
"popup_toast@persona.popup": {
"layer": 100,
"$display_time": 0.75,
"$transition_in_time": 0.15,
"$transition_out_time": 0.15,
"$popup_size": [ 184, "100%cm" ],
"$toast_text_offset": [ 0, 0 ],
"$toast_text_alignment": "center",
"$toast_anchor_from": "center",
"$toast_anchor_to": "center",
"$toast_font_type": "smooth",
"$offset_anims": [],
"$alpha_anims": [
"@persona.popup_anim_start"
]
},
"popup_dialog__choose_skin_type@popup_dialog.popup_dialog": {
"$message_text": "dr.classic_skins.select_skin",
"$choose_skin_type_content_size": [ "100% - 16px", "91.5% - 16px" ],
"$choose_skin_type_content_offset": [ 0, "4.5%" ],
"$section_content_size": [ "100% - 16px", "100%" ],
"$section_content_offset": [ 0, 0 ],
"size": [ "40%", "75%" ],
"controls": [
{
"popup_dialog_bg@persona.popup_dialog_bg": {
"$dialog_content": "persona.popup_dialog_choose_skin_type_content"
}
}
]
},
//////////////////////////////////////////////////////////////////////////////////////////////
// custom skins popup
//////////////////////////////////////////////////////////////////////////////////////////////
"custom_skin_popup_dialog_bg@common_dialogs.dialog_background_hollow_1": {
"size": [ "100%", "100%" ],
"$persona_popup_title_text|default": "dr.classic_skins.select_skin.title",
"$persona_popup_title_font_type|default": "MinecraftTen",
"$persona_popup_title_offset|default": [ 0, 3 ],
"controls": [
{
"background_image": {
"type": "image",
"layer": -1,
"size": "$section_content_size",
"offset": "$section_content_offset",
"texture": "textures/ui/White",
"color": "$dressing_room_dark_bg_color",
"alpha": "$dressing_room_background_alpha"
}
},
{
"vertical_align_title@common.empty_panel": {
"size": [ "100%", 23 ],
"anchor_from": "top_middle",
"anchor_to": "top_middle",
"controls": [
{
"title": {
"type": "label",
"size": [ "100%", "default" ],
"max_size": [ "100%", "100%" ],
"layer": 2,
"text_alignment": "center",
"offset": "$persona_popup_title_offset",
"text": "$persona_popup_title_text",
"color": "$light_button_default_text_color"
}
}
]
}
},
{ "popup_content@$dialog_content": {} }
]
},
"usage_limited_settings_profile_button@common_buttons.light_text_button": {
"layer": 2,
"$pressed_button_name": "button.show_profile_settings",
"$button_text": "dr.go_to_profile_settings_text"
},
"custom_skin_info_button_collection@common.vertical_stack_panel": {
"size": [ "100% - 16px", 30 ],
"offset": [ 0, -40 ],
"anchor_from": "bottom_middle",
"anchor_to": "bottom_middle",
"controls": [
{ "settings@persona.usage_limited_settings_profile_button": {} },
{ "padding@persona.vertical_4_padding": {} },
{ "close@persona.popup_dialog_close_button": {} }
]
},
"custom_skin_info_panel_text": {
"type": "label",
"color": "$dressing_room_right_side_default_text_color",
"size": [ "100% - 20px", "100% - 103px" ],
"offset": [ 0, 25 ],
"anchor_to": "top_middle",
"anchor_from": "top_middle",
"font_type": "smooth",
"text": "dr.classic_skins.custom_skin_description_popup"
},
"custom_skin_info_panel": {
"type": "panel",
"controls": [
{ "message@persona.custom_skin_info_panel_text": {} },
{ "button_group@persona.custom_skin_info_button_collection": {} }
]
},
"popup_dialog__custom_skin_info@popup_dialog.popup_dialog": {
"size": [ "100%", "100%" ],
"layer": 990,
"$message_text": "dr.classic_skins.select_skin",
"$section_content_size": [ "100% - 16px", "100% - 16px" ],
"$section_content_offset": [ 0, 0 ],
"controls": [
{
"background_image": {
"type": "image",
"size": [ "100%", "100% + 64px" ],
"offset": "$section_content_offset",
"texture": "textures/ui/White",
"color": "$dressing_room_dark_bg_color",
"alpha": 0.8
}
},
{
"popup_dialog_bg@persona.custom_skin_popup_dialog_bg": {
"$dialog_content": "persona.custom_skin_info_panel",
"size": [ "60%", "60%" ]
}
}
],
"button_mappings": [
{
"from_button_id": "button.menu_cancel",
"to_button_id": "button.close_dialog",
"mapping_type": "global"
}
]
},
/////////////////////////////////////////////////////////////////////////////////////////////////
///// Switching between Persona and Classic Skin prompt
/////////////////////////////////////////////////////////////////////////////////////////////////
"create_persona_choice_checked_image": {
"type": "image",
"keep_ratio": false,
"size": [ 10, 10 ],
"$image": "textures/ui/radiobox_filled"
},
"create_persona_choice_unchecked_image": {
"type": "image",
"keep_ratio": false,
"size": [ 10, 10 ],
"$image": "textures/ui/radiobox_unfilled"
},
"modal_window_input_blocker": {
"type": "image",
"size": [ "100%", "100%" ],
"texture": "textures/ui/white_background",
"keep_ratio": false,
"color": "$0_color_format",
"alpha": "$dressing_room_full_screen_popup_background_alpha"
},
"popup_frame_background@persona.modal_window_input_blocker": {
"size": [ "100%", "100%" ],
"layer": -1,
"alpha": 1.0
},
"switch_persona_and_classic_title": {
"type": "label",
"text": "#switching_persona_skin_title",
"layer": 2,
"offset": [ 0, 8 ],
"color": "$profile_create_character_selected_color",
"anchor_from": "top_middle",
"anchor_to": "top_middle",
"bindings": [
{
"binding_name": "#switching_persona_skin_title"
}
]
},
"switch_persona_and_classic_message": {
"type": "label",
"font_type": "smooth",
"font_scale_factor": 0.8,
"color": "$dressing_room_right_side_default_text_color",
"size": [ "100%", "fill" ],
"text": "#switching_persona_skin_message",
"layer": 2,
"bindings": [
{
"binding_name": "#switching_persona_skin_message"
}
]
},
"switch_persona_and_classic_repeat_check_text": {
"type": "label",
"size": [ "100%", "default" ],
"color": "$f_color_format",
"text_alignment": "left",
"text": "dr.prompt.do_not_show_again"
},
"switch_persona_and_classic_repeate_check_text_offset": {
"type": "panel",
"size": [ "100%", "100%" ],
"controls": [
{ "text@persona.switch_persona_and_classic_repeat_check_text": {} }
]
},
"create_persona_choice_check_positioning@common.horizontal_stack_panel": {
"size": [ "100%", "15%" ],
"controls": [
{ "toggle_image@persona.switch_persona_and_classic_repeat_check": {} },
{ "padding@persona.horizontal_2_padding": {} },
{ "text_wrapper@persona.switch_persona_and_classic_repeate_check_text_offset": {} }
]
},
"switch_persona_and_classic_repeat_check@common.checkbox": {
"size": [ 10, "100%" ],
"$toggle_name": "#classic_skin_persona_switch_toggle"
},
"differences_popup_ok_button@common_buttons.light_text_button": {
"size": [ "100% - 15px", 24 ],
"layer": 10,
"$pressed_button_name": "button.persona_confirm_switching",
"offset": [ 0, -9 ],
"anchor_from": "bottom_middle",
"anchor_to": "bottom_middle",
"$button_text": "$confirm_button_text",
"$confirm_button_text|default": "#none",
"$confirm_button_enabled|default": "#none",
"bindings": [
{
"binding_name": "$confirm_button_enabled",
"binding_name_override": "#enabled"
}
]
},
"switch_persona_and_classic_prompt_content@common.vertical_stack_panel": {
"size": [ "100% - 20px", "100% - 70px" ],
"offset": [ 0, 26 ],
"anchor_from": "top_middle",
"anchor_to": "top_middle",
"controls": [
{ "message@persona.switch_persona_and_classic_message": {} },
{ "padding@persona.vertical_2_padding": {} },
{ "not_again_check@persona.create_persona_choice_check_positioning": {} }
]
},
"popup_frame@common.dialog_background_hollow_2": {
"size": [ "46%", "56%" ],
"controls": [
{ "modal@persona.popup_frame_background": {} },
{ "title_label@persona.switch_persona_and_classic_title": {} },
{ "content@persona.switch_persona_and_classic_prompt_content": {} },
{ "Ok_button@persona.differences_popup_ok_button": {} }
]
},
"popup_dialog__switch_persona_and_classic_skin@popup_dialog.popup_dialog": {
"size": [ "100%", "100%" ],
"layer": 995,
"$message_text": "dr.classic_skins.upsellWithoutStore",
"$scrolling_content": "common.empty_panel",
"$confirm_button_text": "dr.button.ok",
"controls": [
{ "modal@persona.modal_window_input_blocker": {} },
{ "popup@persona.popup_frame": {} }
]
},
//////////////////////////////////////////////////////////////////////////////////////////////
"custom_skin_popup_dialog_panel": {
"type": "panel",
"layer": 99, // must be above the persona renderer which is layer 90
"controls": [
{
"popup_dialog_factory": {
"type": "factory",
"control_ids": {
"invalid_custom_skin": "@persona.popup_dialog__invalid_custom_skin",
"choose_skin_type": "@persona.popup_dialog__choose_skin_type",
"upsell_without_store": "@persona.popup_dialog__upsell_without_store"
}
}
},
{
"full_screen_darkening": {
"type": "image",
"texture": "textures/ui/White",
"color": "$dressing_room_dark_bg_color",
"alpha": "$dressing_room_full_screen_popup_background_alpha",
"bindings": [
{
"binding_name": "#is_custom_skin_popup_visible",
"binding_name_override": "#visible"
}
]
}
}
]
},
///////////////////////////////////////////////////////////////////////////////////////
//// skin picking screen
"persona_skin_picker_skin_button@persona.skin_doll_button": {
"$content_size": [ "16.7% - 2px", "153.3%x" ],
"$paper_doll_offset": [ 0, -8 ],
"$pressed_button_name": "button.skin_selected_skins_page"
},
"persona_classic_skin_grid_panel": {
"type": "panel",
"size": [ "100% - 4px", "100%c + 2px" ],
"controls": [
{
"persona_skin_pack_category_grid": {
"type": "grid",
"size": [ "100%", "100%c" ],
"layer": 1,
"$skin_binding_type": "collection",
"$skin_collection_details": "collection_details",
"$skin_collection_name": "expanded_skin_pack_collection",
"$skin_collection_prefix": "expanded_skin_pack",
"$skin_dimension_binding|default": "#expanded_pack_dimensions",
"grid_dimension_binding": "$skin_dimension_binding",
"grid_item_template": "persona.persona_skin_picker_skin_button",
"collection_name": "$skin_collection_name",
"bindings": [
{
"binding_name": "$skin_dimension_binding"
}
]
}
}
]
},
"skin_scroll_panel@persona.scroll_section": {
"$scrolling_content": "persona.persona_classic_skin_grid_panel"
},
"persona_skin_section@persona.dialog_background_object": {
"$persona_dialog_content": "persona.skin_scroll_panel",
"bindings": [
{
"binding_name": "#is_skin_picker_section_visible",
"binding_name_override": "#visible"
}
]
},
///////////////////////////////////////////////////////////////////////////////////////
//// skin pack selection objects
"persona_skin_button_for_pack_view@persona.skin_doll_button": {
"$content_size": [ "20%", "100%" ],
"max_size": [ "20%", "100%" ],
"$pressed_button_name": "button.skin_selected",
"$is_background_visible": false,
"$ignore_skin_focus_binds": false
},
"skin_pack_expand_pack": {
"type": "label",
"offset": [ 0, 2.5 ],
"size": [ "100%", 16 ],
"text": "#pack_additional_skin_count_text",
"color": "$dressing_room_right_side_default_text_color",
"text_alignment": "center",
"bindings": [
{
"binding_type": "$skin_pack_binding_type",
"binding_collection_name": "$skin_pack_collection_name",
"binding_name": "#pack_additional_skin_count_text"
},
{
"binding_type": "$section_collection_details",
"binding_collection_name": "$section_collection_name",
"binding_collection_prefix": "$section_collection_prefix"
}
]
},
"persona_skin_pack_panel@common.vertical_stack_panel": {
"size": [ "100%", "100%c" ],
"$skin_pack_binding_type|default": "global",
"$skin_pack_collection_details|default": "none",
"$skin_pack_collection_name|default": "",
"$skin_pack_collection_prefix|default": "",
"$section_collection_details|default": "none",
"$section_collection_name|default": "",
"$section_collection_prefix|default": "",
"controls": [
{
"top_padding": {
"type": "panel",
"size": [ "100%", 6 ]
}
},
{
"pack_label": {
"type": "label",
"size": [ "100%", 10 ],
"text": "#pack_title",
"color": "$dressing_room_right_side_default_text_color",
"bindings": [
{
"binding_type": "$skin_pack_binding_type",
"binding_collection_name": "$skin_pack_collection_name",
"binding_name": "#pack_title"
},
{
"binding_type": "$section_collection_details",
"binding_collection_name": "$section_collection_name",
"binding_collection_prefix": "$section_collection_prefix"
}
]
}
},
{ "mid_padding@persona.vertical_1_padding": {} },
{
"pack_body@common.empty_panel": {
"size": [ "100%", "100%cm" ],
"controls": [
{
"progress_loading_button@common.button": {
"size": [ "100%", 26 ],
"$pressed_button_name": "button.fake_button",
"$button_content": "",
"controls": [
{ "content@persona.loading_progress_bars": {} },
{ "default@common.empty_panel": {} },
{ "hover@persona.focus_border": {} },
{ "pressed@persona.selected_border": {} }
],
"bindings": [
{
"binding_type": "$skin_pack_binding_type",
"binding_name": "#is_classic_skin_pack_loading",
"binding_collection_name": "$skin_pack_collection_name",
"binding_name_override": "#visible"
},
{
"binding_type": "$section_collection_details",
"binding_collection_name": "$section_collection_name",
"binding_collection_prefix": "$section_collection_prefix"
}
]
}
},
{
"skin_pack_panel": {
"type": "image",
"texture": "textures/ui/dressing_room_banner",
"color": "$dressing_room_skin_picker_dark_bg_color",
"alpha": "$dressing_room_panel_alpha",
"anchor_from": "bottom_right",
"anchor_to": "bottom_right",
"size": [ "100%", "100%cm" ],
"bindings": [
{
"binding_type": "$skin_pack_binding_type",
"binding_name": "(not #is_classic_skin_pack_loading)",
"binding_collection_name": "$skin_pack_collection_name",
"binding_name_override": "#visible"
},
{
"binding_type": "$section_collection_details",
"binding_collection_name": "$section_collection_name",
"binding_collection_prefix": "$section_collection_prefix"
}
],
"controls": [
{
"skins_grid": {
"type": "grid",
"size": [ "80%", "30%x" ],
"anchor_to": "left_middle",
"anchor_from": "left_middle",
"$skin_binding_type": "collection",
"$skin_collection_details": "collection_details",
"$skin_collection_prefix": "skin",
"$skin_collection_name": "skin_collection",
"$skin_dimension_binding": "#skin_dimensions",
"grid_dimension_binding": "$skin_dimension_binding",
"grid_item_template": "persona.persona_skin_button_for_pack_view",
"collection_name": "$skin_collection_name",
"bindings": [
{
"binding_type": "$skin_pack_binding_type",
"binding_collection_name": "$skin_pack_collection_name",
"binding_name": "$skin_dimension_binding"
},
{
"binding_type": "$section_collection_details",
"binding_collection_name": "$section_collection_name",
"binding_collection_prefix": "$section_collection_prefix"
}
]
}
},
{
"expand_view_button@common_buttons.light_content_button": {
"size": [ "20%-2px", 10 ],
"anchor_from": "right_middle",
"anchor_to": "right_middle",
"inherit_max_sibling_height": true,
"$focus_id": "skin_pack_expand_view_button",
"$pressed_alpha": "$dressing_room_panel_alpha",
"$default_button_alpha": "$dressing_room_panel_alpha",
"$pressed_button_name": "button.expand_skin_pack",
"$button_content": "persona.skin_pack_expand_pack",
"bindings": [
{
"binding_type": "$skin_pack_collection_details",
"binding_collection_name": "$skin_pack_collection_name",
"binding_collection_prefix": "$skin_pack_collection_prefix"
},
{
"binding_type": "$section_collection_details",
"binding_collection_name": "$section_collection_name",
"binding_collection_prefix": "$section_collection_prefix"
},
{
"binding_type": "collection",
"binding_collection_name": "$skin_pack_collection_name",
"binding_name": "#expand_button_focus_id",
"binding_name_override": "#focus_identifier"
},
{
"binding_type": "collection",
"binding_collection_name": "$skin_pack_collection_name",
"binding_name": "#skin_pack_expand_pack_focus_change_left",
"binding_name_override": "#focus_change_left"
}
]
}
}
]
}
}
]
}
}
]
},
"persona_skin_pack_grid": {
"type": "grid",
"size": [ "100% - 4px", "100%c" ],
"anchor_to": "top_middle",
"anchor_from": "top_middle",
"$skin_pack_binding_type": "collection",
"$skin_pack_collection_details": "collection_details",
"$skin_collection_name": "skin_pack_collection",
"$skin_pack_collection_prefix": "skin_pack",
"collection_name": "$skin_pack_collection_name",
"$skin_pack_dimension_binding": "#skin_pack_dimensions",
"grid_dimension_binding": "$skin_pack_dimension_binding",
"grid_item_template": "persona.persona_skin_pack_panel",
"bindings": [
{
"binding_type": "$section_collection_binding_type",
"binding_collection_name": "$section_collection_name",
"binding_name": "$skin_pack_dimension_binding"
},
{
"binding_type": "collection_details",
"binding_collection_name": "$section_collection_name",
"binding_collection_prefix": "$section_collection_prefix"
}
]
},
"persona_skin_pack_label": {
"type": "label",
"offset": [ 2, 5 ],
"font_type": "MinecraftTen",
"anchor_from": "top_left",
"anchor_to": "top_left",
"size": [ "100%", 10 ],
"text": "$persona_skin_pack_label_text",
"color": "$dressing_room_right_side_default_text_color"
},
"default_skin_button@persona.skin_doll_button": {
"size": [ 12, 52 ],
"anchor_from": "top_left",
"anchor_to": "top_left",
"offset": [ 11, 3 ],
"clips_children": false,
"$paper_doll_offset": [ 0, -10 ],
"$pressed_button_name": "button.default_skin_selected",
"$skin_binding_type": "collection",
"$skin_collection_details": "collection_details",
"$skin_collection_prefix": "persona_default_skin",
"$skin_collection_name": "persona_default_skin_collection"
},
"default_skin_button_panel": {
"type": "panel",
"size": [ "100%", 52 ],
"controls": [
{ "default_button@persona.default_skin_button": {} }
]
},
"persona_owned_skin_pack_grid_panel@common.vertical_stack_panel": {
"$persona_skin_pack_label_text": "sidebar.skinsOwned",
"$skin_pack_collection_prefix": "owned_skin_pack",
"$skin_collection_name": "owned_skin_collection",
"$ignore_skin_realms_plus_icon": true,
"controls": [
{ "pack_label@persona.persona_skin_pack_label": {} },
{
"default_skin_button@persona.default_skin_button_panel": {
"ignored": "$console_edition"
}
},
{ "owned_packs_grid@persona.persona_skin_pack_grid": {} }
]
},
"persona_realms_purchasable_skin_pack_grid_panel@common.vertical_stack_panel": {
"$skin_pack_collection_prefix": "realms_skin_pack",
"$skin_collection_name": "realms_skin_collection",
"controls": [
{
"csb_pack_label@persona.persona_skin_pack_label": {
"$persona_skin_pack_label_text": "store.csb"
}
},
{ "purchasable_packs_grid@persona.persona_skin_pack_grid": {} }
]
},
"persona_unowned_purchasable_skin_pack_grid_panel@common.vertical_stack_panel": {
"$persona_skin_pack_label_text": "sidebar.skinsUnowned",
"$skin_pack_collection_prefix": "unowned_skin_pack",
"$skin_collection_name": "unowned_skin_collection",
"$ignore_skin_realms_plus_icon": true,
"controls": [
{ "pack_label@persona.persona_skin_pack_label": {} },
{ "purchasable_packs_grid@persona.persona_skin_pack_grid": {} }
]
},
///////////////////////////////////////////////////////////////////////////////////////
//// classic skins categories panel
"grouped_header_body_content@common.vertical_stack_panel": {
"controls": [
{ "group_header@$group_header_content": {} },
{ "group_body@$group_body_content": {} }
]
},
"classic_skin_features_header": {
"type": "label",
"font_type": "MinecraftTen",
"text": "dr.header.featured_skins",
"color": "$dressing_room_right_side_default_text_color",
"offset": [ 1, 0 ],
"size": [ "100%", "default" ]
},
"classic_skin_features_header_wrapper": {
"type": "panel",
"size": [ "100%", 12 ],
"controls": [
{ "header@persona.classic_skin_features_header": {} }
]
},
"grouped_classic_skin_featured_content@common.horizontal_stack_panel": {
"size": [ "100%", "100%cm + 2px" ],
"$featured_skin_grid_panel_size|default": [ "fill", "100%c" ],
"$featured_skin_grid_dimensions": [ 4, 1 ],
"$feature_skin_pack_button_size": [ "25%", "56.25%x" ],
"$is_skins": true,
"controls": [
{
"featured_skin_grid_panel": {
"type": "panel",
"size": "$featured_skin_grid_panel_size",
"controls": [
{ "featured_skin_grid@persona.right_panel_classic_skin_featured_grid": {} }
]
}
}
]
},
"classic_skin_features_group_content@persona.grouped_header_body_content": {
"$group_header_content": "persona.classic_skin_features_header_wrapper",
"$group_body_content": "persona.grouped_classic_skin_featured_content"
},
"get_more_button_icon@persona.icon_image": {
"size": [ 12, 12 ],
"texture": "textures/ui/sidebar_icons/marketplace.png"
},
"get_more_icon_panel@common.empty_panel": {
"size": [ 14, 14 ],
"controls": [
{ "button_icon_panel@persona.get_more_button_icon": {} }
]
},
"button_label": {
"type": "label",
"size": [ "100%", 10 ],
"text": "dr.marketplace.get_more_skins",
"color": "$text_color",
"text_alignment": "left"
},
"button_label_panel": {
"type": "panel",
"size": [ "fill", "100%" ],
"controls": [
{ "text@persona.button_label": {} }
]
},
"get_more_button_content@common.horizontal_stack_panel": {
"size": [ "100%", 16 ],
"controls": [
{ "space1@common.empty_panel": { "size": [ 2, "100%" ] } },
{ "icon@persona.get_more_icon_panel": {} },
{ "space2@common.empty_panel": { "size": [ 4, "100%" ] } },
{ "label@persona.button_label_panel": {} }
]
},
"get_more_skins_button@common_buttons.light_content_button": {
"ignored": "$ignore_skins_button",
"size": [ "100%", 26 ],
"$pressed_button_name": "button.get_more_skins",
"$button_content": "persona.get_more_button_content"
},
"see_more_skins_button@common_buttons.light_text_button": {
"size": [ "50%", 26 ],
"$button_text": "dr.classic_skins.show_more",
"$pressed_button_name": "button.show_more_skin_packs",
"$button_bindings": [
{
"binding_type": "$section_collection_details",
"binding_collection_name": "$section_collection_name",
"binding_collection_prefix": "$section_collection_prefix"
},
{
"binding_type": "$section_collection_binding_type",
"binding_collection_name": "$section_collection_name",
"binding_name": "#show_more_pack_visible",
"binding_name_override": "#visible"
}
],
"property_bag": {
"skin_pack_collection_name": "$skin_pack_collection_name"
}
},
"classic_skin_stack_panel@common.vertical_stack_panel": {
"size": [ "100%", "100%c" ],
"$skin_pack_collection": "common.empty_panel",
"clip_state_change_event": "skin_pack_collector_clip_change_event",
"controls": [
{ "skin_packs@$skin_pack_collection": {} },
{ "spacer1@persona.vertical_4_padding": {} },
{ "see_more_owned@persona.see_more_skins_button": {} },
{ "divider2@persona.common_horizontal_divider": {} }
],
"bindings": [
{
"binding_type": "$section_collection_details",
"binding_collection_name": "$section_collection_name",
"binding_collection_prefix": "$section_collection_prefix"
}
]
},
"owned_skin_pack_collection@persona.classic_skin_stack_panel": {
"$skin_pack_collection": "persona.persona_owned_skin_pack_grid_panel",
"$skin_pack_collection_name": "owned_skin_pack_collection"
},
"realms_skin_pack_collection@persona.classic_skin_stack_panel": {
"$skin_pack_collection": "persona.persona_realms_purchasable_skin_pack_grid_panel",
"$skin_pack_collection_name": "realms_skin_pack_collection"
},
"unowned_skin_pack_collection@persona.classic_skin_stack_panel": {
"$skin_pack_collection": "persona.persona_unowned_purchasable_skin_pack_grid_panel",
"$skin_pack_collection_name": "unowned_skin_pack_collection"
},
"skin_pack_collection_factory": {
"type": "stack_panel",
"orientation": "vertical",
"size": [ "100%", "100%c" ],
"collection_name": "$section_collection_name",
"$section_collection_binding_type": "collection",
"$section_collection_details": "collection_details",
"$section_collection_name": "skin_pack_collector_collection",
"$section_collection_prefix": "skin_pack_collector",
"factory": {
"name": "skin_pack_collector_factory",
"control_ids": {
"owned_collector_section": "persona.owned_skin_pack_collection",
"unowned_collector_section": "persona.unowned_skin_pack_collection",
"realms_collector_section": "persona.realms_skin_pack_collection"
},
"factory_variables": [
"$section_collection_binding_type",
"$section_collection_details",
"$section_collection_name",
"$section_collection_prefix"
]
},
"bindings": [
{
"binding_name": "#skin_pack_collector_sections",
"binding_name_override": "#collection_length"
}
]
},
"classic_skin_sections@common.vertical_stack_panel": {
"size": [ "100% - 4px", "100%c" ],
"$category_collection_prefix": "persona_skin_pack_category",
"$category_collection_name": "persona_skin_pack_category_collection",
"collection_name": "$category_collection_name",
"$content_label_binding_name": "#persona_skin_pack_category_name",
"$persona_skin_pack_binding_type": "collection",
"$persona_skin_pack_collection_prefix": "persona_skin_pack",
"controls": [
{ "featured_section@persona.classic_skin_features_group_content": { "size": [ "100%", "100%c" ] } },
{ "get_more_button@persona.get_more_skins_button": {} },
{ "divider1@persona.common_horizontal_divider": {} },
{ "skin_pack_factory@persona.skin_pack_collection_factory": {} }
]
},
"background_classic_skin_section": {
"type": "button",
"size": [ "100%", "100%c" ],
"controls": [
{ "classic_skin_sections@persona.classic_skin_sections": {} }
]
},
"classic_skin_scroll_panel@persona.scroll_section": {
"$scrolling_content": "persona.background_classic_skin_section",
"bindings": [
{
"binding_name": "(not #is_skin_pack_screen_search_loading)",
"binding_name_override": "#visible"
}
]
},
"classic_skin_loading@persona.progress_loading": {
"bindings": [
{
"binding_name": "#is_skin_pack_screen_search_loading",
"binding_name_override": "#visible"
}
]
},
"classic_skin_scroll_panel_loading_group": {
"type": "panel",
"controls": [
{ "loading@persona.classic_skin_loading": {} },
{ "scroll_panel@persona.classic_skin_scroll_panel": {} }
]
},
"classic_skin_categories@persona.dialog_background_object": {
"$persona_dialog_content": "persona.classic_skin_scroll_panel_loading_group",
"bindings": [
{
"binding_name": "#is_classic_skin_section_visible",
"binding_name_override": "#visible"
}
]
},
///////////////////////////////////////////////////////////////////////////////////////
//// cape objects
"cape_section_panel@common.vertical_stack_panel": {
"size": [ "100%", "100%" ],
"controls": [
{
"none_spacing": {
"type": "panel",
"size": [ "100%", 22 ]
}
},
{
"grid@persona.cape_grid_panel": {}
}
]
},
"cape_grid_panel": {
"type": "panel",
"size": [ "100%", "100%c" ],
"controls": [
{
"grid_stack@common.vertical_stack_panel": {
"size": [ "100%", "100%c" ],
"bindings": [
{
"binding_name": "(not #sizing_options_on)",
"binding_name_override": "#visible"
}
],
"controls": [
{
"cape_piece_offer_grid": {
"type": "grid",
"size": [ "100% - 4px", "100%c" ],
"grid_dimension_binding": "#cape_count",
"grid_rescaling_type": "horizontal",
"grid_item_template": "persona.persona_piece_offer",
"$pressed_button_function": "button.apply_cape",
"$persona_piece_prefix|default": "cape",
"$persona_piece_binding_type|default": "collection",
"$persona_piece_collection_details|default": "collection_details",
"$persona_piece_collection_name|default": "cape_collection",
"collection_name": "$persona_piece_collection_name",
"bindings": [
{
"binding_name": "#cape_count",
"binding_name_override": "#maximum_grid_items"
}
]
}
}
]
}
}
]
},
"cape_button_content@common.empty_panel": {
"size": [ "100% - 6px", "100%" ],
"controls": [
{
"stack_content@common.horizontal_stack_panel": {
"size": [ "100%", "100%" ],
"controls": [
{
"content_label_panel@common.empty_panel": {
"size": [ "fill", "100%" ],
"controls": [
{
"content_label": {
"type": "label",
"size": [ "100%", 12 ],
"layer": 10,
"text": "dr.header.capes",
"color": "$text_color"
}
}
]
}
},
{
"content_image_panel@common.empty_panel": {
"size": [ "15%", "100%x" ]
}
}
]
}
},
{
"bottom_bar": {
"type": "image",
"texture": "textures/ui/White",
"anchor_to": "bottom_middle",
"anchor_from": "bottom_middle",
"offset": [ 0, "7%" ],
"size": [ "100%", "5%" ],
"color": "$dressing_room_sub_category_seperator_color",
"alpha": 0.2
}
}
]
},
"cape_button@common_buttons.dark_content_button": {
"size": [ "100% - 8px", 25 ],
// button vars
"$pressed_button_name": "button.show_capes",
"$button_content": "persona.cape_button_content",
// override textures
"$default_button_texture": "",
"$hover_button_texture": "textures/ui/banners_no_border",
"$pressed_button_texture": "textures/ui/banners_no_border_dark_hover",
"$locked_button_texture": "textures/ui/banners_no_border",
// override text colors
"$default_text_color": "$dark_toggle_checked_default_text_color",
"$hover_text_color": "$dark_toggle_checked_hover_text_color",
"$border_visible": false,
"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"
},
{
"to_button_id": "button.subcategory_button_hovered",
"mapping_type": "pressed"
}
]
},
"cape_piece_section_scroll_panel@persona.scroll_section": {
"$scrolling_content": "persona.cape_section_panel"
},
"cape_piece_section@persona.dialog_background_object": {
"$persona_dialog_content": "persona.cape_piece_section_scroll_panel",
"bindings": [
{
"binding_name": "#is_cape_selection_visible",
"binding_name_override": "#visible"
}
]
},
"cape_scrolling_content@common.empty_panel": {
"controls": [
{
"the_cape_button@persona.cape_button": {
"anchor_to": "top_middle",
"anchor_from": "top_middle"
}
}
]
},
"cape_scroll_panel@persona.scroll_section": {
"$scrolling_content": "persona.cape_scrolling_content"
},
"cape_category_section@persona.dialog_background_object": {
"$persona_dialog_content": "persona.cape_scroll_panel",
"bindings": [
{
"binding_name": "#is_cape_section_visible",
"binding_name_override": "#visible"
}
]
},
///////////////////////////////////////////////////////////////////////////////////////
//// emotes content
"emotes_slot_button_content@persona.sub_category_label_image_button_content": {
"$has_border": true
},
"emote_slot_grid_item@persona.persona_subcategory_button": {
"$content_label_image_binding_type": "collection",
"$content_label_image_collection_name": "$subcategory_collection_name",
"$content_label_binding_name": "#persona_emote_slot_name",
"$content_image_binding_name": "#persona_emote_image_name",
"$content_label_image_file_system_binding_type": "collection",
"$content_image_binding_system": "#persona_emote_image_file_system",
"$content_image_is_dynamic": true,
"$pressed_button_name": "button.emote_slot_selected",
"$hover_button_name": "button.emote_slot_button_hovered",
"$button_content": "persona.emotes_slot_button_content"
},
"emotes_slot_grid": {
"type": "grid",
"size": [ "100% - 4px", "100%c" ],
"anchor_to": "top_middle",
"anchor_from": "top_middle",
"$button_focus_precedence": 20,
"$subcategory_collection_prefix|default": "persona_emote_slot",
"$subcategory_collection_name|default": "persona_emote_slot_collection",
"$subcategory_button_focus_id": "emote_slot_grid_item",
"$emote_slot_dimension_binding": "#emote_slot_dimension_binding",
"grid_dimension_binding": "$emote_slot_dimension_binding",
"grid_item_template": "persona.emote_slot_grid_item",
"collection_name": "$subcategory_collection_name",
"bindings": [
{
"binding_name": "$emote_slot_dimension_binding"
}
]
},
"emote_scroll_panel@persona.scroll_section": {
"$scrolling_content": "persona.emotes_slot_grid"
},
"emotes_right_side_bottom_buttons@persona.right_side_bottom_buttons": {
"controls": [
{ "purchase_buttons_panel@persona.purchase_buttons": {} },
{ "padding@persona.horizontal_2_padding": {} },
{
"play_again@common_buttons.light_text_button": {
"size": [ "30%", "100%" ],
"anchor_from": "bottom_right",
"anchor_to": "bottom_right",
"$pressed_button_name": "button.play_emote_again",
"$font_type": "default",
"$button_text": "dr.emotes.play_again",
"$focus_id": "play_again_button", //see_pack_in_store_button
"$focus_override_left": "offer_real_money_purchase_button",
"$persona_focus_precedence": 3,
"bindings": [
{
"binding_name": "#is_play_again_button_enabled",
"binding_name_override": "#visible"
}
]
}
}
]
},
"persona_emote_offer_scroll_content": {
"type": "panel",
"size": [ "100%", "100%c + 4px" ],
"$max_size_centered_x_panel": [ "100%", "100%" ],
"$pressed_button_function": "button.select_emote",
"$piece_grid_dimension_binding": "#emote_offer_count",
"$persona_piece_prefix": "emote",
"$persona_piece_collection_name": "emote_collection",
"$ignore_piece_offer_grid_visible_bind": false,
"$piece_grid_visible_binding_name": "#is_emote_offer_list_visible",
"$button_content": "persona.piece_offer_button_content",
"$button_focus_precedence": 20,
"controls": [
{
"emote_offer_grid@persona.persona_piece_offer_grid": {}
}
]
},
"emote_offer_section_panel": {
"type": "stack_panel",
"size": [ "100%", "100%" ],
"focus_container": true,
"use_last_focus": true,
"focus_wrap_enabled": false,
"focus_navigation_mode_down": "contained",
"focus_navigation_mode_up": "contained",
"focus_navigation_mode_left": "$main_content_focus_container_left",
"focus_container_custom_left": "$main_content_focus_container_left_custom",
"controls": [
{
"remove_emote_option_panel@common.empty_panel": {
"size": [ "100%", 19 ],
"controls": [
{
"none_emote_button@common_buttons.light_text_button": {
"size": [ "100% - 4px", "100%" ],
"$pressed_button_name": "button.remove_emote",
"$button_text": "#none_option_text",
"$button_text_binding_type": "global",
"$button_text_size": [ "default", 10 ],
"$new_ui_label_offset": [ 0, -1 ],
"$font_type": "MinecraftTen",
"bindings": [
{
"binding_name": "#is_none_emote_option_enabled",
"binding_name_override": "#enabled"
}
],
"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"
}
]
}
}
]
}
},
{
"emote_offer_scroll_panel@persona.scroll_section": {
"size": [ "100%", "fill" ],
"$scrolling_content": "persona.persona_emote_offer_scroll_content"
}
}
]
},
"emote_piece_section@common.vertical_stack_panel": {
"size": [ "100%", "100% - 4px" ],
"controls": [
{ "top_padding@persona.vertical_2_padding": {} },
{
"emote_piece_dialog@persona.dialog_background_object": {
"$persona_dialog_content": "persona.emote_offer_section_panel"
}
}
],
"bindings": [
{
"binding_name": "#is_emote_offer_list_visible",
"binding_name_override": "#visible"
}
]
},
//-------------------- Emote Slot Editor Popup ----------------------------------------------
"close_emote_popup_controller@common.empty_panel": {
"$gamepad_helper_layer": 2,
"$gamepad_helper_visible_binding_name": "#is_using_gamepad",
"controls": [
{
"close_ui@common.gamepad_helper_dpad_left": {
"$icon_description_bind": "controller.buttonTip.cancel",
"$icon_description_bind_type": "none"
}
}
],
"bindings": [
{
"binding_name": "#is_using_gamepad",
"binding_name_override": "#visible"
}
]
},
"emote_close_popup@common.close_button": {
"$close_button_to_button_id": "button.emote_slot_popup_close"
},
"emote_wheel_content@persona_common.emote_wheel_panel": {
"$gamepad_helper_visible_binding_name": "#is_using_gamepad",
"size": [ "100%", "100%" ],
"layer": 2
},
"emote_equip_slot_content": {
"type": "panel",
"$close_button_visible_binding_type": "global",
"controls": [
{
"close@common.close_button": {
"offset": [ -2, 2 ]
}
},
{
"emote_wheel_content_panel": {
"type": "panel",
// shrink size to that of the content section of popup
"size": [ "100% - 16px", "100% - 31px" ],
// center control to the content section of popup
"offset": [ 0, 7 ],
"controls": [
{
"cancel@persona.close_emote_popup_controller": {
"size": [ 50, 20 ],
"anchor_from": "bottom_right",
"anchor_to": "bottom_right",
"offset": [ -12, -8 ]
}
},
{
"emote_wheel_prompt_content@common.squaring_panel": {
"$squaring_panel_content": "persona.emote_wheel_content"
}
}
]
}
}
]
},
"popup_emote_wheel_dialog": {
"type": "panel",
"controls": [
{
"popup_background@persona.popup_dialog_bg": {
"$persona_popup_title_text": "#emote_popup_title",
"$persona_popup_title_size": [ "100% - 20px", "default" ],
"$persona_popup_title_font_type": "default",
"$show_close_button": false,
"$dialog_content": "persona.emote_equip_slot_content",
"$dialog_size|default": [ "60%", "90%" ],
"variables": [
{
"requires": "(($pocket_edition or $is_ios) and $touch)",
"$dialog_size": [ "88%", "90%" ]
}
],
"size": "$dialog_size",
"$persona_popup_title_bindings": [
{
"binding_name": "#emote_popup_title"
}
]
}
}
]
},
"popup_dialog__emote_equip_slot_editor@popup_dialog.popup_dialog": {
"size": [ "100%", "100%" ],
"layer": 990,
"gamepad_deflection_mode": true,
"$section_content_size": [ "100%", "100% - 16px" ],
"$close_button_to_button_id": "button.close_dialog",
"button_mappings": [
{
"from_button_id": "button.menu_cancel",
"to_button_id": "$close_button_to_button_id",
"mapping_type": "global"
},
{
"from_button_id": "button.menu_ok",
"to_button_id": "$close_button_to_button_id",
"mapping_type": "focused"
},
{
"from_button_id": "button.menu_left",
"to_button_id": "$close_button_to_button_id",
"mapping_type": "global"
}
],
"controls": [
{
"background_image": {
"type": "image",
"size": [ "100%", "100%" ],
"texture": "textures/ui/White",
"color": "$dressing_room_dark_bg_color",
"alpha": 0.8
}
},
{ "popup_emote_wheel_dialog@persona.popup_emote_wheel_dialog": {} }
]
},
///////////////////////////////////////////////////////////////////////////////////////
//// left panel content
"category_section_panels": {
"type": "panel",
"anchor_from": "bottom_left",
"anchor_to": "bottom_left",
"size": [ "100%", "100%" ],
"controls": [
{ "category_section@persona.persona_category_section": {} },
{ "classic_skin_section@persona.classic_skin_categories": {} }
]
},
"persona_section_panels": {
"type": "panel",
"size": [ "100%", "fill" ],
"focus_container": true,
"use_last_focus": true,
"focus_wrap_enabled": false,
"focus_navigation_mode_right": "custom",
"focus_container_custom_right": [
{
"other_focus_container_name": "content_stack2"
}
],
"$is_sidebar_navigation_enabled|default": false,
"$focus_navigation_mode_up|default": "none",
"$focus_container_custom_up|default": [],
"variables": [
{
"requires": "(not $is_sidebar_navigation_enabled)",
"$focus_navigation_mode_up": "custom",
"$focus_container_custom_up": [
{
"other_focus_container_name": "persona_tabs_cape"
}
]
}
],
"focus_navigation_mode_up": "$focus_navigation_mode_up",
"focus_container_custom_up": "$focus_container_custom_up",
"controls": [
{ "category_sections@persona.category_section_panels": {} },
{ "persona_piece_section@persona.persona_piece_section": {} },
{ "classic_skin_skin@persona.persona_skin_section": {} }
]
},
"persona_left_panel": {
"type": "panel",
"size": [ "50%", "100%" ],
"controls": [
{
"persona_offer_panel_content@common.vertical_stack_panel": {
"size": [ "100%", "100%" ],
"layer": 2,
"$left_focus_container_override": "left_main_panel",
"controls": [
{ "space@persona.vertical_2_padding": {} },
{ "persona_left_panels@persona.persona_section_panels": {} },
{ "bottom_panel_padding@persona.vertical_2_padding": {} }
]
}
}
]
},
///////////////////////////////////////////////////////////////////////////////////////
//// overall screen objects
"persona_screen_main_panel_content": {
"type": "panel",
"size": [ "100%", "100%" ],
"controls": [
{
"preview_panel": {
"type": "input_panel",
"anchor_to": "top_middle",
"anchor_from": "top_middle",
"size": [ "100%", "100%" ],
"always_listen_to_input": true,
"controls": [
{
"preview@skin_viewer_panel": {
"$model_offset": [ 0, -2 ],
"anchor_to": "top_middle",
"anchor_from": "top_middle",
"size": [ "80%", "80%" ],
"$gesture_input_panel_control": "preview",
"$skin_preview": "#preview_skin_full",
"focus_enabled": true
}
}
],
"bindings": [
{
"binding_name": "#preview_appearance_on",
"binding_name_override": "#visible"
}
],
"button_mappings": [
{
"from_button_id": "button.menu_secondary_select",
"to_button_id": "button.try_exiting",
"mapping_type": "pressed"
}
]
}
},
{
"stack_panel@common.horizontal_stack_panel": {
"size": [ "100%", "100%" ],
"$left_focus_container_override": "left_main_panel",
"controls": [
{ "left_main_panel_padding@persona.horizontal_2_padding": {} },
{ "left_main_panel@persona.persona_left_panel": {} },
{ "middle_main_panel_padding@persona.horizontal_1_padding": {} },
{ "right_main_panel@persona.right_side_stack": {} },
{ "right_main_panel_padding@persona.horizontal_2_padding": {} }
],
"bindings": [
{
"binding_name": "(not #preview_appearance_on)",
"binding_name_override": "#visible",
"binding_condition": "always"
}
]
}
},
{ "classic_skin_custom_popup@persona.custom_skin_popup_dialog_panel": {} }
],
"bindings": [
{
"binding_name": "(not #page_loading_visible)",
"binding_name_override": "#visible",
"binding_condition": "always"
}
]
},
"persona_progress_loading@common_store.progress_loading": {
"layer": 100, // Make this on top
"bindings": [
{
"binding_name": "#page_loading_visible",
"binding_name_override": "#visible",
"binding_condition": "always"
}
]
},
"persona_screen_main_panel@sidebar_navigation.sidebar_view": {
"$sidebar_main_view_content": "persona.persona_screen_main_panel_content"
},
"persona_screen_background_content": {
"type": "image",
"fill": true,
"texture": "textures/ui/profile_bg"
},
"persona_screen_content": {
"type": "panel",
"size": [ "100%", "100%" ],
"controls": [
{
"main_panel@common_store.store_header_with_coins": {
"$child_control": "persona.persona_screen_main_panel",
"$back_button_pressed_button_name": "button.try_exiting",
"$top_status_and_coins_visible_binding_type": "global",
"$top_status_and_coins_visible_binding": "(not #preview_appearance_on)",
"$coin_focus_enabled_binding": "#persona_coins_focus_enabled"
}
},
{
"popup_dialog_factory": {
"type": "factory",
"control_ids": {
"no_store_connection": "@common_store.popup_dialog__no_store_connection",
"restore_popup": "@common_store.popup_dialog__restore_popup",
"restore_failed": "@common_store.popup_dialog__restore_failed",
"switch_character_skin_screens": "@persona.popup_dialog__switch_persona_and_classic_skin",
"custom_skin_info": "@persona.popup_dialog__custom_skin_info",
"realms_plus_extra_info": "@persona.popup_dialog__realms_plus_extra_info",
"emote_equip_slot_editor": "@persona.popup_dialog__emote_equip_slot_editor",
"restricted_content_popup": "@persona.popup_dialog__restricted_content_popup"
}
}
}
]
},
"persona_screen@common.base_screen": {
"$safezone_screen_matrix_layer": 20,
"$ignore_inventory_button": true,
"$wallet_gamepad_helper_bindings": [
{
"binding_name": "(#gamepad_helper_visible and #persona_x_bind_enabled)",
"binding_name_override": "#visible",
"binding_condition": "once"
}
],
"button_mappings": [
{
"from_button_id": "button.controller_select", // controller_X
"to_button_id": "button.coin_wallet_or_emote_preview",
"mapping_type": "focused"
},
{
"from_button_id": "button.menu_cancel",
"to_button_id": "button.try_exiting",
"mapping_type": "global"
},
{
"from_button_id": "button.controller_secondary_select_right", // controller_R3
"to_button_id": "button.preview_skin",
"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_animations": [
"@common.screen_exit_animation_push_fade",
"@common.screen_exit_animation_pop_fade",
"@common.screen_entrance_animation_push_fade",
"@common.screen_entrance_animation_pop_fade"
],
"$screen_content": "persona.persona_screen_content",
"$header_safezone_control": "common_store.store_top_bar_filler",
"$header_bar_control": "common_store.store_top_bar",
"$is_full_screen_layout": false,
"$ignore_swappers": false,
"$ignore_home_button": true,
"$ignore_search": true,
"$sidebar_ignore_page_loading": false,
"$hide_failure_text": true,
"$screen_bg_content": "persona.persona_screen_background_content"
}
}