fancymenu fix

This commit is contained in:
Xikaro 2024-03-19 15:08:22 +05:00
parent 71dee1d81e
commit 373f436e77
14 changed files with 307 additions and 6187 deletions

View file

@ -3,13 +3,13 @@ type = fancymenu_layout
layout-meta {
identifier = title_screen
render_custom_elements_behind_vanilla = false
last_edited_time = 1710837053344
last_edited_time = 1710842543372
is_enabled = true
randommode = false
randomgroup = 1
randomonlyfirsttime = false
layout_index = 0
[loading_requirement_container_meta:77e5ee79-1bd5-4b97-8962-db394c647e83-1710837053344] = [groups:][instances:]
[loading_requirement_container_meta:6e2f9d37-48b0-467d-922e-726f6819a33c-1710842515043] = [groups:][instances:]
}
menu_background {
@ -273,23 +273,99 @@ element {
}
element {
orientation = bottom-left
enable_scrolling = true
shadow = true
scale = 1.0
source = Forge {"placeholder":"modversion","values":{"modid":"forge"}}%n%Minecraft {"placeholder":"mcversion"}%n%{"placeholder":"loadedmods"} mods loaded%n%Modpack Version: §cDEV§r%n%Latest Modpack Version: §b{"placeholder":"json","values":{"source":"https://api.github.com/repos/TerraFirmaGreg-Team/Modpack-1.20.x/releases/latest","json_path":"$.tag_name"}}§r
text_border = 0
case_mode = normal
source_mode = direct
line_spacing = 1
x = 1
width = 163
action = custom_layout_element:fancymenu_customization_item_text
actionid = a5845307-9494-47b0-87c0-e398a680e9e01700129661006
y = -61
shadow = true
case_mode = normal
scale = 1.0
alignment = left
height = 56
text_border = 0
line_spacing = 1
enable_scrolling = true
element_type = fancymenu_customization_item_text
instance_identifier = a5845307-9494-47b0-87c0-e398a680e9e01700129661006
appearance_delay = no_delay
appearance_delay_seconds = 1.0
fade_in = false
fade_in_speed = 1.0
anchor_point = bottom-left
x = 1
y = -61
width = 163
height = 56
stretch_x = false
stretch_y = false
stay_on_screen = false
element_loading_requirement_container_identifier = e2df7920-d8c7-41c2-82da-976ac9dec990-1710842515045
[loading_requirement_container_meta:e2df7920-d8c7-41c2-82da-976ac9dec990-1710842515045] = [groups:][instances:]
}
vanilla_button {
button_element_executable_block_identifier = f5d492e4-e25d-4646-a378-cae04b45c8b3-1710837053345
[executable_block:f5d492e4-e25d-4646-a378-cae04b45c8b3-1710837053345][type:generic] = [executables:]
backgroundnormal = [source:local]kubejs/assets/tfg/textures/gui/button_98x20.png
backgroundhovered = [source:local]kubejs/assets/tfg/textures/gui/button_hover_98x20.png
restartbackgroundanimations = true
loopbackgroundanimations = true
nine_slice_custom_background = false
nine_slice_border_x = 5
nine_slice_border_y = 5
navigatable = true
element_type = vanilla_button
instance_identifier = forge_titlescreen_mods_button
appearance_delay = no_delay
appearance_delay_seconds = 1.0
fade_in = false
fade_in_speed = 1.0
anchor_point = mid-centered
x = -55
y = -5
width = 98
height = 20
stretch_x = false
stretch_y = false
stay_on_screen = false
element_loading_requirement_container_identifier = 612a6d32-b14d-4771-a362-65ec15e28bf1-1710837053345
[loading_requirement_container_meta:612a6d32-b14d-4771-a362-65ec15e28bf1-1710837053345] = [groups:][instances:]
is_hidden = false
automated_button_clicks = 0
nine_slice_slider_handle = false
nine_slice_slider_handle_border_x = 5
nine_slice_slider_handle_border_y = 5
}
vanilla_button {
button_element_executable_block_identifier = f04fbec6-3e03-4b54-a3aa-aa7ce92175ec-1710837053345
[executable_block:f04fbec6-3e03-4b54-a3aa-aa7ce92175ec-1710837053345][type:generic] = [executables:]
backgroundnormal = [source:local]kubejs/assets/tfg/textures/gui/button.png
backgroundhovered = [source:local]kubejs/assets/tfg/textures/gui/button_hover.png
restartbackgroundanimations = true
loopbackgroundanimations = true
nine_slice_custom_background = false
nine_slice_border_x = 5
nine_slice_border_y = 5
navigatable = true
element_type = vanilla_button
instance_identifier = mc_titlescreen_singleplayer_button
appearance_delay = no_delay
appearance_delay_seconds = 1.0
fade_in = false
fade_in_speed = 1.0
anchor_point = mid-centered
x = -55
y = -51
width = 200
height = 20
stretch_x = false
stretch_y = false
stay_on_screen = false
element_loading_requirement_container_identifier = 35fdf2a6-00bc-456b-830a-e97b7ee6f3a0-1710837053345
[loading_requirement_container_meta:35fdf2a6-00bc-456b-830a-e97b7ee6f3a0-1710837053345] = [groups:][instances:]
is_hidden = false
automated_button_clicks = 0
nine_slice_slider_handle = false
nine_slice_slider_handle_border_x = 5
nine_slice_slider_handle_border_y = 5
}
vanilla_button {
@ -310,8 +386,8 @@ vanilla_button {
anchor_point = bottom-left
x = 2
y = -10
width = 0
height = 0
width = 196
height = 10
stretch_x = false
stretch_y = false
stay_on_screen = false
@ -324,6 +400,105 @@ vanilla_button {
nine_slice_slider_handle_border_y = 5
}
vanilla_button {
button_element_executable_block_identifier = d29af260-9081-410f-86cc-eca92eb2161b-1710837053345
[executable_block:d29af260-9081-410f-86cc-eca92eb2161b-1710837053345][type:generic] = [executables:]
backgroundnormal = [source:local]kubejs/assets/tfg/textures/gui/modrinth_logo.png
restartbackgroundanimations = true
loopbackgroundanimations = true
nine_slice_custom_background = false
nine_slice_border_x = 5
nine_slice_border_y = 5
navigatable = true
element_type = vanilla_button
instance_identifier = 376322
appearance_delay = no_delay
appearance_delay_seconds = 1.0
fade_in = false
fade_in_speed = 1.0
anchor_point = mid-centered
x = 72
y = 18
width = 20
height = 20
stretch_x = false
stretch_y = false
stay_on_screen = false
element_loading_requirement_container_identifier = 59eca2f8-b704-4a42-b2d3-101e17f6e61e-1710837053345
[loading_requirement_container_meta:59eca2f8-b704-4a42-b2d3-101e17f6e61e-1710837053345] = [groups:][instances:]
is_hidden = true
automated_button_clicks = 0
nine_slice_slider_handle = false
nine_slice_slider_handle_border_x = 5
nine_slice_slider_handle_border_y = 5
}
vanilla_button {
button_element_executable_block_identifier = 8e3abb1a-7f06-42bd-920a-eeabb0f225ec-1710837053345
[executable_block:8e3abb1a-7f06-42bd-920a-eeabb0f225ec-1710837053345][type:generic] = [executables:]
restartbackgroundanimations = true
loopbackgroundanimations = true
nine_slice_custom_background = false
nine_slice_border_x = 5
nine_slice_border_y = 5
navigatable = true
element_type = vanilla_button
instance_identifier = mc_titlescreen_accessibility_button
appearance_delay = no_delay
appearance_delay_seconds = 1.0
fade_in = false
fade_in_speed = 1.0
anchor_point = vanilla
x = 415
y = 196
width = 20
height = 20
stretch_x = false
stretch_y = false
stay_on_screen = false
element_loading_requirement_container_identifier = f97a69d2-7673-4f9e-97eb-d37eb76122f3-1710837053345
[loading_requirement_container_meta:f97a69d2-7673-4f9e-97eb-d37eb76122f3-1710837053345] = [groups:][instances:]
is_hidden = true
automated_button_clicks = 0
nine_slice_slider_handle = false
nine_slice_slider_handle_border_x = 5
nine_slice_slider_handle_border_y = 5
}
vanilla_button {
button_element_executable_block_identifier = 4fd9e559-3c06-41dc-ae8f-7a2ebaf224c9-1710837053345
[executable_block:4fd9e559-3c06-41dc-ae8f-7a2ebaf224c9-1710837053345][type:generic] = [executables:]
backgroundnormal = [source:local]kubejs/assets/tfg/textures/gui/button_98x20.png
backgroundhovered = [source:local]kubejs/assets/tfg/textures/gui/button_hover_98x20.png
restartbackgroundanimations = true
loopbackgroundanimations = true
nine_slice_custom_background = false
nine_slice_border_x = 5
nine_slice_border_y = 5
navigatable = true
element_type = vanilla_button
instance_identifier = mc_titlescreen_options_button
appearance_delay = no_delay
appearance_delay_seconds = 1.0
fade_in = false
fade_in_speed = 1.0
anchor_point = mid-centered
x = 47
y = -5
width = 98
height = 20
stretch_x = false
stretch_y = false
stay_on_screen = false
element_loading_requirement_container_identifier = 715a2b76-8625-45e4-8562-798e3aa19b3d-1710837053345
[loading_requirement_container_meta:715a2b76-8625-45e4-8562-798e3aa19b3d-1710837053345] = [groups:][instances:]
is_hidden = false
automated_button_clicks = 0
nine_slice_slider_handle = false
nine_slice_slider_handle_border_x = 5
nine_slice_slider_handle_border_y = 5
}
vanilla_button {
button_element_executable_block_identifier = e2b3e9b3-2d45-4f4f-b6dd-4f89f83b7da5-1710837053345
[executable_block:e2b3e9b3-2d45-4f4f-b6dd-4f89f83b7da5-1710837053345][type:generic] = [executables:]
@ -358,73 +533,6 @@ vanilla_button {
nine_slice_slider_handle_border_y = 5
}
vanilla_button {
button_element_executable_block_identifier = 4fd9e559-3c06-41dc-ae8f-7a2ebaf224c9-1710837053345
[executable_block:4fd9e559-3c06-41dc-ae8f-7a2ebaf224c9-1710837053345][type:generic] = [executables:]
backgroundnormal = [source:local]kubejs/assets/tfg/textures/gui/button_98x20.png
backgroundhovered = [source:local]kubejs/assets/tfg/textures/gui/button_hover_98x20.png
restartbackgroundanimations = true
loopbackgroundanimations = true
nine_slice_custom_background = false
nine_slice_border_x = 5
nine_slice_border_y = 5
navigatable = true
element_type = vanilla_button
instance_identifier = mc_titlescreen_options_button
appearance_delay = no_delay
appearance_delay_seconds = 1.0
fade_in = false
fade_in_speed = 1.0
anchor_point = mid-centered
x = 47
y = -5
width = 0
height = 0
stretch_x = false
stretch_y = false
stay_on_screen = false
element_loading_requirement_container_identifier = 715a2b76-8625-45e4-8562-798e3aa19b3d-1710837053345
[loading_requirement_container_meta:715a2b76-8625-45e4-8562-798e3aa19b3d-1710837053345] = [groups:][instances:]
is_hidden = false
automated_button_clicks = 0
nine_slice_slider_handle = false
nine_slice_slider_handle_border_x = 5
nine_slice_slider_handle_border_y = 5
}
vanilla_button {
button_element_executable_block_identifier = d29af260-9081-410f-86cc-eca92eb2161b-1710837053345
[executable_block:d29af260-9081-410f-86cc-eca92eb2161b-1710837053345][type:generic] = [executables:]
backgroundnormal = [source:local]kubejs/assets/tfg/textures/gui/modrinth_logo.png
restartbackgroundanimations = true
loopbackgroundanimations = true
nine_slice_custom_background = false
nine_slice_border_x = 5
nine_slice_border_y = 5
navigatable = true
element_type = vanilla_button
instance_identifier = 376322
appearance_delay = no_delay
appearance_delay_seconds = 1.0
fade_in = false
fade_in_speed = 1.0
anchor_point = mid-centered
x = 72
y = 18
width = 0
height = 0
stretch_x = false
stretch_y = false
stay_on_screen = false
element_loading_requirement_container_identifier = 59eca2f8-b704-4a42-b2d3-101e17f6e61e-1710837053345
[loading_requirement_container_meta:59eca2f8-b704-4a42-b2d3-101e17f6e61e-1710837053345] = [groups:][instances:]
is_hidden = true
automated_button_clicks = 0
nine_slice_slider_handle = false
nine_slice_slider_handle_border_x = 5
nine_slice_slider_handle_border_y = 5
}
vanilla_button {
button_element_executable_block_identifier = 829507fa-6c1f-46c8-94ea-4c4d8275a324-1710837053345
[executable_block:829507fa-6c1f-46c8-94ea-4c4d8275a324-1710837053345][type:generic] = [executables:]
@ -443,8 +551,8 @@ vanilla_button {
anchor_point = mid-centered
x = 86
y = 41
width = 0
height = 0
width = 20
height = 20
stretch_x = false
stretch_y = false
stay_on_screen = false
@ -458,10 +566,8 @@ vanilla_button {
}
vanilla_button {
button_element_executable_block_identifier = f5d492e4-e25d-4646-a378-cae04b45c8b3-1710837053345
[executable_block:f5d492e4-e25d-4646-a378-cae04b45c8b3-1710837053345][type:generic] = [executables:]
backgroundnormal = [source:local]kubejs/assets/tfg/textures/gui/button_98x20.png
backgroundhovered = [source:local]kubejs/assets/tfg/textures/gui/button_hover_98x20.png
button_element_executable_block_identifier = 785145e3-49a4-45fa-86a5-76543bb7c226-1710837053345
[executable_block:785145e3-49a4-45fa-86a5-76543bb7c226-1710837053345][type:generic] = [executables:]
restartbackgroundanimations = true
loopbackgroundanimations = true
nine_slice_custom_background = false
@ -469,56 +575,22 @@ vanilla_button {
nine_slice_border_y = 5
navigatable = true
element_type = vanilla_button
instance_identifier = forge_titlescreen_mods_button
instance_identifier = mc_titlescreen_realms_button
appearance_delay = no_delay
appearance_delay_seconds = 1.0
fade_in = false
fade_in_speed = 1.0
anchor_point = mid-centered
x = -55
x = 47
y = -5
width = 0
height = 0
width = 98
height = 20
stretch_x = false
stretch_y = false
stay_on_screen = false
element_loading_requirement_container_identifier = 612a6d32-b14d-4771-a362-65ec15e28bf1-1710837053345
[loading_requirement_container_meta:612a6d32-b14d-4771-a362-65ec15e28bf1-1710837053345] = [groups:][instances:]
is_hidden = false
automated_button_clicks = 0
nine_slice_slider_handle = false
nine_slice_slider_handle_border_x = 5
nine_slice_slider_handle_border_y = 5
}
vanilla_button {
button_element_executable_block_identifier = f04fbec6-3e03-4b54-a3aa-aa7ce92175ec-1710837053345
[executable_block:f04fbec6-3e03-4b54-a3aa-aa7ce92175ec-1710837053345][type:generic] = [executables:]
backgroundnormal = [source:local]kubejs/assets/tfg/textures/gui/button.png
backgroundhovered = [source:local]kubejs/assets/tfg/textures/gui/button_hover.png
restartbackgroundanimations = true
loopbackgroundanimations = true
nine_slice_custom_background = false
nine_slice_border_x = 5
nine_slice_border_y = 5
navigatable = true
element_type = vanilla_button
instance_identifier = mc_titlescreen_singleplayer_button
appearance_delay = no_delay
appearance_delay_seconds = 1.0
fade_in = false
fade_in_speed = 1.0
anchor_point = mid-centered
x = -55
y = -51
width = 0
height = 0
stretch_x = false
stretch_y = false
stay_on_screen = false
element_loading_requirement_container_identifier = 35fdf2a6-00bc-456b-830a-e97b7ee6f3a0-1710837053345
[loading_requirement_container_meta:35fdf2a6-00bc-456b-830a-e97b7ee6f3a0-1710837053345] = [groups:][instances:]
is_hidden = false
element_loading_requirement_container_identifier = 7c454c53-713f-4c87-97e8-288da3eba763-1710837053345
[loading_requirement_container_meta:7c454c53-713f-4c87-97e8-288da3eba763-1710837053345] = [groups:][instances:]
is_hidden = true
automated_button_clicks = 0
nine_slice_slider_handle = false
nine_slice_slider_handle_border_x = 5
@ -545,8 +617,8 @@ vanilla_button {
anchor_point = mid-centered
x = -55
y = 18
width = 0
height = 0
width = 98
height = 20
stretch_x = false
stretch_y = false
stay_on_screen = false
@ -559,141 +631,123 @@ vanilla_button {
nine_slice_slider_handle_border_y = 5
}
vanilla_button {
button_element_executable_block_identifier = 8e3abb1a-7f06-42bd-920a-eeabb0f225ec-1710837053345
[executable_block:8e3abb1a-7f06-42bd-920a-eeabb0f225ec-1710837053345][type:generic] = [executables:]
restartbackgroundanimations = true
loopbackgroundanimations = true
nine_slice_custom_background = false
nine_slice_border_x = 5
nine_slice_border_y = 5
navigatable = true
element_type = vanilla_button
instance_identifier = mc_titlescreen_accessibility_button
deep_element {
element_type = title_screen_logo
instance_identifier = deep:title_screen_logo
appearance_delay = no_delay
appearance_delay_seconds = 1.0
fade_in = false
fade_in_speed = 1.0
anchor_point = vanilla
x = 0
y = 0
width = 0
height = 0
anchor_point = top-left
x = 183
y = 30
width = 274
height = 52
stretch_x = false
stretch_y = false
stay_on_screen = false
element_loading_requirement_container_identifier = f97a69d2-7673-4f9e-97eb-d37eb76122f3-1710837053345
[loading_requirement_container_meta:f97a69d2-7673-4f9e-97eb-d37eb76122f3-1710837053345] = [groups:][instances:]
element_loading_requirement_container_identifier = fc62d3fe-4119-40f8-97e9-512a4173084c-1710842515045
[loading_requirement_container_meta:fc62d3fe-4119-40f8-97e9-512a4173084c-1710842515045] = [groups:][instances:]
is_hidden = true
automated_button_clicks = 0
nine_slice_slider_handle = false
nine_slice_slider_handle_border_x = 5
nine_slice_slider_handle_border_y = 5
}
vanilla_button {
button_element_executable_block_identifier = 785145e3-49a4-45fa-86a5-76543bb7c226-1710837053345
[executable_block:785145e3-49a4-45fa-86a5-76543bb7c226-1710837053345][type:generic] = [executables:]
restartbackgroundanimations = true
loopbackgroundanimations = true
nine_slice_custom_background = false
nine_slice_border_x = 5
nine_slice_border_y = 5
navigatable = true
element_type = vanilla_button
instance_identifier = mc_titlescreen_realms_button
deep_element {
element_type = title_screen_branding
instance_identifier = deep:title_screen_branding
appearance_delay = no_delay
appearance_delay_seconds = 1.0
fade_in = false
fade_in_speed = 1.0
anchor_point = top-left
x = 2
y = 365
width = 122
height = 50
stretch_x = false
stretch_y = false
stay_on_screen = false
element_loading_requirement_container_identifier = fead99d5-9fdb-4e94-a3d5-8a197744d4e9-1710842515045
[loading_requirement_container_meta:fead99d5-9fdb-4e94-a3d5-8a197744d4e9-1710842515045] = [groups:][instances:]
is_hidden = true
}
deep_element {
element_type = title_screen_splash
instance_identifier = deep:title_screen_splash
appearance_delay = no_delay
appearance_delay_seconds = 1.0
fade_in = false
fade_in_speed = 1.0
anchor_point = mid-centered
x = 47
y = -5
width = 0
height = 0
x = 221
y = -89
width = 100
height = 30
stretch_x = false
stretch_y = false
stay_on_screen = false
element_loading_requirement_container_identifier = 7c454c53-713f-4c87-97e8-288da3eba763-1710837053345
[loading_requirement_container_meta:7c454c53-713f-4c87-97e8-288da3eba763-1710837053345] = [groups:][instances:]
is_hidden = true
automated_button_clicks = 0
nine_slice_slider_handle = false
nine_slice_slider_handle_border_x = 5
nine_slice_slider_handle_border_y = 5
element_loading_requirement_container_identifier = 835e8081-9ba0-4136-a66e-047f32323efd-1710842515045
[loading_requirement_container_meta:835e8081-9ba0-4136-a66e-047f32323efd-1710842515045] = [groups:][instances:]
is_hidden = false
}
deep_element {
orientation = top-left
hidden = true
x = 186
width = 268
action = deep_customization_element:title_screen_forge_top
actionid = 2b0f749a-ca2d-476d-b6a3-caf3dcd7e1971699232461193
y = 4
height = 19
element_type = title_screen_forge_top
}
deep_element {
orientation = top-left
hidden = true
x = 2
width = 122
action = deep_customization_element:title_screen_branding
actionid = 473712fb-e2ae-4dc5-a5c4-440bd571d2971699232461193
y = 365
height = 50
element_type = title_screen_branding
}
deep_element {
orientation = top-left
hidden = true
x = 283
width = 228
action = deep_customization_element:title_screen_forge_copyright
actionid = e35897c5-67fe-4b25-9d46-ec33d14ee19d1699232461193
y = 254
height = 9
element_type = title_screen_forge_copyright
}
deep_element {
orientation = top-left
hidden = true
x = 423
width = 13
action = deep_customization_element:title_screen_realms_notification
actionid = 3554a30d-ad9e-47ae-881f-9fd3cc6467771699232461193
y = 184
height = 13
element_type = title_screen_realms_notification
instance_identifier = deep:title_screen_realms_notification
appearance_delay = no_delay
appearance_delay_seconds = 1.0
fade_in = false
fade_in_speed = 1.0
anchor_point = top-left
x = 423
y = 184
width = 13
height = 13
stretch_x = false
stretch_y = false
stay_on_screen = false
element_loading_requirement_container_identifier = 79bafbe6-3d70-4035-8fe3-6c00fc232aab-1710842515045
[loading_requirement_container_meta:79bafbe6-3d70-4035-8fe3-6c00fc232aab-1710842515045] = [groups:][instances:]
is_hidden = true
}
deep_element {
orientation = top-left
hidden = true
x = 183
width = 274
action = deep_customization_element:title_screen_logo
actionid = 60d71936-244d-4321-984c-d3860e2a7c7e1699232461194
y = 30
height = 52
element_type = title_screen_logo
element_type = title_screen_forge_copyright
instance_identifier = deep:title_screen_forge_copyright
appearance_delay = no_delay
appearance_delay_seconds = 1.0
fade_in = false
fade_in_speed = 1.0
anchor_point = top-left
x = 283
y = 254
width = 228
height = 9
stretch_x = false
stretch_y = false
stay_on_screen = false
element_loading_requirement_container_identifier = aac8e7e3-67e0-47ba-a8dd-ba2bff036e59-1710842515045
[loading_requirement_container_meta:aac8e7e3-67e0-47ba-a8dd-ba2bff036e59-1710842515045] = [groups:][instances:]
is_hidden = true
}
deep_element {
orientation = mid-centered
splash_color = #ffff00
hidden = false
x = 221
width = 60
splash_rotation = -20
action = deep_customization_element:title_screen_splash
actionid = 1fac19ad-13d2-4cfd-8f48-d5b537614e231699232461194
y = -89
height = 30
element_type = title_screen_splash
element_type = title_screen_forge_top
instance_identifier = deep:title_screen_forge_top
appearance_delay = no_delay
appearance_delay_seconds = 1.0
fade_in = false
fade_in_speed = 1.0
anchor_point = top-left
x = 186
y = 4
width = 268
height = 19
stretch_x = false
stretch_y = false
stay_on_screen = false
element_loading_requirement_container_identifier = 22e5d1b1-3b0e-408e-96eb-071b19288a6f-1710842515045
[loading_requirement_container_meta:22e5d1b1-3b0e-408e-96eb-071b19288a6f-1710842515045] = [groups:][instances:]
is_hidden = true
}