type = fancymenu_layout

layout-meta {
  identifier = title_screen
  render_custom_elements_behind_vanilla = false
  is_enabled = true
  randommode = false
  randomgroup = 1
  randomonlyfirsttime = false
  layout_index = 0
}

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

customization {
  action = backgroundoptions
  keepaspectratio = true
}

element {
  element_type = image
  instance_identifier = ce_title_logo
  source = [source:local]config/fancymenu/assets/ce/title_logo.png
  anchor_point = top-centered
  x = -128
  y = 10
  width = 256
  height = 64
  stay_on_screen = true
  repeat_texture = false
  nine_slice_texture = false
}

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
}

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

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

vanilla_button {
  element_type = vanilla_button
  instance_identifier = mc_titlescreen_singleplayer_button
  anchor_point = top-centered
  x = -100
  y = 88
  width = 200
  height = 20
}

vanilla_button {
  element_type = vanilla_button
  instance_identifier = mc_titlescreen_multiplayer_button
  anchor_point = top-centered
  x = -100
  y = 112
  width = 200
  height = 20
}

vanilla_button {
  element_type = vanilla_button
  instance_identifier = mc_titlescreen_options_button
  anchor_point = top-centered
  x = -100
  y = 142
  width = 98
  height = 20
}

vanilla_button {
  element_type = vanilla_button
  instance_identifier = mc_titlescreen_quit_button
  anchor_point = top-centered
  x = 2
  y = 142
  width = 98
  height = 20
}
