1
0
mirror of https://github.com/Mojang/bedrock-samples.git synced 2024-11-27 06:58:55 +00:00
bedrock-samples/resource_pack/ui/realmsPlus_sections/faq_section.json
Mike Ammerlaan 1440438305 v1.21.30.3
2024-09-17 09:13:33 -07:00

338 lines
9.8 KiB
JSON

{
"namespace": "realmsPlus_faq",
"faq_image_section@common.service_repo_image_panel": {
"size": [ 100, "72.6%x" ]
},
"faq_image_local": {
"type": "image",
"size": [ 100, "72.6%x" ],
"texture": "$repo_image_texture"
},
"faq_image_type": {
"type": "panel",
"size": [ 100, "100%cm" ],
"controls": "$faq_image_control",
"$faq_image_control|default": [
{
"faq_image_repo@realmsPlus_faq.faq_image_section": {}
}
]
},
"faq_text_section_body": {
"type": "stack_panel",
"orientation": "vertical",
"size": [ "fill", "100%c" ],
"$faq_question|default": "",
"$faq_answer|default": ""
},
"faq_text_question": {
"type": "label",
"text": "$faq_question",
"size": [ "100%", "default" ],
"color": "$store_white_text_color"
},
"faq_text_section@realmsPlus_faq.faq_text_section_body": {
"controls": [
{
"faq_text_question@realmsPlus_faq.faq_text_question": {}
},
{
"faq_text_answer": {
"type": "label",
"text": "$faq_answer",
"size": [ "100%", "default" ],
"font_type": "smooth",
"font_scale_factor": 0.9,
"color": "$store_white_text_color"
}
}
]
},
"faq_price_bound_text_section@realmsPlus_faq.faq_text_section_body": {
"controls": [
{
"faq_text_question@realmsPlus_faq.faq_text_question": {}
},
{
"faq_text_answer": {
"type": "label",
"text": "#faq_price_text",
"size": [ "100%", "default" ],
"font_type": "smooth",
"font_scale_factor": 0.9,
"color": "$store_white_text_color",
"bindings": [
{
"binding_name": "#faq_price_text"
}
]
}
}
]
},
"faq_question_body@realmsPlus_faq.faq_question_body_stack": {
"controls": "$question_body_controls"
},
"faq_question_body_stack": {
"type": "stack_panel",
"orientation": "horizontal",
"size": [ "100%", "100%cm" ]
},
"faq_question_body_horz_padding": {
"type": "panel",
"size": [ 4, 0 ]
},
"image_left_faq_question_body@common_buttons.text_body_focus_border_for_controller_button": {
"$text_control": "realmsPlus_faq.faq_question_body",
"$text_control_size": [ "100%", "100%cm" ],
"$question_body_controls": [
{
"faq_question_body_horz_padding_1@realmsPlus_faq.faq_question_body_horz_padding": {}
},
{
"faq_image_type@realmsPlus_faq.faq_image_type": {}
},
{
"faq_question_body_horz_padding_2@realmsPlus_faq.faq_question_body_horz_padding": {}
},
{
"faq_text_section@realmsPlus_faq.faq_text_section": {}
},
{
"faq_question_body_horz_padding_3@realmsPlus_faq.faq_question_body_horz_padding": {}
}
]
},
"image_right_faq_question_body@common_buttons.text_body_focus_border_for_controller_button": {
"$text_control": "realmsPlus_faq.faq_question_body",
"$text_control_size": [ "100%", "100%cm" ],
"$question_body_controls": [
{
"faq_question_body_horz_padding_1@realmsPlus_faq.faq_question_body_horz_padding": {}
},
{
"faq_text_section@realmsPlus_faq.faq_text_section": {}
},
{
"faq_question_body_horz_padding_2@realmsPlus_faq.faq_question_body_horz_padding": {}
},
{
"faq_image_type@realmsPlus_faq.faq_image_type": {}
},
{
"faq_question_body_horz_padding_3@realmsPlus_faq.faq_question_body_horz_padding": {}
}
]
},
"image_left_faq_question_body_flip": {
"type": "panel",
"size": [ "100%", "100%c" ],
"controls": [
{
"faq_question_left@realmsPlus_faq.image_left_faq_question_body": {}
}
]
},
"image_right_faq_question_body_flip": {
"type": "panel",
"size": [ "100%", "100%c" ],
"controls": [
{
"faq_question_right@realmsPlus_faq.image_right_faq_question_body": {}
}
]
},
"image_left_faq_price_bound@common_buttons.text_body_focus_border_for_controller_button": {
"$text_control": "realmsPlus_faq.faq_question_body",
"$text_control_size": [ "100%", "100%cm" ],
"$question_body_controls": [
{
"faq_question_body_horz_padding_1@realmsPlus_faq.faq_question_body_horz_padding": {}
},
{
"faq_image_section@realmsPlus_faq.faq_image_section": {}
},
{
"faq_question_body_horz_padding_2@realmsPlus_faq.faq_question_body_horz_padding": {}
},
{
"faq_text_section@realmsPlus_faq.faq_price_bound_text_section": {}
},
{
"faq_question_body_horz_padding_3@realmsPlus_faq.faq_question_body_horz_padding": {}
}
]
},
"faq_section_header_space": {
"type": "panel",
"size": [ "100%", 8 ]
},
"faq_section_divider@common.section_divider": {
"$top_padding_size": [ "100%", 4 ],
"$bottom_padding_size": [ "100%", 4 ]
},
"faq_content_section@realmsPlus.section_base": {
"controls": [
{
"content_section_top_padding_1@realmsPlus.content_section_top_padding": {}
},
{
"faq_header": {
"type": "label",
"size": [ "100%", "default" ],
"text": "store.realmsPlus.faq.header",
"font_scale_factor": 1.2,
"text_alignment": "center",
"color": "$store_white_text_color",
"layer": 1
}
},
{
"content_section_top_padding_2@realmsPlus_faq.faq_section_header_space": {}
},
{
"faq_question_1@realmsPlus_faq.image_left_faq_question_body": {
"$faq_question": "store.realmsPlus.faq.question1",
"$faq_answer": "store.realmsPlus.faq.answer1",
"$repo_image_texture": "adventure_characters"
}
},
{
"faq_question_1_divider@realmsPlus_faq.faq_section_divider": {}
},
{
"faq_question_2@realmsPlus_faq.image_right_faq_question_body": {
"$faq_question": "store.realmsPlus.faq.question2",
"$faq_answer": "store.realmsPlus.faq.answer2",
"$repo_image_texture": "chicken_forward"
}
},
{
"faq_question_2_divider@realmsPlus_faq.faq_section_divider": {}
},
{
"faq_question_3@realmsPlus_faq.image_left_faq_price_bound": {
"$faq_question": "store.realmsPlus.faq.question5",
"$repo_image_texture": "steve_forward"
}
},
{
"faq_question_3_divider@realmsPlus_faq.faq_section_divider": {}
},
{
"faq_question_4@realmsPlus_faq.image_right_faq_question_body": {
"$faq_question": "store.realmsPlus.faq.question10",
"$faq_answer": "store.realmsPlus.faq.answer10",
"$faq_image_control": [
{
"faq_image_local_path@realmsPlus_faq.faq_image_local": {}
}
],
"$repo_image_texture": "textures/ui/realms_faq_bee"
}
},
{
"faq_question_4_divider@realmsPlus_faq.faq_section_divider": {}
},
{
"faq_question_5@realmsPlus_faq.image_left_faq_question_body_flip": {
"$faq_question": "store.realmsPlus.faq.question11",
"$faq_answer": "store.realmsPlus.faq.answer11",
"$faq_image_control": [
{
"faq_image_local_path@realmsPlus_faq.faq_image_local": {}
}
],
"$repo_image_texture": "textures/ui/realms_faq_spider"
}
},
{
"faq_question_5_divider@realmsPlus_faq.faq_section_divider": {}
},
{
"faq_question_6@realmsPlus_faq.image_right_faq_question_body_flip": {
"$faq_question": "store.realmsPlus.faq.question4",
"$faq_answer": "store.realmsPlus.faq.answer4",
"$repo_image_texture": "alex_bow"
}
},
{
"faq_question_6_divider@realmsPlus_faq.faq_section_divider": {}
},
{
"faq_question_7@realmsPlus_faq.image_left_faq_question_body_flip": {
"$faq_question": "store.realmsPlus.faq.question3",
"$faq_answer": "store.realmsPlus.faq.answer3",
"$repo_image_texture": "pig_forward"
}
},
{
"faq_question_7_divider@realmsPlus_faq.faq_section_divider": {}
},
{
"faq_question_8@realmsPlus_faq.image_right_faq_question_body_flip": {
"$faq_question": "store.realmsPlus.faq.question9",
"$faq_answer": "store.realmsPlus.faq.answer9",
"$repo_image_texture": "creeper_forward"
}
},
{
"faq_question_8_divider@realmsPlus_faq.faq_section_divider": {}
},
{
"faq_question_9@realmsPlus_faq.image_left_faq_question_body_flip": {
"$faq_question": "store.realmsPlus.faq.question8",
"$faq_answer": "store.realmsPlus.faq.answer8",
"$repo_image_texture": "wolf_forward"
}
},
{
"faq_question_9_divider@realmsPlus_faq.faq_section_divider": {}
},
{
"faq_question_10@realmsPlus_faq.image_right_faq_question_body_flip": {
"$faq_question": "store.realmsPlus.faq.question7",
"$faq_answer": "store.realmsPlus.faq.answer7",
"$faq_image_control": [
{
"faq_image_local_path@realmsPlus_faq.faq_image_local": {}
}
],
"$repo_image_texture": "textures/ui/realms_faq_fox"
}
},
{
"faq_question_10_divider@realmsPlus_faq.faq_section_divider": {}
},
{
"faq_question_11@realmsPlus_faq.image_left_faq_question_body_flip": {
"$faq_question": "store.realmsPlus.faq.question6",
"$faq_answer": "store.realmsPlus.faq.answer6",
"$repo_image_texture": "ender_dragon"
}
},
{
"content_section_top_padding_3@realmsPlus.content_section_top_padding": {}
}
]
}
}