{
  "heart_renderer": {
    "visible": false,
    "bindings": []
  },
  "hud_player_renderer": {
    "visible": false
  },
  "item_name_text@hud.item_name_text_root": {
    "offset": [ 0, 999 ]
  },
  "hud_actionbar_text": {
    "type": "image",
    "anchor_from": "bottom_middle",
    "anchor_to": "bottom_middle",
    "offset": [-60, -40],
    "texture": "textures/zinvisible",
    "controls": [
      {
        "actionbar_message": {
          "type": "label",
          "anchor_from": "center",
          "anchor_to": "center",
          "offset": [0, 0],
          "color": "$tool_tip_text",
          "text": "$actionbar_text",
          "text_alignment": "left",
          "shadow": true,
          "font_type": "MinecraftTen",
          "font_scale_factor": 1,
          "layer": 6
        }
      }
    ]
  },
  "hud_title_text": {
    "visible": false
  },
  "anim_title_text_alpha_out": {
    "anim_type": "alpha",
    "easing": "in_expo",
    "duration": 3,
    "from": 1,
    "to": 0,
    "destroy_at_end": "hud_title_text"
  },
  
  "centered_gui_elements_at_bottom_middle":{
    "modifications": [
      {
        "array_name": "controls",
        "operation": "remove",
        "where": {
          "heart_rend@heart_renderer": {
            "offset": [ -1, -40 ],
            "anchor_from": "bottom_left",
            "anchor_to": "bottom_left"
          }
        }
      },
      {
        "array_name": "controls",
        "operation": "remove",
        "where": {
          "armor_rend@armor_renderer": {
            "offset": [ -1, -40 ],
            "anchor_from": "bottom_left",
            "anchor_to": "bottom_left"
          }
        }
      }
    ]
  },
  "not_centered_gui_elements":{
    "modifications": [
      {
        "array_name": "controls",
        "operation": "remove",
        "where": {
          "heart_rend@heart_renderer": {
            "offset": [ 2, 2 ],
            "anchor_from": "top_left",
            "anchor_to": "top_left"
          }
        }
      },
      {
        "array_name": "controls",
        "operation": "remove",
        "where": {
          "armor_rend@armor_renderer": {
            "offset": [ 2, 2 ],
            "anchor_from": "top_left",
            "anchor_to": "top_left"
          }
        }
      }
    ]
  },
  "root_panel": {
    "type": "panel",
    "modifications": [
      {
        "array_name": "controls",
        "operation": "insert_back",
        "value": [/*
          {
            "ui": {
              "type": "image",
              "texture": "textures/wg/ui",
              "size": [175, 50],
              "offset": [10, 10],
              "anchor_from": "top_left",
              "anchor_to": "top_left",
              "layer": 1
            }
          },
          {
            "clip": {
              "type": "panel",
              "anchor_from": "top_left",
              "anchor_to": "top_left",
              "size": [25, 25],
              "offset": [22.5, 22.5],
              "clips_children": true,
              "controls": [
                {
                  "player": {
                    "type": "custom",
                    "renderer": "live_player_renderer",
                    "size": ["75%", "75%"],
                    "offset": [0, "15%"],
                    "anchor_from": "center",
                    "anchor_to": "center",
                    "enable_scissor_test": true,
                    "layer": 100,
                    "property_bag": {
                      "#look_at_cursor": false
                    }
                  }
                }
              ]
            }
          },*/
          {
            "wg_skills@wg_skills.wg_skills_panel": {}
          },
          {
            "player_position@hud.player_position": {
              "anchor_from": "top_left",
              "anchor_to": "top_left"
            }
          },
          {
            "custom_chat_stack": {
              "type": "stack_panel",
              "orientation": "vertical",
              "size": [
                "40%",
                "0%"
              ],
              "anchor_from": "bottom_left",
              "anchor_to": "bottom_left",
              "controls": [
                {
                  "chat_panel@hud.chat_panel": {}
                }
              ]
            }
          },
          {
            "subtitle": {
              "type": "label",
              "text": "#text",
              "shadow": true,
              "font_type": "MinecraftTen",
              "text_alignment": "left",
              "layer": 4,
              "font_scale_factor": 1.01,
              "offset": [25, 20],
              "anchor_from": "top_left",
              "anchor_to": "top_left",
              "bindings": [
                {
                  "binding_name": "#hud_subtitle_text_string",
                  "binding_name_override": "#text",
                  "binding_type": "global"
                }
              ]
            }
          },
          {
            "health": {
              "type": "panel",
              "controls": [
                {
                  "10": {
                    "type": "image",
                    "texture": "textures/wg/icons",
                    "size": [90, 9],
                    "offset": [-55, -32.5],
                    "uv": [0, 402],
                    "uv_size": [90, 10],
                    "anchor_from": "bottom_middle",
                    "anchor_to": "bottom_middle",
                    "layer": 1,
                    "$value": "[hp10]",
                    "bindings": [
                      {"binding_name": "#hud_title_text_string"},{"binding_type": "view","source_property_name": "(not((#hud_title_text_string - $value) \u003d #hud_title_text_string))","target_property_name": "#visible"}
                    ]
                  }
                },
                {
                  "9": {
                    "type": "image",
                    "texture": "textures/wg/icons",
                    "size": [90, 9],
                    "offset": [-55, -32.5],
                    "uv": [0, 412],
                    "uv_size": [90, 10],
                    "anchor_from": "bottom_middle",
                    "anchor_to": "bottom_middle",
                    "layer": 1,
                    "$value": "[hp9]",
                    "bindings": [
                      {"binding_name": "#hud_title_text_string"},{"binding_type": "view","source_property_name": "(not((#hud_title_text_string - $value) \u003d #hud_title_text_string))","target_property_name": "#visible"}
                    ]
                  }
                },
                {
                  "8": {
                    "type": "image",
                    "texture": "textures/wg/icons",
                    "size": [90, 9],
                    "offset": [-55, -32.5],
                    "uv": [0, 422],
                    "uv_size": [90, 10],
                    "anchor_from": "bottom_middle",
                    "anchor_to": "bottom_middle",
                    "layer": 1,
                    "$value": "[hp8]",
                    "bindings": [
                      {"binding_name": "#hud_title_text_string"},{"binding_type": "view","source_property_name": "(not((#hud_title_text_string - $value) \u003d #hud_title_text_string))","target_property_name": "#visible"}
                    ]
                  }
                },
                {
                  "7": {
                    "type": "image",
                    "texture": "textures/wg/icons",
                    "size": [90, 9],
                    "offset": [-55, -32.5],
                    "uv": [0, 432],
                    "uv_size": [90, 10],
                    "anchor_from": "bottom_middle",
                    "anchor_to": "bottom_middle",
                    "layer": 1,
                    "$value": "[hp7]",
                    "bindings": [
                      {"binding_name": "#hud_title_text_string"},{"binding_type": "view","source_property_name": "(not((#hud_title_text_string - $value) \u003d #hud_title_text_string))","target_property_name": "#visible"}
                    ]
                  }
                },
                {
                  "6": {
                    "type": "image",
                    "texture": "textures/wg/icons",
                    "size": [90, 9],
                    "offset": [-55, -32.5],
                    "uv": [0, 442],
                    "uv_size": [90, 10],
                    "anchor_from": "bottom_middle",
                    "anchor_to": "bottom_middle",
                    "layer": 1,
                    "$value": "[hp6]",
                    "bindings": [
                      {"binding_name": "#hud_title_text_string"},{"binding_type": "view","source_property_name": "(not((#hud_title_text_string - $value) \u003d #hud_title_text_string))","target_property_name": "#visible"}
                    ]
                  }
                },
                {
                  "5": {
                    "type": "image",
                    "texture": "textures/wg/icons",
                    "size": [90, 9],
                    "offset": [-55, -32.5],
                    "uv": [0, 452],
                    "uv_size": [90, 10],
                    "anchor_from": "bottom_middle",
                    "anchor_to": "bottom_middle",
                    "layer": 1,
                    "$value": "[hp5]",
                    "bindings": [
                      {"binding_name": "#hud_title_text_string"},{"binding_type": "view","source_property_name": "(not((#hud_title_text_string - $value) \u003d #hud_title_text_string))","target_property_name": "#visible"}
                    ]
                  }
                },
                {
                  "4": {
                    "type": "image",
                    "texture": "textures/wg/icons",
                    "size": [90, 9],
                    "offset": [-55, -32.5],
                    "uv": [0, 462],
                    "uv_size": [90, 10],
                    "anchor_from": "bottom_middle",
                    "anchor_to": "bottom_middle",
                    "layer": 1,
                    "$value": "[hp4]",
                    "bindings": [
                      {"binding_name": "#hud_title_text_string"},{"binding_type": "view","source_property_name": "(not((#hud_title_text_string - $value) \u003d #hud_title_text_string))","target_property_name": "#visible"}
                    ]
                  }
                },
                {
                  "3": {
                    "type": "image",
                    "texture": "textures/wg/icons",
                    "size": [90, 9],
                    "offset": [-55, -32.5],
                    "uv": [0, 472],
                    "uv_size": [90, 10],
                    "anchor_from": "bottom_middle",
                    "anchor_to": "bottom_middle",
                    "layer": 1,
                    "$value": "[hp3]",
                    "bindings": [
                      {"binding_name": "#hud_title_text_string"},{"binding_type": "view","source_property_name": "(not((#hud_title_text_string - $value) \u003d #hud_title_text_string))","target_property_name": "#visible"}
                    ]
                  }
                },
                {
                  "2": {
                    "type": "image",
                    "texture": "textures/wg/icons",
                    "size": [90, 9],
                    "offset": [-55, -32.5],
                    "uv": [0, 482],
                    "uv_size": [90, 10],
                    "anchor_from": "bottom_middle",
                    "anchor_to": "bottom_middle",
                    "layer": 1,
                    "$value": "[hp2]",
                    "bindings": [
                      {"binding_name": "#hud_title_text_string"},{"binding_type": "view","source_property_name": "(not((#hud_title_text_string - $value) \u003d #hud_title_text_string))","target_property_name": "#visible"}
                    ]
                  }
                },
                {
                  "1": {
                    "type": "image",
                    "texture": "textures/wg/icons",
                    "size": [90, 9],
                    "offset": [-55, -32.5],
                    "uv": [0, 492],
                    "uv_size": [90, 10],
                    "anchor_from": "bottom_middle",
                    "anchor_to": "bottom_middle",
                    "layer": 1,
                    "$value": "[hp1]",
                    "bindings": [
                      {"binding_name": "#hud_title_text_string"},{"binding_type": "view","source_property_name": "(not((#hud_title_text_string - $value) \u003d #hud_title_text_string))","target_property_name": "#visible"}
                    ]
                  }
                },
                {
                  "0": {
                    "type": "image",
                    "texture": "textures/wg/icons",
                    "size": [90, 9],
                    "offset": [-55, -32.5],
                    "uv": [0, 502],
                    "uv_size": [90, 10],
                    "anchor_from": "bottom_middle",
                    "anchor_to": "bottom_middle",
                    "layer": 1,
                    "$value": "[hp0]",
                    "bindings": [
                      {"binding_name": "#hud_title_text_string"},{"binding_type": "view","source_property_name": "(not((#hud_title_text_string - $value) \u003d #hud_title_text_string))","target_property_name": "#visible"}
                    ]
                  }
                }
              ]
            }
          }
        ]
      }/*,
      {
        "control_name": "chat_stack",
        "operation": "remove"
      }*/
    ],
    "controls": [
      {
        "left_helpers@$left_helpers": {}
      },
      {
        "right_helpers@hud.right_helpers": {}
      },
      {
        "emote_expediate_helpers@hud.emote_expediate_helpers": {}
      },
      { "centered_gui_elements@centered_gui_elements": {} },
      { "centered_gui_elements_at_bottom_middle@centered_gui_elements_at_bottom_middle": {} },
      {
        "centered_ridingvr_gui_elements@centered_gui_elements_at_bottom_middle": {
          "anchor_from": "top_middle",
          "anchor_to": "top_middle",
          "offset": [ 0, 60 ],
          "size": [ 180, 50 ],
          "bindings": [
            {
              "binding_name": "#hud_visible_centered_ridingvr",
              "binding_name_override": "#visible",
              "binding_type": "global"
            }
          ]
        }
      },
      { "not_centered_gui_elements@not_centered_gui_elements": {} },
      {
        "gamertag_label_for_splitscreen": {
          "type": "label",
          "size": [ "default", "default" ],
          "anchor_from": "top_right",
          "anchor_to": "top_right",
          "offset": [ -4, 4 ],
          "color": "$hud_gamertag_color",
          "text_alignment": "right",
          "text": "#gamertag",
          "bindings": [
            {
              "binding_name": "#gamertag"
            }
          ]
        }
      },
      {
        "exp_rend@exp_progress_bar_and_hotbar": { // for pocket
          "anchor_from": "bottom_middle",
          "anchor_to": "bottom_middle",
          "bindings": [
            {
              "binding_name": "#hotbar_visible_not_centered",
              "binding_name_override": "#visible",
              "binding_type": "global"
            }
          ]
        }
      },
      {
        "exp_rend_resizable@exp_progress_bar_and_hotbar_pocket": {
          "bindings": [
            {
              "binding_name": "#hotbar_visible_not_centered_resizable",
              "binding_name_override": "#visible",
              "binding_type": "global"
            }
          ]
        }
      },
      {
        "hud_tip_text_factory": {
          "type": "factory",
          "control_name": "@hud.hud_tip_text"
        }
      },
      {
        "hud_actionbar_text_area": {
          "type": "panel",
          "factory": {
            "name": "hud_actionbar_text_factory",
            "control_ids": {
              "hud_actionbar_text": "hud_actionbar_text@hud.hud_actionbar_text"
            }
          }
        }
      },
      {
        "hud_title_text_area": {
          "type": "panel",
          "factory": {
            "name": "hud_title_text_factory",
            "control_ids": {
              "hud_title_text": "hud_title_text@hud.hud_title_text"
            }
          }
        }
      },
      {
        "mob_effects_renderer@mob_effects_renderer": {
          "size": [ "100%", "75%" ],
          "offset": [ 0, 24 ],
          "anchor_from": "center",
          "anchor_to": "center",
          "bindings": [
            {
              "binding_name": "(not #on_new_death_screen)",
              "binding_name_override": "#visible"
            }
          ]
        }
      },
      { "vignette_rend@vignette_renderer": {} },
      {
        "curor_rend@cursor_renderer": {
          "bindings": [
            {
              "binding_name": "(not #on_new_death_screen)",
              "binding_name_override": "#visible"
            }
          ]
        }
      },
      {
        "game_tip@game_tip.game_tip_panel": {
          "$offset": [ 0, "-90px" ],
          "variables": [
            {
              "requires": "$pocket_screen",
              "$offset": [ 0, "-60px" ]
            }
          ],
          "offset": "$offset",
          "bindings": [
            {
              "binding_name": "(not #on_new_death_screen)",
              "binding_name_override": "#visible"
            }
          ]
        }
      },
      {
        "sidebar@scoreboard.scoreboard_sidebar": {
          "bindings": [
            {
              "binding_name": "#scoreboard_sidebar_visible",
              "binding_name_override": "#visible"
            }
          ]
        }
      },
      {
        "progress_rend@progress_indicator_renderer": {
          "offset": [ "50%", "50%" ]
        }
      },/*
      {
        //We need to be able to move chat down the screen when we are in VR and riding.
        //SO use a stack panel with a padding that we can ignore at runtime as needed
        "chat_stack": {
          "type": "stack_panel",
          "orientation": "vertical",
          "size": [ "40%", "100%" ],
          "anchor_from": "top_left",
          "anchor_to": "top_left",
          "controls": [
            {
              "paper_doll_padding": {
                "type": "panel",
                "size": [ "100%", 50 ],
                "bindings": [
                  {
                    "binding_name": "#paper_doll_visible",
                    "binding_name_override": "#visible"
                  }
                ]
              }
            },
            {
              "paper_doll_padding_living_room": {
                "type": "panel",
                "size": [ "100%", 30 ],
                "bindings": [
                  {
                    "binding_name": "#paper_doll_visible_living_room",
                    "binding_name_override": "#visible"
                  }
                ]
              }
            },
            {
              "vr_riding_chat_padding": {
                "type": "panel",
                "size": [ "100%", 132 ],
                "visible": "#vr_riding", //Make this visible to move the chat panel down
                "bindings": [
                  {
                    "binding_name": "#vr_riding",
                    "binding_name_override": "#visible"
                  }
                ]
              }
            },
            {
              "vr_chat_padding": {
                "type": "panel",
                "size": [ "100%", 30 ],
                "visible": "#vr_non_riding", //Make this visible to move the chat panel down
                "bindings": [
                  {
                    "binding_name": "#vr_non_riding",
                    "binding_name_override": "#visible"
                  }
                ]
              }
            },
            {
              "non_centered_gui_padding": {
                "type": "panel",
                "size": [ "100%", 32 ],
                "bindings": [
                  {
                    "binding_name": "#hud_visible_not_centered",
                    "binding_name_override": "#visible",
                    "binding_type": "global"
                  }
                ]
              }
            },
            { "chat_panel@hud.chat_panel": {} }
          ]
        }
      },*/
      {
        "boss_health_panel": {
          "type": "stack_panel",
          "orientation": "vertical",
          "size": [ "100%", "100%" ],
          "controls": [
            {
              "boss_hud_padding": {
                "type": "panel",
                "size": [ "100%", 20 ],
                "visible": "#boss_hud_padding", //Make this visible to move the boss hud panel down
                "bindings": [
                  {
                    "binding_name": "#boss_hud_padding",
                    "binding_name_override": "#visible"
                  }
                ]
              }
            },
            {
              "boss_hud_touch_padding": {
                "type": "panel",
                "size": [ "100%", "15%" ],
                "visible": "#boss_hud_touch_padding", //Make this visible to move the boss hud panel down
                "bindings": [
                  {
                    "binding_name": "#boss_hud_touch_padding",
                    "binding_name_override": "#visible",
                    "binding_condition": "always"
                  }
                ]
              }
            },
            {
              "boss_hud_panel": {
                "type": "panel",
                "controls": [
                  {
                    "boss_health_grid@boss_health_grid": {
                      "offset": [ 0, 2 ]
                    }
                  }
                ]
              }
            }
          ]
        }
      },
      {
        "save_icon@hud.auto_save": {}
      }
    ],
    "bindings": [
      {
        "binding_name": "#hud_visible",
        "binding_name_override": "#visible",
        "binding_type": "global"
      },
      {
        "binding_name": "#hud_alpha",
        "binding_name_override": "#alpha",
        "binding_type": "global"
      },
      {
        "binding_name": "#hud_propagate_alpha",
        "binding_name_override": "#propagateAlpha",
        "binding_type": "global"
      }
    ]
  }
}