type = fancymenu_layout

layout-meta {
  identifier = drippy_loading_overlay
}

menu_background {
  background_type = color_fancymenu
  color = #1e1e1f
}

customization {
  action = backgroundoptions
  keepaspectratio = true
}

element {
  element_type = image
  anchor_point = top-centered
  width = 320
  height = 80
  x = -160
  y = 70
  source = [source:location]minecraft:textures/gui/title/minecraft.png
}

element {
  element_type = image
  anchor_point = element
  anchor_point_element = progress_bar
  width = 14
  height = 14
  x = 125
  y = -35
  source = [source:location]fancymenu:textures/icon/loading.gif
}

vanilla_button {
  instance_identifier = progress_bar
  anchor_point = mid-centered
  width = 264
  height = 10
  x = -132
  y = 54
}

element {
  element_type = text_v2
  anchor_point = element
  anchor_point_element = progress_bar
  stretch_x = true
  y = 12
  source = ^^^%n%{"placeholder":"game_loading_progress"}%%n%^^^
  source_mode = direct
  shadow = false
  enable_scrolling = false
}

vanilla_button {
  instance_identifier = mojang_logo
  is_hidden = true
}