type = fancymenu_layout

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

menu_background {
  background_type = image
  instance_identifier = munchkinland_title_still
  show_background = false
  image_path = [source:local]config/fancymenu/assets/menu/world_still.jpg
  slide = false
  repeat_texture = false
  parallax = false
}

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

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

vanilla_button {
  element_type = vanilla_button
  instance_identifier = mc_titlescreen_multiplayer_button
  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_options_button
  is_hidden = true
}

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

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

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

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

vanilla_button {
  element_type = vanilla_button
  instance_identifier = mc_titlescreen_language_button
  anchor_point = top-left
  x = 1480
  y = 542
  width = 48
  height = 48
  advanced_posx = {"placeholder":"calc","values":{"expression":"{"placeholder":"guiwidth"}*1480/1920","decimal":"false"}}
  advanced_posy = {"placeholder":"calc","values":{"expression":"{"placeholder":"guiheight"}*542/1080","decimal":"false"}}
  advanced_width = {"placeholder":"calc","values":{"expression":"{"placeholder":"guiwidth"}*48/1920","decimal":"false"}}
  advanced_height = {"placeholder":"calc","values":{"expression":"{"placeholder":"guiheight"}*48/1080","decimal":"false"}}
}

vanilla_button {
  element_type = vanilla_button
  instance_identifier = 376382
  anchor_point = top-left
  x = 1480
  y = 542
  width = 48
  height = 48
  advanced_posx = {"placeholder":"calc","values":{"expression":"{"placeholder":"guiwidth"}*1480/1920","decimal":"false"}}
  advanced_posy = {"placeholder":"calc","values":{"expression":"{"placeholder":"guiheight"}*542/1080","decimal":"false"}}
  advanced_width = {"placeholder":"calc","values":{"expression":"{"placeholder":"guiwidth"}*48/1920","decimal":"false"}}
  advanced_height = {"placeholder":"calc","values":{"expression":"{"placeholder":"guiheight"}*48/1080","decimal":"false"}}
}

vanilla_button {
  element_type = vanilla_button
  instance_identifier = 376394
  anchor_point = top-left
  x = 1480
  y = 542
  width = 48
  height = 48
  advanced_posx = {"placeholder":"calc","values":{"expression":"{"placeholder":"guiwidth"}*1480/1920","decimal":"false"}}
  advanced_posy = {"placeholder":"calc","values":{"expression":"{"placeholder":"guiheight"}*542/1080","decimal":"false"}}
  advanced_width = {"placeholder":"calc","values":{"expression":"{"placeholder":"guiwidth"}*48/1920","decimal":"false"}}
  advanced_height = {"placeholder":"calc","values":{"expression":"{"placeholder":"guiheight"}*48/1080","decimal":"false"}}
}

vanilla_button {
  element_type = vanilla_button
  instance_identifier = 376406
  anchor_point = top-left
  x = 1480
  y = 542
  width = 48
  height = 48
  advanced_posx = {"placeholder":"calc","values":{"expression":"{"placeholder":"guiwidth"}*1480/1920","decimal":"false"}}
  advanced_posy = {"placeholder":"calc","values":{"expression":"{"placeholder":"guiheight"}*542/1080","decimal":"false"}}
  advanced_width = {"placeholder":"calc","values":{"expression":"{"placeholder":"guiwidth"}*48/1920","decimal":"false"}}
  advanced_height = {"placeholder":"calc","values":{"expression":"{"placeholder":"guiheight"}*48/1080","decimal":"false"}}
}

vanilla_button {
  element_type = vanilla_button
  instance_identifier = mc_titlescreen_accessibility_button
  anchor_point = top-left
  x = 1564
  y = 542
  width = 48
  height = 48
  advanced_posx = {"placeholder":"calc","values":{"expression":"{"placeholder":"guiwidth"}*1564/1920","decimal":"false"}}
  advanced_posy = {"placeholder":"calc","values":{"expression":"{"placeholder":"guiheight"}*542/1080","decimal":"false"}}
  advanced_width = {"placeholder":"calc","values":{"expression":"{"placeholder":"guiwidth"}*48/1920","decimal":"false"}}
  advanced_height = {"placeholder":"calc","values":{"expression":"{"placeholder":"guiheight"}*48/1080","decimal":"false"}}
}

vanilla_button {
  element_type = vanilla_button
  instance_identifier = 604382
  anchor_point = top-left
  x = 1564
  y = 542
  width = 48
  height = 48
  advanced_posx = {"placeholder":"calc","values":{"expression":"{"placeholder":"guiwidth"}*1564/1920","decimal":"false"}}
  advanced_posy = {"placeholder":"calc","values":{"expression":"{"placeholder":"guiheight"}*542/1080","decimal":"false"}}
  advanced_width = {"placeholder":"calc","values":{"expression":"{"placeholder":"guiwidth"}*48/1920","decimal":"false"}}
  advanced_height = {"placeholder":"calc","values":{"expression":"{"placeholder":"guiheight"}*48/1080","decimal":"false"}}
}

