type = fancymenu_layout

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

menu_background {
  instance_identifier = cbw_title_screen_background
  background_type = image
  show_background = true
  image_path = [source:local]/config/fancymenu/assets/cbw-depot-v3.png
  slide = false
  repeat_texture = false
  parallax = true
  parallax_intensity_x = 0.004
  parallax_intensity_y = 0.004
}

element {
  element_type = image
  instance_identifier = cbw_main_logo
  anchor_point = mid-left
  x = 18
  y = -111
  width = 184
  height = 72
  stay_on_screen = true
  auto_sizing = false
  appearance_delay = no_delay
  fade_in_v2 = no_fading
  fade_out = no_fading
  source = [source:local]/config/fancymenu/assets/cbw-logo-v3.png
}

element {
  element_type = text_v2
  instance_identifier = cbw_main_edition
  anchor_point = mid-left
  x = 24
  y = -35
  width = 210
  height = 10
  stay_on_screen = true
  auto_sizing = false
  appearance_delay = no_delay
  fade_in_v2 = no_fading
  fade_out = no_fading
  source = INDUSTRIAL WARFARE  /  FIELD EDITION
  source_mode = direct
  base_color = #BB9B64
  scale = 0.65
  shadow = true
  enable_scrolling = false
  interactable = false
  auto_line_wrapping = true
  text_border = 0
  parse_markdown = false
}

vanilla_button {
  element_type = vanilla_button
  instance_identifier = mc_titlescreen_singleplayer_button
  anchor_point = mid-left
  x = 22
  y = -13
  width = 170
  height = 20
  stay_on_screen = true
  auto_sizing = false
  appearance_delay = no_delay
  fade_in_v2 = no_fading
  fade_out = no_fading
  label = SINGLEPLAYER
  label_base_color = #EEE8DA
  label_hover_color = #FFD28B
  label_scale = 0.9
  label_shadow = true
  backgroundnormal = [source:local]/config/fancymenu/assets/cbw-button.png
  backgroundhovered = [source:local]/config/fancymenu/assets/cbw-button-hover.png
  background_texture_inactive = [source:local]/config/fancymenu/assets/cbw-button.png
  nine_slice_custom_background = true
  nine_slice_border_x = 4
  nine_slice_border_y = 4
}

vanilla_button {
  element_type = vanilla_button
  instance_identifier = mc_titlescreen_multiplayer_button
  anchor_point = mid-left
  x = 22
  y = 11
  width = 170
  height = 20
  stay_on_screen = true
  auto_sizing = false
  appearance_delay = no_delay
  fade_in_v2 = no_fading
  fade_out = no_fading
  label = MULTIPLAYER
  label_base_color = #EEE8DA
  label_hover_color = #FFD28B
  label_scale = 0.9
  label_shadow = true
  backgroundnormal = [source:local]/config/fancymenu/assets/cbw-button.png
  backgroundhovered = [source:local]/config/fancymenu/assets/cbw-button-hover.png
  background_texture_inactive = [source:local]/config/fancymenu/assets/cbw-button.png
  nine_slice_custom_background = true
  nine_slice_border_x = 4
  nine_slice_border_y = 4
}

element {
  element_type = custom_button
  instance_identifier = cbw_field_manual
  anchor_point = mid-left
  x = 22
  y = 35
  width = 170
  height = 20
  stay_on_screen = true
  auto_sizing = false
  appearance_delay = no_delay
  fade_in_v2 = no_fading
  fade_out = no_fading
  label = FIELD MANUAL
  label_base_color = #EEE8DA
  label_hover_color = #FFD28B
  label_scale = 0.9
  label_shadow = true
  backgroundnormal = [source:local]/config/fancymenu/assets/cbw-button.png
  backgroundhovered = [source:local]/config/fancymenu/assets/cbw-button-hover.png
  background_texture_inactive = [source:local]/config/fancymenu/assets/cbw-button.png
  nine_slice_custom_background = true
  nine_slice_border_x = 4
  nine_slice_border_y = 4
  button_element_executable_block_identifier = cbw_manual_actions
  [executable_block:cbw_manual_actions][type:generic] = [executables:cbw_open_manual;]
  [executable_action_instance:cbw_open_manual][action_type:open_file_folder_in_game_dir] = /config/fancymenu/assets/cbw-field-manual.html
}

vanilla_button {
  element_type = vanilla_button
  instance_identifier = mc_titlescreen_options_button
  anchor_point = mid-left
  x = 22
  y = 59
  width = 82
  height = 20
  stay_on_screen = true
  auto_sizing = false
  appearance_delay = no_delay
  fade_in_v2 = no_fading
  fade_out = no_fading
  label = OPTIONS
  label_base_color = #EEE8DA
  label_hover_color = #FFD28B
  label_scale = 0.9
  label_shadow = true
  backgroundnormal = [source:local]/config/fancymenu/assets/cbw-button.png
  backgroundhovered = [source:local]/config/fancymenu/assets/cbw-button-hover.png
  background_texture_inactive = [source:local]/config/fancymenu/assets/cbw-button.png
  nine_slice_custom_background = true
  nine_slice_border_x = 4
  nine_slice_border_y = 4
}

