type = fancymenu_layout

layout-meta {
  identifier = command_block_edit_screen
  render_custom_elements_behind_vanilla = true
}

customization {
  action = backgroundoptions
  keepaspectratio = true
}

element {
  element_type = shape
  anchor_point = element
  anchor_point_element = 0
  width = 319
  height = 153
  x = 3
  y = 3
  color = #00000050
}

element {
  instance_identifier = 0
  element_type = image
  anchor_point = top-centered
  width = 327
  height = 160
  x = -163
  y = 15
  source = [source:local]/config/fancymenu/assets/bg/command.png
  nine_slice_texture = true
  nine_slice_texture_border_x = 8
  nine_slice_texture_border_y = 15
}

element {
  element_type = text_v2
  anchor_point = element
  anchor_point_element = 346165
  width = 99
  height = 15
  x = -1
  y = -15
  source = {"placeholder":"local","values":{"key":"bedrockreloaded.command_block"}}
  source_mode = direct
  base_color = #9e9e9e
  enable_scrolling = false
}

element {
  element_type = text_v2
  anchor_point = element
  anchor_point_element = 450165
  width = 99
  height = 15
  x = -1
  y = -15
  source = {"placeholder":"local","values":{"key":"bedrockreloaded.command_condition"}}
  source_mode = direct
  base_color = #9e9e9e
  enable_scrolling = false
}

element {
  element_type = text_v2
  anchor_point = element
  anchor_point_element = 554165
  width = 99
  height = 15
  x = -1
  y = -15
  source = {"placeholder":"local","values":{"key":"bedrockreloaded.command_redstone"}}
  source_mode = direct
  base_color = #9e9e9e
  enable_scrolling = false
}

vanilla_button {
  instance_identifier = 450165
  anchor_point = element
  anchor_point_element = 346165
  width = 99
  height = 25
  x = 103
}

vanilla_button {
  instance_identifier = 346165
  anchor_point = top-centered
  width = 99
  height = 25
  x = -151
  y = 92
}

vanilla_button {
  instance_identifier = 346382
  anchor_point = element
  anchor_point_element = 0
  width = 100
  height = 30
  x = 113
  y = 185
}

vanilla_button {
  instance_identifier = 554165
  anchor_point = element
  anchor_point_element = 450165
  width = 99
  height = 25
  x = 103
}

vanilla_button {
  instance_identifier = 630135
  anchor_point = top-centered
  width = 20
  height = 20
  x = 130
  y = 135
}

vanilla_button {
  instance_identifier = 504382
  anchor_point = element
  anchor_point_element = 0
  width = 5
  height = 5
  x = 316
  y = 6
  backgroundnormal = [source:local]/config/fancymenu/assets/icons/close.png
  backgroundhovered = [source:local]/config/fancymenu/assets/icons/close_highlighted.png
  label = 
}