type = fancymenu_layout

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

menu_background {
  instance_identifier = cc_title_background
  background_type = slideshow
  show_background = true
  slideshow_name = cogs_cosmos
}

customization {
  action = backgroundoptions
  keepaspectratio = true
}

element {
  element_type = image
  instance_identifier = cc_title_shade
  source = [source:local]/config/fancymenu/assets/cogs_cosmos/left_shade.png
  anchor_point = top-left
  x = 0
  y = 0
  width = 100
  height = 100
  stay_on_screen = false
  stretch_x = true
  stretch_y = true
}

element {
  element_type = image
  instance_identifier = cc_title_vignette
  source = [source:local]/config/fancymenu/assets/cogs_cosmos/vignette.png
  anchor_point = top-left
  x = 0
  y = 0
  width = 100
  height = 100
  stay_on_screen = false
  stretch_x = true
  stretch_y = true
}

element {
  element_type = image
  instance_identifier = cc_title_logo
  source = [source:local]/config/fancymenu/assets/cogs_cosmos/logo.png
  anchor_point = mid-left
  x = 12
  y = -122
  width = 236
  height = 55
  stay_on_screen = false
}

element {
  element_type = text_v2
  instance_identifier = cc_title_tagline
  source = %#C8923A%340+ MODS. TESTED AND BALANCED.%#%
  source_mode = direct
  interactable = false
  auto_line_wrapping = false
  remove_html_breaks = true
  enable_scrolling = false
  shadow = true
  scale = 1.0
  base_color = #C8923A
  text_border = 0
  anchor_point = mid-left
  sticky_anchor = false
  x = 22
  y = -61
  width = 220
  height = 18
  stay_on_screen = false
}

element {
  element_type = text_v2
  instance_identifier = cc_title_info
  source = |||%n%%#C8923A%COGS & COSMOS%#%%n%{"placeholder":"loadedmods"} mods loaded%n%|||
  source_mode = direct
  interactable = false
  auto_line_wrapping = false
  remove_html_breaks = true
  enable_scrolling = false
  shadow = true
  scale = 1.0
  base_color = #E8ECFF
  text_border = 0
  anchor_point = top-right
  sticky_anchor = true
  x = -6
  y = 6
  width = 220
  height = 44
  stay_on_screen = false
}

vanilla_button {
  element_type = vanilla_button
  instance_identifier = mc_titlescreen_singleplayer_button
  is_hidden = false
  anchor_point = mid-left
  sticky_anchor = false
  x = 20
  y = -44
  width = 180
  height = 20
  stay_on_screen = false
  backgroundnormal = [source:local]/config/fancymenu/assets/cogs_cosmos/button.png
  backgroundhovered = [source:local]/config/fancymenu/assets/cogs_cosmos/button_hover.png
  nine_slice_custom_background = true
  nine_slice_border_x = 3
  nine_slice_border_y = 3
  label_base_color = #E8ECFF
  label_hover_color = #FFD27A
  label_shadow = true
}

vanilla_button {
  element_type = vanilla_button
  instance_identifier = mc_titlescreen_multiplayer_button
  is_hidden = false
  anchor_point = mid-left
  sticky_anchor = false
  x = 20
  y = -20
  width = 180
  height = 20
  stay_on_screen = false
  backgroundnormal = [source:local]/config/fancymenu/assets/cogs_cosmos/button.png
  backgroundhovered = [source:local]/config/fancymenu/assets/cogs_cosmos/button_hover.png
  nine_slice_custom_background = true
  nine_slice_border_x = 3
  nine_slice_border_y = 3
  label_base_color = #E8ECFF
  label_hover_color = #FFD27A
  label_shadow = true
}

vanilla_button {
  element_type = vanilla_button
  instance_identifier = titlescreen_mods_button
  is_hidden = false
  anchor_point = mid-left
  sticky_anchor = false
  x = 20
  y = 4
  width = 180
  height = 20
  stay_on_screen = false
  backgroundnormal = [source:local]/config/fancymenu/assets/cogs_cosmos/button.png
  backgroundhovered = [source:local]/config/fancymenu/assets/cogs_cosmos/button_hover.png
  nine_slice_custom_background = true
  nine_slice_border_x = 3
  nine_slice_border_y = 3
  label_base_color = #E8ECFF
  label_hover_color = #FFD27A
  label_shadow = true
}

