Skip to content

Commit

Permalink
🎅 FancyMenu init
Browse files Browse the repository at this point in the history
  • Loading branch information
Oganesson897 committed Dec 25, 2024
1 parent f68f7f6 commit 122a5fb
Show file tree
Hide file tree
Showing 14 changed files with 938 additions and 602 deletions.
12 changes: 6 additions & 6 deletions config/fancymenu/config.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
##[general]

[Stop vanilla world music when in a customizable menu.]
B:stopworldmusicwhencustomizable = 'false';
B:stopworldmusicwhencustomizable = 'true';
[If menu background sounds added by FancyMenu should be played when a world is loaded.]
B:playbackgroundsoundsinworld = 'false';
B:forcefullscreen = 'false';
Expand All @@ -13,12 +13,12 @@ B:playmenumusic = 'true';
S:variables_to_reset_on_launch = '';
B:showdebugwarnings = 'true';
[Sets the default GUI scale on first launch. Useful for modpacks. Cache data is saved in '/mods/fancymenu/'.]
I:defaultguiscale = '-1';
I:defaultguiscale = '3';


##[customization]

B:advancedmode = 'false';
B:advancedmode = 'true';
B:showcustomizationbuttons = 'true';


Expand All @@ -40,9 +40,9 @@ S:customgameintroskiptext = '';
##[minecraftwindow]

[A minecraft restart is required after changing this value.]
S:customwindowtitle = '';
S:customwindowtitle = 'StP ModPack by StarryNight-Team';
[A minecraft restart is required after changing this value.]
B:customwindowicon = 'false';
B:customwindowicon = 'true';


##[multiplayer_screen]
Expand All @@ -67,7 +67,7 @@ B:showvanillamovewarning = 'true';
##[ui]

B:show_unicode_warning = 'true';
F:uiscale = '1.0';
F:uiscale = '2';


##[compatibility]
Expand Down
3 changes: 3 additions & 0 deletions config/fancymenu/customguis/creatorlist.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
identifier = creatorlist
title =
allowesc = true
9 changes: 9 additions & 0 deletions config/fancymenu/customizablemenus.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,11 @@
type = customizablemenus

mezz.jei.gui.recipes.RecipesGui {
}

net.minecraft.client.gui.GuiMainMenu {
}

net.minecraft.client.gui.GuiMultiplayer {
}

328 changes: 328 additions & 0 deletions config/fancymenu/customization/MainMenu.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,328 @@
type = menu

customization-meta {
identifier = net.minecraft.client.gui.GuiMainMenu
randomgroup = 1
renderorder = background
randommode = false
randomonlyfirsttime = false
smallerthanwidth = 1921
}

customization {
path = resources/customloadingscreen/image/starrynight_pray/starrynight_pray.png
action = texturizebackground
}

customization {
path = resources/mainmenu/bg_music.wav
loop = true
action = addaudio
}

customization {
keepaspectratio = false
action = backgroundoptions
}

customization {
identifier = %id=button_compatibility_id:mc_titlescreen_multiplayer_button%
action = hidebutton
}

customization {
identifier = %id=button_compatibility_id:mc_titlescreen_options_button%
action = hidebutton
}

customization {
identifier = %id=button_compatibility_id:mc_titlescreen_quit_button%
action = hidebutton
}

customization {
identifier = %id=button_compatibility_id:mc_titlescreen_language_button%
action = hidebutton
}

customization {
identifier = %id=button_compatibility_id:mc_titlescreen_singleplayer_button%
action = hidebutton
}

customization {
identifier = %id=button_compatibility_id:forge_titlescreen_mods_button%
action = hidebutton
}

customization {
identifier = %id=button_compatibility_id:mc_titlescreen_realms_button%
action = hidebutton
}

customization {
orientation = top-left
hidden = false
x = 380
width = 200
action = deep_customization_element:title_screen_forge_top
actionid = eb716b60-6107-4d63-a2b7-be9ad329e09e1735090856834
y = 4
height = 19
}

customization {
orientation = top-left
hidden = true
x = 2
width = 122
action = deep_customization_element:title_screen_branding
actionid = a7644cd8-8e14-40a0-b9a9-51a7f8ef46a41735090856841
y = 447
height = 60
}

customization {
orientation = top-left
hidden = false
x = 791
width = 168
action = deep_customization_element:title_screen_forge_copyright
actionid = 098c2e9c-d1af-474b-9cd4-09b61bcde18e1735090856842
y = 489
height = 9
}

customization {
orientation = top-left
hidden = true
x = 583
width = 13
action = deep_customization_element:title_screen_realms_notification
actionid = 1f2a883a-fd90-4923-b808-252d1f25f0681735090856843
y = 227
height = 13
}

customization {
orientation = top-left
hidden = true
x = 343
width = 274
action = deep_customization_element:title_screen_logo
actionid = 4a1f3376-bf2f-481c-9432-7dabcf0054af1735090856843
y = 30
height = 52
}

customization {
orientation = original
splash_color = #ffff00
hidden = true
x = 0
width = 60
splash_rotation = -20
action = deep_customization_element:title_screen_splash
actionid = 247be986-a2bc-4051-9d8a-5eb113ae7f761735090856844
y = 0
height = 30
}

customization {
path = resources/mainmenu/bottom_right-5.png
orientation = bottom-right
x = -166
width = 168
actionid = 4897be94-6cb5-4c59-99f9-c021d77ea1d31643712367862
action = addtexture
y = -24
height = 23
}