vanilla_button {
  element_type = vanilla_button
  instance_identifier = 604394
  anchor_point = top-left
  x = 1564
  y = 542
  width = 48
  height = 48
  advanced_posx = {"placeholder":"calc","values":{"expression":"{"placeholder":"guiwidth"}*1564/1920","decimal":"false"}}
  advanced_posy = {"placeholder":"calc","values":{"expression":"{"placeholder":"guiheight"}*542/1080","decimal":"false"}}
  advanced_width = {"placeholder":"calc","values":{"expression":"{"placeholder":"guiwidth"}*48/1920","decimal":"false"}}
  advanced_height = {"placeholder":"calc","values":{"expression":"{"placeholder":"guiheight"}*48/1080","decimal":"false"}}
}

vanilla_button {
  element_type = vanilla_button
  instance_identifier = 604406
  anchor_point = top-left
  x = 1564
  y = 542
  width = 48
  height = 48
  advanced_posx = {"placeholder":"calc","values":{"expression":"{"placeholder":"guiwidth"}*1564/1920","decimal":"false"}}
  advanced_posy = {"placeholder":"calc","values":{"expression":"{"placeholder":"guiheight"}*542/1080","decimal":"false"}}
  advanced_width = {"placeholder":"calc","values":{"expression":"{"placeholder":"guiwidth"}*48/1920","decimal":"false"}}
  advanced_height = {"placeholder":"calc","values":{"expression":"{"placeholder":"guiheight"}*48/1080","decimal":"false"}}
}

vanilla_button {
  element_type = vanilla_button
  instance_identifier = 604334
  anchor_point = top-left
  x = 1726
  y = 984
  width = 48
  height = 48
  advanced_posx = {"placeholder":"calc","values":{"expression":"{"placeholder":"guiwidth"}*1726/1920","decimal":"false"}}
  advanced_posy = {"placeholder":"calc","values":{"expression":"{"placeholder":"guiheight"}*984/1080","decimal":"false"}}
  advanced_width = {"placeholder":"calc","values":{"expression":"{"placeholder":"guiwidth"}*48/1920","decimal":"false"}}
  advanced_height = {"placeholder":"calc","values":{"expression":"{"placeholder":"guiheight"}*48/1080","decimal":"false"}}
}

vanilla_button {
  element_type = vanilla_button
  instance_identifier = 604370
  anchor_point = top-left
  x = 1726
  y = 984
  width = 48
  height = 48
  advanced_posx = {"placeholder":"calc","values":{"expression":"{"placeholder":"guiwidth"}*1726/1920","decimal":"false"}}
  advanced_posy = {"placeholder":"calc","values":{"expression":"{"placeholder":"guiheight"}*984/1080","decimal":"false"}}
  advanced_width = {"placeholder":"calc","values":{"expression":"{"placeholder":"guiwidth"}*48/1920","decimal":"false"}}
  advanced_height = {"placeholder":"calc","values":{"expression":"{"placeholder":"guiheight"}*48/1080","decimal":"false"}}
}

element {
  element_type = image
  instance_identifier = munchkinland_right_gradient
  fade_in_v2 = first_time
  fade_in_speed = 1.5
  source = [source:local]config/fancymenu/assets/menu/flat/right_gradient.png
  anchor_point = top-left
  x = 1175
  y = 0
  width = 745
  height = 1080
  advanced_posx = {"placeholder":"calc","values":{"expression":"{"placeholder":"guiwidth"}*1175/1920","decimal":"false"}}
  advanced_posy = {"placeholder":"calc","values":{"expression":"{"placeholder":"guiheight"}*0/1080","decimal":"false"}}
  advanced_width = {"placeholder":"calc","values":{"expression":"{"placeholder":"guiwidth"}*745/1920","decimal":"false"}}
  advanced_height = {"placeholder":"calc","values":{"expression":"{"placeholder":"guiheight"}*1080/1080","decimal":"false"}}
}

element {
  element_type = image
  instance_identifier = munchkinland_logo
  fade_in_v2 = first_time
  fade_in_speed = 1.5
  source = [source:local]config/fancymenu/assets/menu/flat/logo.png
  anchor_point = top-left
  x = 1335
  y = 100
  width = 505
  height = 170
  advanced_posx = {"placeholder":"calc","values":{"expression":"{"placeholder":"guiwidth"}*1335/1920","decimal":"false"}}
  advanced_posy = {"placeholder":"calc","values":{"expression":"{"placeholder":"guiheight"}*100/1080","decimal":"false"}}
  advanced_width = {"placeholder":"calc","values":{"expression":"{"placeholder":"guiwidth"}*505/1920","decimal":"false"}}
  advanced_height = {"placeholder":"calc","values":{"expression":"{"placeholder":"guiheight"}*170/1080","decimal":"false"}}
}

