// File made and modified by @tlgm2308 (Twitter).
// Please respect my works ;-;,and do not use my code without permissions!
{"namespace":"tyel_pause_title","title_panel":{"type":"stack_panel","orientation":"horizontal","size":"$title_size","anchor_from":"top_left","anchor_to":"top_left","offset":"$title_offset","$title_size|default":["100% - 8px",32],"$title_offset|default":[4,4],"variables":[{"requires":"$is_utility_ui","$title_size":["100% - 36px",32],"$title_offset":[32,4]}],"controls":[{"icon_panel":{"type":"panel","size":[32,32],"controls":[{"title_icons@tyel_pause_title.title_icons":{"animation_reset_name":"screen_animation_reset","anims":"$fade_to_left_animations"}}]}},{"padding":{"type":"panel","size":[4,4]}},{"title_panel":{"type":"panel","size":["fill","100%"],"controls":[{"titles":{"type":"stack_panel","orientation":"vertical","size":["100%","100%c"],"anchor_from":"left_middle","anchor_to":"left_middle","animation_reset_name":"screen_animation_reset","anims":"$fade_to_left_animations","controls":[{"title@tyel_pause_title.title_text":{}},{"padding_1":{"type":"panel","size":[2,2]}},{"subtitle@tyel_pause_title.title_subtitles":{}},{"padding_2":{"type":"panel","size":[1,1]}}]}}]}},{"info_panel":{"type":"panel","size":["100%c + 4px","100%"],"controls":[{"info_panel@tyel_pause_title.info_panels":{"animation_reset_name":"screen_animation_reset","anims":"$fade_to_right_animations","size":["100%cm","100%c"],"anchor_from":"top_right","anchor_to":"top_right"}}]}}]},"title_text":{"type":"label","text":"#worldname","size":["100%",16],"color":"$main_header_text_color","layer":2,"font_type":"MinecraftTen","font_scale_factor":1.5,"shadow":true,"bindings":[{"binding_name":"#worldname"}]},"title_subtitle":{"type":"label","text":"$title_subtitle_text","size":["100%","default"],"color":"$main_header_text_color","layer":2,"shadow":true,"$title_subtitle_text|default":"","$subtitle_visible_binding_name|default":true,"$subtitle_visible_binding_type|default":"global","bindings":[{"binding_name":"$subtitle_visible_binding_name","binding_name_override":"#visible","binding_type":"$subtitle_visible_binding_type"}]},"icon_border":{"type":"image","texture":"textures/ui/black_border","size":["100% + 2px","100% + 2px"],"layer":-1},"title_icon_template":{"type":"image","texture":"$title_icon_texture","$title_icon_texture|default":"","$world_name":"","$has_border|default":true,"layer":2,"$use_custom_world_name_property|default":false,"$custom_world_name_property|default":false,"bindings":[{"binding_name":"#worldname"},{"ignored":"$use_custom_world_name_property","binding_type":"view","source_property_name":"(#worldname = $world_name)","target_property_name":"#visible"},{"ignored":"(not $use_custom_world_name_property)","binding_type":"view","source_property_name":"$custom_world_name_property","target_property_name":"#visible"}],"controls":[{"icon_border@tyel_pause_title.icon_border":{"ignored":"(not $has_border)"}}]},"world_info_button_content":{"type":"image","texture":"textures/ui/infobulb","keep_ratio":true,"$tooltip_offset|default":[4,13],"variables":[{"requires":"$pressed_state","$tooltip_offset":[4,12]}],"controls":[{"tooltip@tyel_pause_title.world_info_tooltip":{"visible":"(not $default_state)"}}]},"world_info_tooltip@common.tooltip_background":{"size":["100%cm + 10px","100%cm + 10px"],"anchor_from":"bottom_right","anchor_to":"top_right","offset":"$tooltip_offset","layer":200,"controls":[{"content@tyel_pause_title.world_info_tooltip_content":{}},{"chevron_image":{"type":"image","texture":"textures/ui/tooltip_inverted_chevron","layer":2,"bilinear":true,"size":[19,13],"anchor_from":"top_right","anchor_to":"top_right","offset":["-30%x","-10px"]}}]},"world_info_tooltip_content":{"type":"stack_panel","orientation":"vertical","size":["100%cm","100%c"],"layer":1,"controls":[{"world_info_header":{"visible":"(not ($world_info_header = ''))","type":"label","text":"$world_info_header","font_type":"MinecraftTen","font_scale_factor":1.2,"hide_hyphen":true,"localize":false,"size":["default","default"],"max_size":[400,"default"]}},{"padding":{"type":"panel","size":[2,2]}},{"world_info":{"visible":"(not ($world_info = ''))","type":"label","text":"$world_info","hide_hyphen":true,"localize":false,"size":["default","default"],"max_size":[400,"default"]}},{"world_sub_info":{"visible":"(not ($world_sub_info = ''))","type":"label","text":"$world_sub_info","font_type":"smooth","hide_hyphen":true,"localize":false,"size":["default","default"],"max_size":[400,"default"]}},{"tyel_ui_compatible_panel":{"ignored":"(not $tyel_ui_compatible)","type":"stack_panel","orientation":"horizontal","size":["100%c","100%cm"],"controls":[{"icon_glyph":{"type":"image","texture":"textures/ui/check","size":[11,8]}},{"padding":{"type":"panel","size":[2,2]}},{"title":{"type":"label","text":"$tyel_ui_compatible_header","size":["default","default"]}}]}}]},"world_info_button@common_buttons.light_content_button":{"size":[24,24],"anchor_from":"top_right","anchor_to":"top_right","offset":[-2,2],"$button_content":"tyel_pause_title.world_info_button_content","$pressed_button_name":"button.world_info","layer":50,"$tyel_ui_compatible|default":false,"$world_info_header|default":"","$world_info|default":"","$world_sub_info|default":"","$tyel_ui_compatible_header|default":"compatibility.tyelUI"},"world_info_template":{"type":"panel","size":[24,24],"$world_name|default":"","$use_custom_world_name_property|default":false,"$custom_world_name_property|default":false,"bindings":[{"binding_name":"#worldname"},{"ignored":"$use_custom_world_name_property","binding_type":"view","source_property_name":"(#worldname = $world_name)","target_property_name":"#visible"},{"ignored":"(not $use_custom_world_name_property)","binding_type":"view","source_property_name":"$custom_world_name_property","target_property_name":"#visible"}],"controls":[{"world_info_button@tyel_pause_title.world_info_button":{}}]}}