type = fancymenu_layout

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

customization {
  action = backgroundoptions
  keepaspectratio = false
}

element {
  element_type = image
  instance_identifier = terrahorizon_title_logo
  custom_element_layer_name = Terra Horizon logo
  source = [source:local]/config/fancymenu/assets/terrahorizon_logo.png
  repeat_texture = false
  nine_slice_texture = false
  anchor_point = top-centered
  x = -84
  y = 30
  width = 170
  height = 75
  stretch_x = false
  stretch_y = false
  stay_on_screen = false
  appearance_delay = no_delay
  appearance_delay_seconds = 1.0
  fade_in_v2 = no_fading
  fade_in_speed = 1.0
}

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

vanilla_button {
  element_type = vanilla_button
  instance_identifier = mc_titlescreen_singleplayer_button
  anchor_point = top-left
  x = 0
  y = 0
  width = 200
  height = 20
  is_hidden = false
  advanced_posx = {"placeholder":"calc","values":{"decimal":"false","expression":"({"placeholder":"guiwidth"}-1)/2-100"}}
  advanced_posy = {"placeholder":"calc","values":{"decimal":"false","expression":"({"placeholder":"guiheight"}-1.5)/4+52"}}
}

vanilla_button {
  element_type = vanilla_button
  instance_identifier = mc_titlescreen_multiplayer_button
  anchor_point = top-left
  x = 0
  y = 0
  width = 200
  height = 20
  is_hidden = false
  advanced_posx = {"placeholder":"calc","values":{"decimal":"false","expression":"({"placeholder":"guiwidth"}-1)/2-100"}}
  advanced_posy = {"placeholder":"calc","values":{"decimal":"false","expression":"({"placeholder":"guiheight"}-1.5)/4+76"}}
}

vanilla_button {
  element_type = vanilla_button
  instance_identifier = modmenu_titlescreen_mods_button
  anchor_point = top-left
  x = 0
  y = 0
  width = 200
  height = 20
  is_hidden = false
  advanced_posx = {"placeholder":"calc","values":{"decimal":"false","expression":"({"placeholder":"guiwidth"}-1)/2-100"}}
  advanced_posy = {"placeholder":"calc","values":{"decimal":"false","expression":"({"placeholder":"guiheight"}-1.5)/4+100"}}
}

vanilla_button {
  element_type = vanilla_button
  instance_identifier = mc_titlescreen_language_button
  anchor_point = top-left
  x = 0
  y = 0
  width = 20
  height = 20
  is_hidden = false
  advanced_posx = {"placeholder":"calc","values":{"decimal":"false","expression":"({"placeholder":"guiwidth"}-1)/2-124"}}
  advanced_posy = {"placeholder":"calc","values":{"decimal":"false","expression":"({"placeholder":"guiheight"}-1.5)/4+160"}}
}

vanilla_button {
  element_type = vanilla_button
  instance_identifier = mc_titlescreen_options_button
  anchor_point = top-left
  x = 0
  y = 0
  width = 98
  height = 20
  is_hidden = false
  advanced_posx = {"placeholder":"calc","values":{"decimal":"false","expression":"({"placeholder":"guiwidth"}-1)/2-100"}}
  advanced_posy = {"placeholder":"calc","values":{"decimal":"false","expression":"({"placeholder":"guiheight"}-1.5)/4+160"}}
}

vanilla_button {
  element_type = vanilla_button
  instance_identifier = mc_titlescreen_quit_button
  anchor_point = top-left
  x = 0
  y = 0
  width = 98
  height = 20
  is_hidden = false
  advanced_posx = {"placeholder":"calc","values":{"decimal":"false","expression":"({"placeholder":"guiwidth"}-1)/2+2"}}
  advanced_posy = {"placeholder":"calc","values":{"decimal":"false","expression":"({"placeholder":"guiheight"}-1.5)/4+160"}}
}

vanilla_button {
  element_type = vanilla_button
  instance_identifier = mc_titlescreen_accessibility_button
  anchor_point = top-left
  x = 0
  y = 0
  width = 20
  height = 20
  is_hidden = false
  advanced_posx = {"placeholder":"calc","values":{"decimal":"false","expression":"({"placeholder":"guiwidth"}-1)/2+104"}}
  advanced_posy = {"placeholder":"calc","values":{"decimal":"false","expression":"({"placeholder":"guiheight"}-1.5)/4+160"}}
}