vanilla_button {
  element_type = vanilla_button
  instance_identifier = forge_titlescreen_mods_button
  anchor_point = mid-left
  x = 110
  y = 59
  width = 82
  height = 20
  stay_on_screen = true
  auto_sizing = false
  appearance_delay = no_delay
  fade_in_v2 = no_fading
  fade_out = no_fading
  label = MODS
  label_base_color = #EEE8DA
  label_hover_color = #FFD28B
  label_scale = 0.9
  label_shadow = true
  backgroundnormal = [source:local]/config/fancymenu/assets/cbw-button.png
  backgroundhovered = [source:local]/config/fancymenu/assets/cbw-button-hover.png
  background_texture_inactive = [source:local]/config/fancymenu/assets/cbw-button.png
  nine_slice_custom_background = true
  nine_slice_border_x = 4
  nine_slice_border_y = 4
}

vanilla_button {
  element_type = vanilla_button
  instance_identifier = mc_titlescreen_quit_button
  anchor_point = mid-left
  x = 22
  y = 83
  width = 170
  height = 20
  stay_on_screen = true
  auto_sizing = false
  appearance_delay = no_delay
  fade_in_v2 = no_fading
  fade_out = no_fading
  label = QUIT
  label_base_color = #EEE8DA
  label_hover_color = #FFD28B
  label_scale = 0.9
  label_shadow = true
  backgroundnormal = [source:local]/config/fancymenu/assets/cbw-button.png
  backgroundhovered = [source:local]/config/fancymenu/assets/cbw-button-hover.png
  background_texture_inactive = [source:local]/config/fancymenu/assets/cbw-button.png
  nine_slice_custom_background = true
  nine_slice_border_x = 4
  nine_slice_border_y = 4
}

vanilla_button {
  element_type = vanilla_button
  instance_identifier = minecraft_logo_widget
  anchor_point = top-left
  x = 0
  y = 0
  width = 1
  height = 1
  stay_on_screen = true
  auto_sizing = false
  appearance_delay = no_delay
  fade_in_v2 = no_fading
  fade_out = no_fading
  is_hidden = true
}

vanilla_button {
  element_type = vanilla_button
  instance_identifier = minecraft_splash_widget
  anchor_point = top-left
  x = 0
  y = 0
  width = 1
  height = 1
  stay_on_screen = true
  auto_sizing = false
  appearance_delay = no_delay
  fade_in_v2 = no_fading
  fade_out = no_fading
  is_hidden = true
}

vanilla_button {
  element_type = vanilla_button
  instance_identifier = mc_titlescreen_realms_button
  anchor_point = top-left
  x = 0
  y = 0
  width = 1
  height = 1
  stay_on_screen = true
  auto_sizing = false
  appearance_delay = no_delay
  fade_in_v2 = no_fading
  fade_out = no_fading
  is_hidden = true
}

vanilla_button {
  element_type = vanilla_button
  instance_identifier = minecraft_realms_notification_icons_widget
  anchor_point = top-left
  x = 0
  y = 0
  width = 1
  height = 1
  stay_on_screen = true
  auto_sizing = false
  appearance_delay = no_delay
  fade_in_v2 = no_fading
  fade_out = no_fading
  is_hidden = true
}

vanilla_button {
  element_type = vanilla_button
  instance_identifier = minecraft_branding_widget
  anchor_point = top-left
  x = 0
  y = 0
  width = 1
  height = 1
  stay_on_screen = true
  auto_sizing = false
  appearance_delay = no_delay
  fade_in_v2 = no_fading
  fade_out = no_fading
  is_hidden = true
}

vanilla_button {
  element_type = vanilla_button
  instance_identifier = title_screen_copyright_button
  anchor_point = bottom-right
  x = -202
  y = -10
  width = 200
  height = 8
  stay_on_screen = true
  auto_sizing = false
  appearance_delay = no_delay
  fade_in_v2 = no_fading
  fade_out = no_fading
  label_scale = 0.55
}

vanilla_button {
  element_type = vanilla_button
  instance_identifier = mc_titlescreen_language_button
  anchor_point = bottom-left
  x = 10
  y = -17
  width = 14
  height = 14
  stay_on_screen = true
  auto_sizing = false
  appearance_delay = no_delay
  fade_in_v2 = no_fading
  fade_out = no_fading
  is_hidden = false
}

vanilla_button {
  element_type = vanilla_button
  instance_identifier = mc_titlescreen_accessibility_button
  anchor_point = bottom-left
  x = 28
  y = -17
  width = 14
  height = 14
  stay_on_screen = true
  auto_sizing = false
  appearance_delay = no_delay
  fade_in_v2 = no_fading
  fade_out = no_fading
  is_hidden = false
}

element {
  element_type = text_v2
  instance_identifier = cbw_main_tagline
  anchor_point = bottom-left
  x = 48
  y = -13
  width = 170
  height = 12
  stay_on_screen = true
  auto_sizing = false
  appearance_delay = no_delay
  fade_in_v2 = no_fading
  fade_out = no_fading
  source = BUILD. FIGHT. DOMINATE.
  source_mode = direct
  base_color = #B3A28A
  scale = 0.65
  shadow = true
  enable_scrolling = false
  interactable = false
  auto_line_wrapping = true
  text_border = 0
  parse_markdown = false
}

