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 {
  element_type = custom_button
  anchor_point = top-right
  width = 80
  height = 22
  x = -86
  y = 4
  label = {"placeholder":"local","values":{"key":"menu.shareToLan"}}
  [executable_action_instance:0][action_type:mimicbutton] = pause_screen:504330
  [executable_block:1][type:generic] = [executables:0;]
}

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

vanilla_button {
  instance_identifier = pause_return_to_game_button
  anchor_point = mid-left
  width = 152
  height = 25
  x = 50
  y = -36
}

element {
  instance_identifier = 0
  element_type = custom_button
  anchor_point = element
  anchor_point_element = pause_return_to_game_button
  width = 152
  height = 25
  y = 29
  label = {"placeholder":"local","values":{"key":"bedrockreloaded.menu_shop"}}
  [executable_action_instance:12][action_type:mimicbutton] = pack_selection_screen:69510
}

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

element {
  instance_identifier = 3
  element_type = custom_button
  anchor_point = mid-left
  width = 24
  height = 24
  x = 83
  y = 51
  [executable_action_instance:6][action_type:mimicbutton] = pause_screen:pause_options_button
  [executable_block:7][type:generic] = [executables:6;]
}

element {
  instance_identifier = 2
  element_type = custom_button
  anchor_point = element
  anchor_point_element = 3
  width = 24
  height = 24
  x = 31
  [executable_action_instance:4][action_type:mimicbutton] = pause_screen:pause_advancements_button
  [executable_block:5][type:generic] = [executables:4;]
}

element {
  instance_identifier = 1
  element_type = custom_button
  anchor_point = element
  anchor_point_element = 2
  width = 24
  height = 24
  x = 32
  [executable_action_instance:2][action_type:mimicbutton] = pause_screen:606258
  [executable_block:3][type:generic] = [executables:2;]
}

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

element {
  element_type = image
  anchor_point = element
  anchor_point_element = 2
  width = 16
  height = 14
  x = 4
  y = 5
  source = [source:location]fancymenu:textures/icon/achievement.png
}

element {
  element_type = image
  anchor_point = element
  anchor_point_element = 1
  width = 14
  height = 11
  x = 5
  y = 7
  source = [source:location]fancymenu:textures/icon/screenshot.png
}

vanilla_button {
  instance_identifier = 617354
  anchor_point = mid-centered
  width = 85
  height = 22
  x = 91
  y = 47
  label = {"placeholder":"local","values":{"key":"bedrockreloaded.menu_skin"}}
}

element {
  instance_identifier = 8
  element_type = shape
  anchor_point = mid-left
  x = 76
  y = 79
  width = 100
  height = 16
  [loading_requirement_container_meta:9] = [groups:][instances:8;]
  [loading_requirement:fancymenu_loading_requirement_is_singpleplayer][requirement_mode:if][req_id:8] = 
  color = #007600
}

element {
  element_type = shape
  anchor_point = element
  anchor_point_element = 9
  width = 2
  height = 7
  x = -2
  y = 3
  [loading_requirement_container_meta:10] = [groups:][instances:11;]
  [loading_requirement:fancymenu_loading_requirement_is_singpleplayer][requirement_mode:if][req_id:11] = 
}

element {
  element_type = shape
  anchor_point = element
  anchor_point_element = 9
  width = 2
  height = 7
  x = 2
  y = 3
  [loading_requirement_container_meta:12] = [groups:][instances:13;]
  [loading_requirement:fancymenu_loading_requirement_is_singpleplayer][requirement_mode:if][req_id:13] = 
}

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

vanilla_button {
  instance_identifier = 689354
  is_hidden = true
}

vanilla_button {
  instance_identifier = 376330
  is_hidden = true
}

vanilla_button {
  instance_identifier = 47440
  is_hidden = true
}

vanilla_button {
  instance_identifier = mc_pausescreen_lan_button
  is_hidden = true
}

vanilla_button {
  instance_identifier = pause_advancements_button
  is_hidden = true
}

vanilla_button {
  instance_identifier = pause_options_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
}