customization {
orientation = mid-right
restartbackgroundanimations = true
buttonaction = opengui;net.minecraft.client.gui.GuiWorldSelection%btnaction_splitter_fm%
backgroundhovered = resources\mainmenu\singleplayer_hovered-7.png
label =
loopbackgroundanimations = true
x = -210
width = 100
action = addbutton
actionid = 278792db-409e-4e52-ba9a-ed65c396f0591643638749659
y = -42
backgroundnormal = resources\mainmenu\singleplayer-7.png
height = 40
}

customization {
orientation = mid-right
restartbackgroundanimations = true
buttonaction = opengui;net.minecraft.client.gui.GuiMultiplayer%btnaction_splitter_fm%
backgroundhovered = resources\mainmenu\multiplayer_hovered-9.png
label =
loopbackgroundanimations = true
x = -105
width = 100
action = addbutton
actionid = cd71c2e4-20ab-4e90-a5db-46171a4fd4e81643639866080
y = -42
backgroundnormal = resources\mainmenu\multiplayer-10.png
height = 40
}

customization {
orientation = mid-right
restartbackgroundanimations = true
buttonaction = opengui;net.minecraftforge.fml.client.GuiModList%btnaction_splitter_fm%
backgroundhovered = resources\mainmenu\mods_hovered_small-3.png
label =
loopbackgroundanimations = true
x = -105
width = 100
action = addbutton
actionid = 5985282b-45d0-40bc-9bf5-94b26dfc6a011643642753648
y = 3
backgroundnormal = resources\mainmenu\mods_small-2.png
height = 40
}

customization {
path = resources/mainmenu/bottem_left-10.png
orientation = bottom-left
x = -3
width = 162
actionid = 38650046-70bf-4d51-93a8-774fb02e819e1643691553137
action = addtexture
y = -55
height = 56
}

customization {
orientation = mid-right
restartbackgroundanimations = true
buttonaction = opengui;net.minecraft.client.gui.GuiOptions%btnaction_splitter_fm%
backgroundhovered = resources\mainmenu\settings_hovered_small-2.png
label =
loopbackgroundanimations = true
x = -210
width = 100
action = addbutton
actionid = b5b1e478-c2e7-4e45-b50a-ceddc5e022371643644520369
y = 3
backgroundnormal = resources\mainmenu\settings_small-2.png
height = 40
}

customization {
orientation = mid-right
restartbackgroundanimations = true
buttonaction = opengui;net.minecraft.client.gui.GuiLanguage%btnaction_splitter_fm%
backgroundhovered = resources\mainmenu\language_hovered-5.png
label =
loopbackgroundanimations = true
x = -210
width = 100
action = addbutton
actionid = d6bae89e-db9e-4cc4-b26c-a6777912b2171643647018377
y = 48
backgroundnormal = resources\mainmenu\language-4.png
height = 40
}

customization {
orientation = mid-right
restartbackgroundanimations = true
buttonaction = quitgame;%btnaction_splitter_fm%
backgroundhovered = resources\mainmenu\exit_hovered-6.png
label =
loopbackgroundanimations = true
x = -105
width = 100
action = addbutton
actionid = c062274e-d4af-4602-b91f-7166946cba3d1643648199983
y = 48
backgroundnormal = resources\mainmenu\exit-5.png
height = 40
}

customization {
orientation = bottom-left
shadow = false
x = 18
actionid = 40200b7b-5394-4da5-a732-22a89cd53edc1643688218181
action = addtext
y = -44
scale = 1.0
alignment = left
value = §aHello! §b%playername%!
}

customization {
orientation = bottom-left
shadow = false
x = 18
actionid = 5cc09a63-8df3-4759-a86c-da3c61a0a6e81643691247520
action = addtext
y = -34
scale = 1.0
alignment = left
value = §bStarrynight §bPray§e ★
}

customization {
orientation = bottom-left
shadow = false
x = 18
actionid = cbaf945d-3152-403b-8d09-200ee385f7ee1643691332437
action = addtext
y = -24
scale = 1.0
alignment = left
value = §aForge Version: §b%version:forge%
}

customization {
orientation = bottom-left
shadow = false
x = 18
actionid = ab33ee37-b0a6-467c-9c0a-a54edc1682af1643691373137
action = addtext
y = -14
scale = 1.0
alignment = left
value = §aLoaded §b%loadedmods% §aMods
}

customization {
orientation = mid-right
restartbackgroundanimations = true
buttonaction = opencustomgui;creatorlist%btnaction_splitter_fm%
backgroundhovered = resources\mainmenu\creators_button_hovered-1.png
description = &aClick to see the list of integration package creators.
label =
loopbackgroundanimations = true
x = -255
width = 40
action = addbutton
actionid = cba1e953-4dcb-4d5b-85c9-122de60999e11643699165739
y = 48
backgroundnormal = resources\mainmenu\creators_button-1.png
height = 40
}

customization {
orientation = top-left
basecolor = #00FF7F
shadow = true
splashfilepath = resources\mainmenu\splashes.txt
rotation = -20.0
x = 200
actionid = fc515916-63b6-4cab-bb57-aa83311604591643702244839
action = addsplash
y = 70
scale = 1.0
refresh = true
bouncing = true
}

Loading

0 comments on commit 122a5fb

Please sign in to comment.