type = fancymenu_layout

layout-meta {
  identifier = pause_screen
  render_custom_elements_behind_vanilla = true
}

customization {
  action = backgroundoptions
  keepaspectratio = true
}

element {
  element_type = shape
  anchor_point = top-left
  width = 238
  stretch_y = true
  stay_on_screen = false
  color = #00000050
}

element {
  instance_identifier = 0
  element_type = image
  anchor_point = mid-left
  width = 152
  height = 37
  x = 50
  y = -88
  source = [source:location]minecraft:textures/gui/title/minecraft.png
}

vanilla_button {
  instance_identifier = pause_return_to_game_button
  anchor_point = element
  anchor_point_element = 0
  width = 152
  height = 25
  y = 32
}

vanilla_button {
  instance_identifier = pause_options_button
  anchor_point = element
  anchor_point_element = pause_return_to_game_button
  width = 152
  height = 25
  y = 29
}

element {
  instance_identifier = 1
  element_type = custom_button
  anchor_point = element
  anchor_point_element = pause_options_button
  width = 152
  height = 25
  y = 29
  label = {"placeholder":"local","values":{"key":"bedrockreloaded.pause_shop"}}
  [executable_action_instance:0][action_type:mimicbutton] = pack_selection_screen:69510
  [executable_block:1][type:generic] = [executables:0;]
}

vanilla_button {
  instance_identifier = pause_disconnect_button
  anchor_point = element
  anchor_point_element = 1
  width = 152
  height = 25
  y = 29
}

element {
  instance_identifier = 2
  element_type = custom_button
  anchor_point = element
  anchor_point_element = pause_disconnect_button
  width = 24
  height = 24
  x = 36
  y = 29
  description = {"placeholder":"local","values":{"key":"key.advancements"}}
  [executable_action_instance:2][action_type:mimicbutton] = pause_screen:pause_advancements_button
  [executable_block:3][type:generic] = [executables:2;]
}

element {
  instance_identifier = 8
  element_type = custom_button
  anchor_point = element
  anchor_point_element = 2
  width = 24
  height = 24
  x = 32
  description = {"placeholder":"local","values":{"key":"bedrockreloaded.howtoplay"}}
  [executable_action_instance:0][action_type:openlink] = https://minecraft.wiki/
}

element {
  instance_identifier = 3
  element_type = custom_button
  anchor_point = element
  anchor_point_element = 8
  width = 24
  height = 24
  x = 32
  description = {"placeholder":"local","values":{"key":"better_screenshots.menu.screenshot"}}
  [executable_action_instance:4][action_type:mimicbutton] = pause_screen:58970
}

element {
  element_type = image
  anchor_point = element
  anchor_point_element = 2
  width = 14
  height = 12
  x = 5
  y = 6
  source = [source:location]bedrockflavor:textures/icons/achievements.png
}

element {
  element_type = image
  anchor_point = element
  anchor_point_element = 8
  width = 5
  height = 7
  x = 9
  y = 8
  source = [source:location]fancymenu:textures/icon/howto.png
}

element {
  element_type = image
  anchor_point = element
  anchor_point_element = 3
  width = 15
  height = 12
  x = 5
  y = 6
  source = [source:location]fancymenu:textures/icon/screenshot.png
}

vanilla_button {
  instance_identifier = pause_server_links_button
  anchor_point = element
  anchor_point_element = 6
  width = 90
  height = 23
  x = -95
}

element {
  instance_identifier = 4
  element_type = shape
  anchor_point = element
  anchor_point_element = 6
  width = 90
  height = 23
  x = -95
  [loading_requirement_container_meta:6] = [groups:][instances:7;]
  [loading_requirement:fancymenu_loading_requirement_is_singpleplayer][requirement_mode:if][req_id:6] = 
  color = #00000090
}

element {
  instance_identifier = 5
  element_type = text_v2
  anchor_point = element
  anchor_point_element = 4
  width = 90
  height = 14
  y = 5
  [loading_requirement_container_meta:8] = [groups:][instances:9;]
  [loading_requirement:fancymenu_loading_requirement_is_singpleplayer][requirement_mode:if][req_id:8] = 
  source = ^^^%n%{"placeholder":"local","values":{"key":"menu.paused"}}%n%^^^
  source_mode = direct
  shadow = false
  enable_scrolling = false
}

element {
  instance_identifier = 6
  element_type = custom_button
  anchor_point = top-right
  width = 80
  height = 23
  x = -84
  y = 4
  label = {"placeholder":"local","values":{"key":"bedrockreloaded.social"}}
  [executable_action_instance:10][action_type:opengui] = bedrockreloaded.social
}

vanilla_button {
  instance_identifier = 622259
  anchor_point = mid-centered
  x = 90
  y = -50
}

vanilla_button {
  instance_identifier = pause_advancements_button
  is_hidden = true
}

vanilla_button {
  instance_identifier = pause_report_bugs_button
  is_hidden = true
}

vanilla_button {
  instance_identifier = pause_send_feedback_button
  is_hidden = true
}

vanilla_button {
  instance_identifier = pause_share_to_lan_button
  is_hidden = true
}

vanilla_button {
  instance_identifier = pause_stats_button
  is_hidden = true
}

vanilla_button {
  instance_identifier = 526306
  is_hidden = true
}

vanilla_button {
  instance_identifier = 504348
  is_hidden = true
}

vanilla_button {
  instance_identifier = 504330
  is_hidden = true
}

vanilla_button {
  instance_identifier = 502306
  is_hidden = true
}

vanilla_button {
  instance_identifier = 502300
  is_hidden = true
}

vanilla_button {
  instance_identifier = 58970
  is_hidden = true
}

vanilla_button {
  instance_identifier = 47440
  is_hidden = true
}

vanilla_button {
  instance_identifier = 46640
  is_hidden = true
}

vanilla_button {
  instance_identifier = 34970
  is_hidden = true
}

vanilla_button {
  instance_identifier = 24540
  is_hidden = true
}

vanilla_button {
  instance_identifier = 10970
  is_hidden = true
}