vanilla_button {
  element_type = vanilla_button
  instance_identifier = mc_titlescreen_options_button
  is_hidden = false
  anchor_point = mid-left
  sticky_anchor = false
  x = 20
  y = 28
  width = 180
  height = 20
  stay_on_screen = false
  backgroundnormal = [source:local]/config/fancymenu/assets/cogs_cosmos/button.png
  backgroundhovered = [source:local]/config/fancymenu/assets/cogs_cosmos/button_hover.png
  nine_slice_custom_background = true
  nine_slice_border_x = 3
  nine_slice_border_y = 3
  label_base_color = #E8ECFF
  label_hover_color = #FFD27A
  label_shadow = true
}

vanilla_button {
  element_type = vanilla_button
  instance_identifier = mc_titlescreen_quit_button
  is_hidden = false
  anchor_point = mid-left
  sticky_anchor = false
  x = 20
  y = 52
  width = 132
  height = 20
  stay_on_screen = false
  backgroundnormal = [source:local]/config/fancymenu/assets/cogs_cosmos/button.png
  backgroundhovered = [source:local]/config/fancymenu/assets/cogs_cosmos/button_hover.png
  nine_slice_custom_background = true
  nine_slice_border_x = 3
  nine_slice_border_y = 3
  label_base_color = #E8ECFF
  label_hover_color = #FFD27A
  label_shadow = true
}

vanilla_button {
  element_type = vanilla_button
  instance_identifier = mc_titlescreen_language_button
  is_hidden = false
  anchor_point = mid-left
  sticky_anchor = false
  x = 156
  y = 52
  width = 20
  height = 20
  stay_on_screen = false
  backgroundnormal = [source:local]/config/fancymenu/assets/cogs_cosmos/button.png
  backgroundhovered = [source:local]/config/fancymenu/assets/cogs_cosmos/button_hover.png
  nine_slice_custom_background = true
  nine_slice_border_x = 3
  nine_slice_border_y = 3
  label_base_color = #E8ECFF
  label_hover_color = #FFD27A
  label_shadow = true
}

vanilla_button {
  element_type = vanilla_button
  instance_identifier = mc_titlescreen_accessibility_button
  is_hidden = false
  anchor_point = mid-left
  sticky_anchor = false
  x = 180
  y = 52
  width = 20
  height = 20
  stay_on_screen = false
  backgroundnormal = [source:local]/config/fancymenu/assets/cogs_cosmos/button.png
  backgroundhovered = [source:local]/config/fancymenu/assets/cogs_cosmos/button_hover.png
  nine_slice_custom_background = true
  nine_slice_border_x = 3
  nine_slice_border_y = 3
  label_base_color = #E8ECFF
  label_hover_color = #FFD27A
  label_shadow = true
}

element {
  element_type = custom_button
  instance_identifier = cc_title_create_menu
  [executable_action_instance:cc_title_create_menu_action][action_type:opengui] = com.simibubi.create.infrastructure.gui.CreateMainMenuScreen
  backgroundnormal = [source:local]/config/fancymenu/assets/cogs_cosmos/button_goggles.png
  backgroundhovered = [source:local]/config/fancymenu/assets/cogs_cosmos/button_goggles_hover.png
  description = Create
  anchor_point = mid-left
  sticky_anchor = false
  x = 204
  y = -44
  width = 20
  height = 20
  stay_on_screen = false
}

element {
  element_type = custom_button
  instance_identifier = cc_title_tweaked_controllers
  [executable_action_instance:cc_title_tweaked_controllers_action][action_type:opengui] = com.getitemfromblock.create_tweaked_controllers.gui.ModConfigScreen
  backgroundnormal = [source:local]/config/fancymenu/assets/cogs_cosmos/button_controller.png
  backgroundhovered = [source:local]/config/fancymenu/assets/cogs_cosmos/button_controller_hover.png
  description = Create: Tweaked Controllers
  anchor_point = mid-left
  sticky_anchor = false
  x = 204
  y = -20
  width = 20
  height = 20
  stay_on_screen = 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 = mc_titlescreen_realms_button
  is_hidden = true
}

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