element {
  element_type = custom_button
  instance_identifier = munchkinland_join_button
  fade_in_v2 = first_time
  fade_in_speed = 1.5
  appearance_delay = first_time
  appearance_delay_seconds = 0.4
  anchor_point = top-left
  x = 1356
  y = 306
  width = 464
  height = 71
  advanced_posx = {"placeholder":"calc","values":{"expression":"{"placeholder":"guiwidth"}*1356/1920","decimal":"false"}}
  advanced_posy = {"placeholder":"calc","values":{"expression":"{"placeholder":"guiheight"}*306/1080","decimal":"false"}}
  advanced_width = {"placeholder":"calc","values":{"expression":"{"placeholder":"guiwidth"}*464/1920","decimal":"false"}}
  advanced_height = {"placeholder":"calc","values":{"expression":"{"placeholder":"guiheight"}*71/1080","decimal":"false"}}
  backgroundnormal = [source:local]config/fancymenu/assets/menu/flat/button_join.png
  backgroundhovered = [source:local]config/fancymenu/assets/menu/flat/button_join_hover.png
  button_element_executable_block_identifier = munchkinland_join_block
  [executable_block:munchkinland_join_block][type:generic] = [executables:munchkinland_join_action;]
  [executable_action_instance:munchkinland_join_action][action_type:joinserver] = munchkinland.org
}

element {
  element_type = custom_button
  instance_identifier = munchkinland_options_button
  fade_in_v2 = first_time
  fade_in_speed = 1.5
  appearance_delay = first_time
  appearance_delay_seconds = 0.4
  anchor_point = top-left
  x = 1356
  y = 377
  width = 464
  height = 67
  advanced_posx = {"placeholder":"calc","values":{"expression":"{"placeholder":"guiwidth"}*1356/1920","decimal":"false"}}
  advanced_posy = {"placeholder":"calc","values":{"expression":"{"placeholder":"guiheight"}*377/1080","decimal":"false"}}
  advanced_width = {"placeholder":"calc","values":{"expression":"{"placeholder":"guiwidth"}*464/1920","decimal":"false"}}
  advanced_height = {"placeholder":"calc","values":{"expression":"{"placeholder":"guiheight"}*67/1080","decimal":"false"}}
  backgroundnormal = [source:local]config/fancymenu/assets/menu/flat/button_options.png
  backgroundhovered = [source:local]config/fancymenu/assets/menu/flat/button_options_hover.png
  button_element_executable_block_identifier = munchkinland_options_block
  [executable_block:munchkinland_options_block][type:generic] = [executables:munchkinland_options_action;]
  [executable_action_instance:munchkinland_options_action][action_type:opengui] = options_screen
}

element {
  element_type = custom_button
  instance_identifier = munchkinland_quit_button
  fade_in_v2 = first_time
  fade_in_speed = 1.5
  appearance_delay = first_time
  appearance_delay_seconds = 0.4
  anchor_point = top-left
  x = 1356
  y = 444
  width = 464
  height = 83
  advanced_posx = {"placeholder":"calc","values":{"expression":"{"placeholder":"guiwidth"}*1356/1920","decimal":"false"}}
  advanced_posy = {"placeholder":"calc","values":{"expression":"{"placeholder":"guiheight"}*444/1080","decimal":"false"}}
  advanced_width = {"placeholder":"calc","values":{"expression":"{"placeholder":"guiwidth"}*464/1920","decimal":"false"}}
  advanced_height = {"placeholder":"calc","values":{"expression":"{"placeholder":"guiheight"}*83/1080","decimal":"false"}}
  backgroundnormal = [source:local]config/fancymenu/assets/menu/flat/button_quit.png
  backgroundhovered = [source:local]config/fancymenu/assets/menu/flat/button_quit_hover.png
  button_element_executable_block_identifier = munchkinland_quit_block
  [executable_block:munchkinland_quit_block][type:generic] = [executables:munchkinland_quit_later;]
  [executable_block:munchkinland_quit_later][type:execute-later] = [executables:munchkinland_quit_action;]
  [execute_later_executable_block_value:munchkinland_quit_later] = 450
  [executable_action_instance:munchkinland_quit_action][action_type:quitgame] = 
}

