type = fancymenu_layout

layout-meta {
  identifier = net.minecraft.client.gui.screens.TitleScreen
  is_enabled = true
  render_custom_elements_behind_vanilla = true
  layout_index = 0
}

menu_background {
  instance_identifier = pt_stone_backdrop
  background_type = image
  show_background = true
  image_path = [source:local]config/fancymenu/assets/peaksandtalons/stone.png
  repeat_texture = true
  parallax = false
  slide = false
}

customization {
  action = backgroundoptions
  keepaspectratio = true
}

scroll_list_customization {
  apply_vanilla_background_blur = false
  show_screen_background_overlay_on_custom_background = false
}

element {
  element_type = image
  instance_identifier = pt_eagle_art
  source = [source:local]config/fancymenu/assets/peaksandtalons/eagle.png
  anchor_point = mid-right
  sticky_anchor = true
  x = -8
  y = 0
  width = 254
  height = 254
  advanced_width = {"placeholder":"calc","values":{"expression":"(({"placeholder":"guiheight"}-16)+({"placeholder":"guiwidth"}-208)-abs(({"placeholder":"guiheight"}-16)-({"placeholder":"guiwidth"}-208)))/2","decimal":"false"}}
  advanced_height = {"placeholder":"calc","values":{"expression":"(({"placeholder":"guiheight"}-16)+({"placeholder":"guiwidth"}-208)-abs(({"placeholder":"guiheight"}-16)-({"placeholder":"guiwidth"}-208)))/2","decimal":"false"}}
}

element {
  element_type = image
  instance_identifier = pt_masthead
  source = [source:local]config/fancymenu/assets/peaksandtalons/masthead.png
  anchor_point = mid-left
  sticky_anchor = false
  x = 24
  y = -108
  width = 156
  height = 36
}

vanilla_button {
  element_type = vanilla_button
  instance_identifier = mc_titlescreen_singleplayer_button
  anchor_point = mid-left
  sticky_anchor = false
  x = 24
  y = -60
  width = 156
  height = 20
  backgroundnormal = [source:local]config/fancymenu/assets/peaksandtalons/button.png
  backgroundhovered = [source:local]config/fancymenu/assets/peaksandtalons/button-focus.png
  background_texture_inactive = [source:local]config/fancymenu/assets/peaksandtalons/button-disabled.png
}

vanilla_button {
  element_type = vanilla_button
  instance_identifier = mc_titlescreen_multiplayer_button
  anchor_point = mid-left
  sticky_anchor = false
  x = 24
  y = -36
  width = 156
  height = 20
  backgroundnormal = [source:local]config/fancymenu/assets/peaksandtalons/button.png
  backgroundhovered = [source:local]config/fancymenu/assets/peaksandtalons/button-focus.png
  background_texture_inactive = [source:local]config/fancymenu/assets/peaksandtalons/button-disabled.png
}

vanilla_button {
  element_type = vanilla_button
  instance_identifier = forge_titlescreen_mods_button
  anchor_point = mid-left
  sticky_anchor = false
  x = 24
  y = -12
  width = 132
  height = 20
  backgroundnormal = [source:local]config/fancymenu/assets/peaksandtalons/button.png
  backgroundhovered = [source:local]config/fancymenu/assets/peaksandtalons/button-focus.png
  background_texture_inactive = [source:local]config/fancymenu/assets/peaksandtalons/button-disabled.png
}

vanilla_button {
  element_type = vanilla_button
  instance_identifier = mc_titlescreen_options_button
  anchor_point = mid-left
  sticky_anchor = false
  x = 24
  y = 12
  width = 156
  height = 20
  backgroundnormal = [source:local]config/fancymenu/assets/peaksandtalons/button.png
  backgroundhovered = [source:local]config/fancymenu/assets/peaksandtalons/button-focus.png
  background_texture_inactive = [source:local]config/fancymenu/assets/peaksandtalons/button-disabled.png
}

vanilla_button {
  element_type = vanilla_button
  instance_identifier = mc_titlescreen_quit_button
  anchor_point = mid-left
  sticky_anchor = false
  x = 24
  y = 36
  width = 156
  height = 20
  backgroundnormal = [source:local]config/fancymenu/assets/peaksandtalons/button.png
  backgroundhovered = [source:local]config/fancymenu/assets/peaksandtalons/button-focus.png
  background_texture_inactive = [source:local]config/fancymenu/assets/peaksandtalons/button-disabled.png
}

vanilla_button {
  element_type = vanilla_button
  instance_identifier = mc_titlescreen_realms_button
  anchor_point = mid-left
  sticky_anchor = false
  x = 24
  y = 66
  width = 108
  height = 20
  backgroundnormal = [source:local]config/fancymenu/assets/peaksandtalons/button.png
  backgroundhovered = [source:local]config/fancymenu/assets/peaksandtalons/button-focus.png
  background_texture_inactive = [source:local]config/fancymenu/assets/peaksandtalons/button-disabled.png
}

vanilla_button {
  element_type = vanilla_button
  instance_identifier = 376388
  anchor_point = mid-left
  sticky_anchor = false
  x = 136
  y = 66
  width = 20
  height = 20
}

vanilla_button {
  element_type = vanilla_button
  instance_identifier = 604388
  anchor_point = mid-left
  sticky_anchor = false
  x = 160
  y = 66
  width = 20
  height = 20
}

vanilla_button {
  element_type = vanilla_button
  instance_identifier = 376306
  anchor_point = mid-left
  sticky_anchor = false
  x = 160
  y = -12
  width = 20
  height = 20
}

vanilla_button {
  element_type = vanilla_button
  instance_identifier = minecraft_logo_widget
  is_hidden = true
}

vanilla_button {
  element_type = vanilla_button
  instance_identifier = minecraft_splash_widget
  is_hidden = true
}

