mirror of
https://git.stillkill.net/MinecraftLeak/MinecraftLegends.git
synced 2026-10-22 21:32:19 +01:00
Initial commit
This commit is contained in:
commit
86efc669e9
5013 files changed
+237743
No files matched your search
+661
@@ -0,0 +1,661 @@
|
||||
/********************************************************
|
||||
+* (c) Mojang. All rights reserved *
|
||||
+* (c) Microsoft. All rights reserved. *
|
||||
+*********************************************************/
|
||||
|
||||
{
|
||||
"namespace": "controls_section",
|
||||
|
||||
//Button with text-binding capabilities
|
||||
|
||||
"binding_button@common_buttons.light_content_button": {
|
||||
"$pressed_button_name": "button.binding_button",
|
||||
"$button_content": "controls_section.binding_button_content",
|
||||
"bindings": [
|
||||
{
|
||||
"binding_type": "collection_details",
|
||||
"binding_collection_name": "$keymapping_collection"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
"binding_button_content@common_buttons.button_content_panel": {
|
||||
"controls": [
|
||||
{
|
||||
"default_label@common.new_button_label": {
|
||||
"text": "#binding_button_text",
|
||||
"bindings": [
|
||||
{
|
||||
"binding_name": "#binding_button_text",
|
||||
"binding_condition": "none",
|
||||
"binding_type": "collection",
|
||||
"binding_collection_name": "$keymapping_collection"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
// Image binding button
|
||||
|
||||
"image_binding_button@common_buttons.light_content_button": {
|
||||
"$pressed_button_name": "button.binding_button",
|
||||
"$button_content": "controls_section.image_binding_button_content",
|
||||
"bindings": [
|
||||
{
|
||||
"binding_type": "collection_details",
|
||||
"binding_collection_name": "$keymapping_collection"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
"image_binding_button_content@common_buttons.button_content_panel": {
|
||||
"controls": [
|
||||
{
|
||||
"base_icon_image": {
|
||||
"type": "image",
|
||||
"size": [ 26, 26 ],
|
||||
"layer": 1,
|
||||
"$gameplay_key_icon|default": "#binding_icon_sprite",
|
||||
"bindings": [
|
||||
{
|
||||
"binding_name": "$gameplay_key_icon",
|
||||
"binding_name_override": "#texture",
|
||||
"binding_type": "collection",
|
||||
"binding_collection_name": "$keymapping_collection"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"default_label@common.new_button_label": {
|
||||
"text": "#binding_button_text",
|
||||
"bindings": [
|
||||
{
|
||||
"binding_name": "#binding_button_text",
|
||||
"binding_type": "collection",
|
||||
"binding_collection_name": "$keymapping_collection"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
// reset binding button
|
||||
|
||||
"arrow_reset": {
|
||||
"type": "image",
|
||||
"layer": 2,
|
||||
"size": [ 16, 16 ],
|
||||
"texture": "textures/ui/undoArrow"
|
||||
},
|
||||
|
||||
"reset_binding_button@common_buttons.light_glyph_button": {
|
||||
"layer": 1,
|
||||
"$button_content": "controls_section.arrow_reset",
|
||||
"$pressed_button_name": "button.reset_binding"
|
||||
},
|
||||
|
||||
// keyboard controls
|
||||
"keymapping_item": {
|
||||
"type": "stack_panel",
|
||||
"orientation": "horizontal",
|
||||
"layer": 1,
|
||||
"size": [ "100%", 35 ],
|
||||
"controls": [
|
||||
{
|
||||
"option_info_label_control": {
|
||||
"type": "image",
|
||||
"texture": "textures/ui/text_label_box",
|
||||
"size": [ "fill", "100% - 4px" ],
|
||||
"anchor_from": "top_left",
|
||||
"anchor_to": "top_left",
|
||||
"controls": [
|
||||
{
|
||||
"keymapping_label_control": {
|
||||
"type": "label",
|
||||
"color": "$generic_button_text_color",
|
||||
"size": [ "100% - 4px", "default" ],
|
||||
"text_alignment": "center",
|
||||
"layer": 1,
|
||||
"text": "#keymapping_name",
|
||||
"bindings": [
|
||||
{
|
||||
"binding_name": "#keymapping_name",
|
||||
"binding_type": "collection",
|
||||
"binding_collection_name": "$keymapping_collection"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"keymapping_button_0@binding_button": {
|
||||
"size": [ "40% + 1px", "100% - 4px" ],
|
||||
"anchor_from": "top_left",
|
||||
"anchor_to": "top_left"
|
||||
}
|
||||
},
|
||||
{
|
||||
"keymapping_button_1@controls_section.reset_binding_button": {
|
||||
"size": [ "15% + 1px", "100% - 4px" ],
|
||||
"anchor_from": "top_left",
|
||||
"anchor_to": "top_left",
|
||||
"$pressed_button_name": "button.reset_binding",
|
||||
"bindings": [
|
||||
{
|
||||
"binding_type": "collection_details",
|
||||
"binding_collection_name": "$keymapping_collection"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
"keymapping_grid": {
|
||||
"type": "grid",
|
||||
"size": [ "100%", "default" ],
|
||||
"layer": 1,
|
||||
"grid_item_template": "controls_section.keymapping_item",
|
||||
"grid_dimension_binding": "$keymapping_grid_dimension",
|
||||
"collection_name": "$keymapping_collection",
|
||||
"anchor_to": "top_right",
|
||||
"anchor_from": "top_right",
|
||||
"bindings": [
|
||||
{
|
||||
"binding_name": "$keymapping_grid_dimension"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
// gamepad controls
|
||||
"gamepad_mapping_item": {
|
||||
"type": "stack_panel",
|
||||
"orientation": "horizontal",
|
||||
"layer": 1,
|
||||
"size": [ "100%", 35 ],
|
||||
"controls": [
|
||||
{
|
||||
"option_info_label_control": {
|
||||
"type": "image",
|
||||
"texture": "textures/ui/text_label_box",
|
||||
"size": [ "fill", "100% - 4px" ],
|
||||
"anchor_from": "top_left",
|
||||
"anchor_to": "top_left",
|
||||
"controls": [
|
||||
{
|
||||
"keymapping_label_control": {
|
||||
"type": "label",
|
||||
"color": "$generic_button_text_color",
|
||||
"size": [ "100% - 4px", "default" ],
|
||||
"text_alignment": "center",
|
||||
"layer": 1,
|
||||
"text": "#keymapping_name",
|
||||
"bindings": [
|
||||
{
|
||||
"binding_name": "#keymapping_name",
|
||||
"binding_type": "collection",
|
||||
"binding_collection_name": "$keymapping_collection"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"keymapping_button_0@controls_section.image_binding_button": {
|
||||
"size": [ "20% + 1px", "100% - 4px" ],
|
||||
"anchor_from": "top_left",
|
||||
"anchor_to": "top_left"
|
||||
}
|
||||
},
|
||||
{
|
||||
"keymapping_button_1@controls_section.reset_binding_button": {
|
||||
"size": [ "15% + 1px", "100% - 4px" ],
|
||||
"anchor_from": "top_left",
|
||||
"anchor_to": "top_left",
|
||||
"$pressed_button_name": "button.reset_binding",
|
||||
"bindings": [
|
||||
{
|
||||
"binding_type": "collection_details",
|
||||
"binding_collection_name": "$keymapping_collection"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
"gamepad_mapping_grid": {
|
||||
"type": "grid",
|
||||
"size": [ "100%", "default" ],
|
||||
"layer": 1,
|
||||
"grid_item_template": "controls_section.gamepad_mapping_item",
|
||||
"grid_dimension_binding": "$keymapping_grid_dimension",
|
||||
"collection_name": "$keymapping_collection",
|
||||
"anchor_to": "top_right",
|
||||
"anchor_from": "top_right",
|
||||
"bindings": [
|
||||
{
|
||||
"binding_name": "$keymapping_grid_dimension"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
// Keyboard and Mouse button & section
|
||||
|
||||
"keyboard_and_mouse_button@settings_common.section_toggle_base": {
|
||||
"$toggle_view_binding_name": "keyboard_and_mouse_button_toggle",
|
||||
"$glyph_texture": "textures/ui/keyboard_and_mouse_glyph",
|
||||
"$glyph_color_texture": "textures/ui/keyboard_and_mouse_glyph_color",
|
||||
"$glyph_size": [ 19, 9 ],
|
||||
"$button_text": "options.keyboardAndMouse",
|
||||
"$toggle_property_bag": {
|
||||
"#panel_title": "options.keyboardAndMouseSettings"
|
||||
}
|
||||
},
|
||||
|
||||
"keyboard_and_mouse_section": {
|
||||
"type": "stack_panel",
|
||||
"size": [ "100%", "100%c" ],
|
||||
"$keymapping_grid_dimension": "#keyboard_grid_dimension",
|
||||
"$keymapping_collection": "keyboard_collection",
|
||||
"anchor_from": "top_left",
|
||||
"anchor_to": "top_left",
|
||||
"bindings": [
|
||||
{
|
||||
"binding_type": "view",
|
||||
"source_control_name": "keyboard_and_mouse_button_toggle",
|
||||
"source_property_name": "#toggle_state",
|
||||
"target_property_name": "#visible"
|
||||
}
|
||||
],
|
||||
"controls": [
|
||||
{
|
||||
"option_slider_0@settings_common.option_slider": {
|
||||
"$option_label": "#keyboard_mouse_sensitivity_slider_label",
|
||||
"$slider_name": "keyboard_mouse_sensitivity",
|
||||
"$slider_value_binding_name": "#keyboard_mouse_sensitivity",
|
||||
"$option_enabled_binding_name": "#keyboard_mouse_sensitivity_enabled",
|
||||
"$focus_override_right": "FOCUS_OVERRIDE_STOP",
|
||||
|
||||
"$label_bindings": [
|
||||
{
|
||||
"binding_name": "#keyboard_mouse_sensitivity_slider_label"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"option_slider_1@settings_common.option_slider": {
|
||||
"ignored": "(not $is_holographic)",
|
||||
"$option_label": "#vr_ui_mouse_sensitivity_slider_label",
|
||||
"$slider_name": "vr_ui_mouse_sensitivity",
|
||||
"$slider_value_binding_name": "#vr_ui_mouse_sensitivity",
|
||||
"$option_enabled_binding_name": "#vr_ui_mouse_sensitivity_enabled",
|
||||
"$label_bindings": [
|
||||
{
|
||||
"binding_name": "#vr_ui_mouse_sensitivity_slider_label"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"option_toggle_0@settings_common.option_toggle": {
|
||||
"$option_label": "options.invertYAxis",
|
||||
"$option_binding_name": "#keyboard_mouse_invert_y_axis",
|
||||
"$option_enabled_binding_name": "#keyboard_mouse_invert_y_axis_enabled",
|
||||
"$toggle_name": "keyboard_mouse_invert_y_axis",
|
||||
"$focus_override_right": "FOCUS_OVERRIDE_STOP"
|
||||
}
|
||||
},
|
||||
{
|
||||
"option_toggle_1@settings_common.option_toggle": {
|
||||
"$option_label": "options.autojump",
|
||||
"$option_binding_name": "#keyboard_mouse_autojump",
|
||||
"$option_enabled_binding_name": "#keyboard_mouse_autojump_enabled",
|
||||
"$toggle_name": "keyboard_mouse_autojump",
|
||||
"$focus_override_right": "FOCUS_OVERRIDE_STOP"
|
||||
}
|
||||
},
|
||||
{
|
||||
"option_toggle_2@settings_common.option_toggle": {
|
||||
"ignored": true,// Remove this line when Options::TOGGLE_CROUCH actually affects crouch behavior (User Story 30117)
|
||||
"$option_label": "options.toggleCrouch",
|
||||
"$option_binding_name": "#keyboard_mouse_toggle_crouch",
|
||||
"$option_enabled_binding_name": "#keyboard_mouse_toggle_crouch_enabled",
|
||||
"$toggle_name": "keyboard_mouse_toggle_crouch"
|
||||
}
|
||||
},
|
||||
{
|
||||
"option_group_label@settings_common.option_group_label": {
|
||||
"$text": "options.keyboardLayout"
|
||||
}
|
||||
},
|
||||
{
|
||||
"keyboard_keymapping_grid@controls_section.keymapping_grid": { }
|
||||
},
|
||||
{
|
||||
"reset_button@settings_common.action_button": {
|
||||
"$pressed_button_name": "button.reset_keyboard_bindings",
|
||||
"$button_text": "controllerLayoutScreen.resetAllBindings",
|
||||
"$focus_override_right": "FOCUS_OVERRIDE_STOP"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
// Controller button & section
|
||||
|
||||
"controller_button@settings_common.section_toggle_base": {
|
||||
"$toggle_view_binding_name": "controller_button_toggle",
|
||||
"$glyph_texture": "textures/ui/controller_glyph",
|
||||
"$glyph_color_texture": "textures/ui/controller_glyph_color",
|
||||
"$glyph_size": [ 21, 14 ],
|
||||
"$button_text": "options.controller",
|
||||
"$toggle_property_bag": {
|
||||
"#panel_title": "options.controllerSettings"
|
||||
}
|
||||
},
|
||||
|
||||
"controller_section": {
|
||||
"type": "stack_panel",
|
||||
"size": [ "100%", "100%c" ],
|
||||
"anchor_from": "top_left",
|
||||
"anchor_to": "top_left",
|
||||
"$keymapping_grid_dimension": "#gamepad_grid_dimension",
|
||||
"$keymapping_collection": "gamepad_collection",
|
||||
"bindings": [
|
||||
{
|
||||
"binding_type": "view",
|
||||
"source_control_name": "controller_button_toggle",
|
||||
"source_property_name": "#toggle_state",
|
||||
"target_property_name": "#visible"
|
||||
}
|
||||
],
|
||||
"controls": [
|
||||
{
|
||||
"option_slider_0@settings_common.option_slider": {
|
||||
"ignored": "($is_holographic and not $is_living_room_mode)",
|
||||
"$option_label": "#controller_sensitivity_slider_label",
|
||||
"$slider_name": "controller_sensitivity",
|
||||
"$slider_value_binding_name": "#controller_sensitivity",
|
||||
"$option_enabled_binding_name": "#controller_sensitivity_enabled",
|
||||
"$focus_override_right": "FOCUS_OVERRIDE_STOP",
|
||||
"$label_bindings": [
|
||||
{
|
||||
"binding_name": "#controller_sensitivity_slider_label"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"option_slider_1@settings_common.option_slider": {
|
||||
"ignored": "($is_living_room_mode or not $is_holographic)",
|
||||
"$option_label": "#vr_sensitivity_slider_label",
|
||||
"$slider_name": "vr_sensitivity",
|
||||
"$slider_value_binding_name": "#vr_sensitivity",
|
||||
"$option_enabled_binding_name": "#vr_sensitivity_enabled",
|
||||
"$label_bindings": [
|
||||
{
|
||||
"binding_name": "#vr_sensitivity_slider_label"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"option_slider_2@settings_common.option_slider": {
|
||||
"$option_label": "#vr_roll_turn_sensitivity_slider_label",
|
||||
"$slider_name": "vr_roll_turn_sensitivity",
|
||||
"$slider_value_binding_name": "#vr_roll_turn_sensitivity",
|
||||
"$option_enabled_binding_name": "#vr_roll_turn_sensitivity_enabled",
|
||||
"$focus_override_right": "FOCUS_OVERRIDE_STOP",
|
||||
"$label_bindings": [
|
||||
{
|
||||
"binding_name": "#vr_roll_turn_sensitivity_slider_label"
|
||||
}
|
||||
],
|
||||
"bindings": [
|
||||
{
|
||||
"binding_name": "#vr_roll_turn_sensitivity_visible",
|
||||
"binding_name_override": "#visible"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"option_toggle_0@settings_common.option_toggle": {
|
||||
"$option_label": "options.invertYAxis",
|
||||
"$option_binding_name": "#controller_invert_y_axis",
|
||||
"$option_enabled_binding_name": "#controller_invert_y_axis_enabled",
|
||||
"$toggle_name": "controller_invert_y_axis",
|
||||
"$focus_override_right": "FOCUS_OVERRIDE_STOP"
|
||||
}
|
||||
},
|
||||
{
|
||||
"option_toggle_1@settings_common.option_toggle": {
|
||||
"ignored": "($is_holographic and not $is_living_room_mode)",
|
||||
"$option_label": "options.autojump",
|
||||
"$option_binding_name": "#controller_autojump",
|
||||
"$option_enabled_binding_name": "#controller_autojump_enabled",
|
||||
"$toggle_name": "controller_autojump",
|
||||
"$focus_override_right": "FOCUS_OVERRIDE_STOP"
|
||||
}
|
||||
},
|
||||
{
|
||||
"option_toggle9@settings_common.option_toggle": {
|
||||
"$option_label": "options.hidetooltips",
|
||||
"$option_binding_name": "#hide_tooltips",
|
||||
"$option_enabled_binding_name": "#hide_tooltips_enabled",
|
||||
"$toggle_name": "hide_tooltips",
|
||||
"$focus_override_right": "FOCUS_OVERRIDE_STOP"
|
||||
}
|
||||
},
|
||||
{
|
||||
"option_toggle10@settings_common.option_toggle": {
|
||||
"$option_label": "options.hidegamepadcursor",
|
||||
"$option_binding_name": "#hide_gamepad_cursor",
|
||||
"$option_enabled_binding_name": "#hide_gamepad_cursor_enabled",
|
||||
"$toggle_name": "hide_gamepad_cursor",
|
||||
"$focus_override_right": "FOCUS_OVERRIDE_STOP"
|
||||
}
|
||||
},
|
||||
{
|
||||
"gamepad_cursor_sensitivity_option_slider@settings_common.option_slider": {
|
||||
"$option_label": "#gamepad_cursor_sensitivity_slider_label",
|
||||
"$slider_name": "gamepad_cursor_sensitivity",
|
||||
"$slider_value_binding_name": "#gamepad_cursor_sensitivity",
|
||||
"$option_enabled_binding_name": "#gamepad_cursor_sensitivity_enabled",
|
||||
"$focus_override_right": "FOCUS_OVERRIDE_STOP",
|
||||
"$label_bindings": [
|
||||
{
|
||||
"binding_name": "#gamepad_cursor_sensitivity_slider_label"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"option_toggle_2@settings_common.option_toggle": {
|
||||
"ignored": "($is_living_room_mode or not $is_holographic)",
|
||||
"$option_label": "options.vrAutojump",
|
||||
"$option_binding_name": "#vr_autojump",
|
||||
"$option_enabled_binding_name": "#vr_autojump_enabled",
|
||||
"$toggle_name": "vr_autojump",
|
||||
"$focus_override_right": "FOCUS_OVERRIDE_STOP"
|
||||
}
|
||||
},
|
||||
{
|
||||
"option_toggle_3@settings_common.option_toggle": {
|
||||
"ignored": true, // Remove this line when Options::TOGGLE_CROUCH actually affects crouch behavior (User Story 30117)
|
||||
"$option_label": "options.toggleCrouch",
|
||||
"$option_binding_name": "#controller_toggle_crouch",
|
||||
"$option_enabled_binding_name": "#controller_toggle_crouch_enabled",
|
||||
"$toggle_name": "controller_toggle_crouch",
|
||||
"$focus_override_right": "FOCUS_OVERRIDE_STOP"
|
||||
}
|
||||
},
|
||||
{
|
||||
"option_toggle_4@settings_common.option_toggle": {
|
||||
"ignored": true, // TODO: Remove this line when we add in haptic feedback (User Story 41617)
|
||||
"$option_label": "options.destroyvibration",
|
||||
"$option_binding_name": "#controller_vibration",
|
||||
"$option_enabled_binding_name": "#controller_vibration_enabled",
|
||||
"$toggle_name": "controller_vibration",
|
||||
"$focus_override_right": "FOCUS_OVERRIDE_STOP"
|
||||
}
|
||||
},
|
||||
|
||||
{
|
||||
"option_group_label@settings_common.option_group_label": {
|
||||
"$text": "options.controllerLayout"
|
||||
}
|
||||
},
|
||||
{
|
||||
"gamepad_keymapping_grid@controls_section.gamepad_mapping_grid": {}
|
||||
},
|
||||
{
|
||||
"reset_button@settings_common.action_button": {
|
||||
"$pressed_button_name": "button.reset_gamepad_bindings",
|
||||
"$button_text": "controllerLayoutScreen.resetAllBindings",
|
||||
"$focus_override_right": "FOCUS_OVERRIDE_STOP"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
// Touch button & section
|
||||
|
||||
"touch_button@settings_common.section_toggle_base": {
|
||||
"$toggle_view_binding_name": "touch_button_toggle",
|
||||
"$glyph_texture": "textures/ui/touch_glyph",
|
||||
"$glyph_color_texture": "textures/ui/touch_glyph_color",
|
||||
"$glyph_size": [ 20, 14 ],
|
||||
"$button_text": "options.touch",
|
||||
"$toggle_property_bag": {
|
||||
"#panel_title": "options.touchSettings"
|
||||
}
|
||||
},
|
||||
|
||||
"touch_section": {
|
||||
"type": "stack_panel",
|
||||
"size": [ "100%", "100%c" ],
|
||||
"anchor_from": "top_left",
|
||||
"anchor_to": "top_left",
|
||||
"bindings": [
|
||||
{
|
||||
"binding_type": "view",
|
||||
"source_control_name": "touch_button_toggle",
|
||||
"source_property_name": "#toggle_state",
|
||||
"target_property_name": "#visible"
|
||||
}
|
||||
],
|
||||
"controls": [
|
||||
{
|
||||
"option_slider_0@settings_common.option_slider": {
|
||||
"$option_label": "#touch_sensitivity_slider_label",
|
||||
"$slider_name": "touch_sensitivity",
|
||||
"$slider_value_binding_name": "#touch_sensitivity",
|
||||
"$option_enabled_binding_name": "#touch_sensitivity_enabled",
|
||||
"$label_bindings": [
|
||||
{
|
||||
"binding_name": "#touch_sensitivity_slider_label"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"option_toggle_0@settings_common.option_toggle": {
|
||||
"$option_label": "options.invertYAxis",
|
||||
"$option_binding_name": "#touch_invert_y_axis",
|
||||
"$option_enabled_binding_name": "#touch_invert_y_axis_enabled",
|
||||
"$toggle_name": "touch_invert_y_axis"
|
||||
}
|
||||
},
|
||||
{
|
||||
"option_toggle_1@settings_common.option_toggle": {
|
||||
"$option_label": "options.autojump",
|
||||
"$option_binding_name": "#touch_autojump",
|
||||
"$option_enabled_binding_name": "#touch_autojump_enabled",
|
||||
"$toggle_name": "touch_autojump"
|
||||
}
|
||||
},
|
||||
|
||||
{
|
||||
"option_toggle_2@settings_common.option_toggle": {
|
||||
"ignored": true, // TODO: Remove this line when we add in haptic feedback (User Story 41617)
|
||||
"$option_label": "options.destroyvibration",
|
||||
"$option_binding_name": "#touch_vibration",
|
||||
"$option_enabled_binding_name": "#touch_vibration_enabled",
|
||||
"$toggle_name": "touch_vibration"
|
||||
}
|
||||
},
|
||||
{
|
||||
"option_toggle_3@settings_common.option_toggle": {
|
||||
"ignored": true, // Remove this line when Options::TOGGLE_CROUCH actually affects crouch behavior (User Story 30117)
|
||||
"$option_label": "options.toggleCrouch",
|
||||
"$option_binding_name": "#touch_toggle_crouch",
|
||||
"$option_enabled_binding_name": "#touch_toggle_crouch_enabled",
|
||||
"$toggle_name": "touch_toggle_crouch"
|
||||
}
|
||||
},
|
||||
{
|
||||
"option_toggle_4@settings_common.option_toggle": {
|
||||
"$option_label": "options.usetouchpad",
|
||||
"$option_binding_name": "#split_controls",
|
||||
"$option_enabled_binding_name": "#split_controls_enabled",
|
||||
"$toggle_name": "split_controls"
|
||||
}
|
||||
},
|
||||
{
|
||||
"option_toggle_5@settings_common.option_toggle": {
|
||||
"$option_label": "options.lefthanded",
|
||||
"$option_binding_name": "#left_handed",
|
||||
"$option_enabled_binding_name": "#left_handed_enabled",
|
||||
"$toggle_name": "left_handed"
|
||||
}
|
||||
},
|
||||
{
|
||||
"option_toggle_6@settings_common.option_toggle": {
|
||||
"$option_label": "options.swapJumpAndSneak",
|
||||
"$option_binding_name": "#swap_jump_and_sneak",
|
||||
"$option_enabled_binding_name": "#swap_jump_and_sneak_enabled",
|
||||
"$toggle_name": "swap_jump_and_sneak"
|
||||
}
|
||||
},
|
||||
{
|
||||
"hotbar_only_touch_toggle@settings_common.option_toggle": {
|
||||
"$option_label": "options.hotbarOnlyTouch",
|
||||
"$option_binding_name": "#hotbar_only_touch",
|
||||
"$option_enabled_binding_name": "#hotbar_only_touch_enabled",
|
||||
"$toggle_name": "hotbar_only_touch"
|
||||
}
|
||||
},
|
||||
{
|
||||
"option_slider_1@settings_common.option_slider": {
|
||||
"$option_label": "#button_size_slider_label",
|
||||
"$slider_name": "button_size",
|
||||
"$slider_value_binding_name": "#button_size",
|
||||
"$option_enabled_binding_name": "#button_size_enabled",
|
||||
"$label_bindings": [
|
||||
{
|
||||
"binding_name": "#button_size_slider_label"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"reset_button@settings_common.action_button": {
|
||||
"$pressed_button_name": "button.reset_touch_bindings",
|
||||
"$button_text": "controllerLayoutScreen.resetAllBindings",
|
||||
"$focus_override_down": "FOCUS_OVERRIDE_STOP"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
+2653
File diff suppressed because it is too large.
Load diff
+169
@@ -0,0 +1,169 @@
|
||||
/********************************************************
|
||||
+* (c) Mojang. All rights reserved *
|
||||
+* (c) Microsoft. All rights reserved. *
|
||||
+*********************************************************/
|
||||
|
||||
{
|
||||
"namespace": "realms_world_section",
|
||||
|
||||
"realm_name_edit@settings_common.option_text_edit": {
|
||||
"$option_label": "realmsSettingsScreen.realmNameLabel",
|
||||
"$option_binding_name": "#realm_name",
|
||||
"$option_enabled_binding_name": "#realm_name_enabled",
|
||||
"$option_place_holder_text": "realmsSettingsScreen.realmNameEditPlaceholder",
|
||||
"$text_box_name": "realm_name_text_box",
|
||||
"$allow_data_binding": true,
|
||||
"$max_text_edit_length": 64
|
||||
},
|
||||
|
||||
"club_description_edit@settings_common.option_text_edit": {
|
||||
"$option_label": "feed.clubdescription",
|
||||
"$option_binding_name": "#club_description",
|
||||
"$option_enabled_binding_name": "#realm_name_enabled",
|
||||
"$option_place_holder_text": "realmsSettingsScreen.realmDescriptionEditPlaceholder",
|
||||
"$text_box_name": "club_description_text_box",
|
||||
"$allow_data_binding": true,
|
||||
"$max_text_edit_length": 499,
|
||||
"bindings": [
|
||||
{
|
||||
"binding_name": "#club_description_enabled",
|
||||
"binding_name_override": "#enabled"
|
||||
},
|
||||
{
|
||||
"binding_name": "#club_description_visible",
|
||||
"binding_name_override": "#visible"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
|
||||
"download_world_button@settings_common.action_button": {
|
||||
"anchor_from": "left_middle",
|
||||
"anchor_to": "left_middle",
|
||||
"$button_text": "realmsSettingsScreen.downloadWorldButton",
|
||||
"$pressed_button_name": "menu_download_world",
|
||||
"ignored": "(not $is_pregame or $apple_tv)"
|
||||
},
|
||||
|
||||
"upload_world_button@settings_common.action_button": {
|
||||
"anchor_from": "left_middle",
|
||||
"anchor_to": "left_middle",
|
||||
"$button_text": "realmsSettingsScreen.uploadWorldButton",
|
||||
"$pressed_button_name": "menu_upload_world",
|
||||
"ignored": "(not $is_pregame or $apple_tv)",
|
||||
"bindings": [
|
||||
{
|
||||
"binding_name": "#upload_button_enabled",
|
||||
"binding_name_override": "#enabled"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
"reset_world_button@settings_common.action_button": {
|
||||
"anchor_from": "left_middle",
|
||||
"anchor_to": "left_middle",
|
||||
"$button_text": "realmsSettingsScreen.resetWorldButton",
|
||||
"$pressed_button_name": "menu_reset_world",
|
||||
"bindings": [
|
||||
{
|
||||
"binding_name": "#reset_button_enabled",
|
||||
"binding_name_override": "#enabled"
|
||||
},
|
||||
{
|
||||
"binding_name": "#reset_button_visible",
|
||||
"binding_name_override": "#visible"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
"manage_feed_button@settings_common.action_button": {
|
||||
"anchor_from": "left_middle",
|
||||
"anchor_to": "left_middle",
|
||||
"$button_text": "feed.manage_feed",
|
||||
"$pressed_button_name": "menu_manage_feed",
|
||||
"bindings": [
|
||||
{
|
||||
"binding_name": "#manage_feed_button_enabled",
|
||||
"binding_name_override": "#enabled"
|
||||
},
|
||||
{
|
||||
"binding_name": "#manage_feed_button_visible",
|
||||
"binding_name_override": "#visible"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
"club_info_label@settings_common.option_info_label": {
|
||||
"$container_text_binding_name": "#club_infotext",
|
||||
"$show_option_label": false,
|
||||
"bindings": [
|
||||
{
|
||||
"binding_name": "#club_infotext_visible",
|
||||
"binding_name_override": "#visible"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
|
||||
"difficulty_dropdown@settings_common.option_dropdown": {
|
||||
"$option_label": "options.difficulty",
|
||||
"$dropdown_content": "world_section.world_difficulty_dropdown_content",
|
||||
"$dropdown_area": "realms_world_section.panel_content",
|
||||
"$dropdown_name": "realms_difficulty",
|
||||
"$options_dropdown_toggle_label_binding": "#difficulty_option_label",
|
||||
"$option_enabled_binding_name": "#realms_difficulty_dropdown_enabled",
|
||||
"$dropdown_scroll_content_size": [ "100%", "260%" ]
|
||||
},
|
||||
|
||||
"game_mode_dropdown@settings_common.option_dropdown": {
|
||||
"$option_label": "createWorldScreen.gameMode",
|
||||
"$dropdown_content": "world_section.world_game_mode_dropdown_content",
|
||||
"$dropdown_area": "realms_world_section.panel_content",
|
||||
"$dropdown_name": "realms_gamemode",
|
||||
"$options_dropdown_toggle_label_binding": "#gameMode_option_label",
|
||||
"$option_enabled_binding_name": "#realms_game_mode_dropdown_enabled",
|
||||
"$dropdown_scroll_content_size": [ "100%", "200%" ],
|
||||
"$enabled": "$is_pregame"
|
||||
},
|
||||
|
||||
"panel_content": {
|
||||
"type": "stack_panel",
|
||||
"controls": [
|
||||
{ "realm_name_edit@realms_world_section.realm_name_edit": {} },
|
||||
{ "club_description_edit@realms_world_section.club_description_edit": {} },
|
||||
{ "difficulty_dropdown@realms_world_section.difficulty_dropdown": {} },
|
||||
{ "game_mode_dropdown@realms_world_section.game_mode_dropdown": {} },
|
||||
{
|
||||
"allow_cheats_toggle@settings_common.option_toggle": {
|
||||
"$option_label": "selectWorld.cheats",
|
||||
"$option_binding_name": "#allow_cheats",
|
||||
"$option_enabled_binding_name": "#allow_cheats_enabled",
|
||||
"$toggle_name": "allow_cheats"
|
||||
}
|
||||
},
|
||||
{ "download_world_button@realms_world_section.download_world_button": {} },
|
||||
{
|
||||
"padding_0": {
|
||||
"type": "panel",
|
||||
"size": [ "100%", 4 ]
|
||||
}
|
||||
},
|
||||
{ "upload_world_button@realms_world_section.upload_world_button": {} },
|
||||
{
|
||||
"padding_1": {
|
||||
"type": "panel",
|
||||
"size": [ "100%", 4 ]
|
||||
}
|
||||
},
|
||||
{ "reset_world_button@realms_world_section.reset_world_button": {} },
|
||||
{
|
||||
"padding_2": {
|
||||
"type": "panel",
|
||||
"size": [ "100%", 16 ]
|
||||
}
|
||||
},
|
||||
{ "club_info_label@realms_world_section.club_info_label": {} },
|
||||
{ "manage_feed_button@realms_world_section.manage_feed_button": {} }
|
||||
]
|
||||
}
|
||||
}
|
||||
+1059
File diff suppressed because it is too large.
Load diff
+1313
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user