element {
  element_type = custom_button
  anchor_point = top-left
  x = 1648
  y = 542
  width = 48
  height = 48
  advanced_posx = {"placeholder":"calc","values":{"expression":"{"placeholder":"guiwidth"}*1648/1920","decimal":"false"}}
  advanced_posy = {"placeholder":"calc","values":{"expression":"{"placeholder":"guiheight"}*542/1080","decimal":"false"}}
  advanced_width = {"placeholder":"calc","values":{"expression":"{"placeholder":"guiwidth"}*48/1920","decimal":"false"}}
  advanced_height = {"placeholder":"calc","values":{"expression":"{"placeholder":"guiheight"}*48/1080","decimal":"false"}}
  instance_identifier = munchkinland_music_mute_button
  iconnormal = [source:local]config/fancymenu/assets/menu/music_on.png
  iconhovered = [source:local]config/fancymenu/assets/menu/music_on.png
  description = Mute music
  button_element_executable_block_identifier = munchkinland_music_mute_block
  [executable_block:munchkinland_music_mute_block][type:generic] = [executables:munchkinland_music_mute_action;]
  [executable_action_instance:munchkinland_music_mute_action][action_type:set_audio_element_volume] = munchkinland_menu_music:0.0
  element_loading_requirement_container_identifier = munchkinland_music_mute_reqs
  [loading_requirement_container_meta:munchkinland_music_mute_reqs] = [groups:][instances:munchkinland_music_is_on;]
  [loading_requirement:fancymenu_visibility_requirement_is_number][requirement_mode:if][req_id:munchkinland_music_is_on] = ["mode":"bigger-than","number":"{"placeholder":"audio_element_vol","values":{"element_identifier":"munchkinland_menu_music"}}","compare_with":"0"]$
}

element {
  element_type = custom_button
  anchor_point = top-left
  x = 1648
  y = 542
  width = 48
  height = 48
  advanced_posx = {"placeholder":"calc","values":{"expression":"{"placeholder":"guiwidth"}*1648/1920","decimal":"false"}}
  advanced_posy = {"placeholder":"calc","values":{"expression":"{"placeholder":"guiheight"}*542/1080","decimal":"false"}}
  advanced_width = {"placeholder":"calc","values":{"expression":"{"placeholder":"guiwidth"}*48/1920","decimal":"false"}}
  advanced_height = {"placeholder":"calc","values":{"expression":"{"placeholder":"guiheight"}*48/1080","decimal":"false"}}
  instance_identifier = munchkinland_music_unmute_button
  iconnormal = [source:local]config/fancymenu/assets/menu/music_off.png
  iconhovered = [source:local]config/fancymenu/assets/menu/music_off.png
  description = Unmute music
  button_element_executable_block_identifier = munchkinland_music_unmute_block
  [executable_block:munchkinland_music_unmute_block][type:generic] = [executables:munchkinland_music_unmute_action;]
  [executable_action_instance:munchkinland_music_unmute_action][action_type:set_audio_element_volume] = munchkinland_menu_music:0.9
  element_loading_requirement_container_identifier = munchkinland_music_unmute_reqs
  [loading_requirement_container_meta:munchkinland_music_unmute_reqs] = [groups:][instances:munchkinland_music_is_off;]
  [loading_requirement:fancymenu_visibility_requirement_is_number][requirement_mode:if][req_id:munchkinland_music_is_off] = ["mode":"smaller-than-or-equals","number":"{"placeholder":"audio_element_vol","values":{"element_identifier":"munchkinland_menu_music"}}","compare_with":"0"]$
}

element {
  element_type = audio_v2
  instance_identifier = munchkinland_menu_music
  audio_instance_0 = [source:local]config/fancymenu/assets/audio/holiday_menu_music.ogg
  audio_instance_weight_0 = 1.0
  play_mode = normal
  looping = false
  sound_source = master
  volume = 0.9
  anchor_point = top-left
  x = 0
  y = 0
  width = 1
  height = 1
}

element {
  element_type = audio_v2
  instance_identifier = munchkinland_ambience
  audio_instance_0 = [source:local]config/fancymenu/assets/audio/holiday_ambience_loop.ogg
  audio_instance_weight_0 = 1.0
  play_mode = normal
  looping = true
  sound_source = ambient
  volume = 0.4
  anchor_point = top-left
  x = 0
  y = 0
  width = 1
  height = 1
}

element {
  element_type = fancymenu_customization_item_ticker
  instance_identifier = munchkinland_holiday_sfx_ticker
  ticker_element_executable_block_identifier = munchkinland_holiday_sfx_block
  [executable_block:munchkinland_holiday_sfx_block][type:generic] = [executables:munchkinland_holiday_sfx_action;]
  [executable_action_instance:munchkinland_holiday_sfx_action][action_type:play_audio] = {"audioSource":"[source:local]config/fancymenu/assets/audio/holiday_sfx.ogg","soundChannel":"ambient","baseVolume":0.5}
  is_async = false
  tick_mode = normal
  tick_delay = 240000
  anchor_point = top-left
  x = 0
  y = 0
  width = 1
  height = 1
}
