From 669051a8feefc93626889477512af23ad9cc5124 Mon Sep 17 00:00:00 2001 From: Wroclaw Date: Fri, 4 Aug 2023 02:31:04 +0200 Subject: [PATCH] Add VMU version back to main menu replaces slight gui modifications with main menu credits :<, it will be missed --- config/isxander-main-menu-credits.json | 24 ++++++++ config/slightguimodifications/config.json5 | 65 ---------------------- config/slightguimodifications/cts.groovy | 29 ---------- index.toml | 17 +++--- mods/main-menu-credits.pw.toml | 13 +++++ pack.toml | 2 +- 6 files changed, 47 insertions(+), 103 deletions(-) create mode 100644 config/isxander-main-menu-credits.json delete mode 100644 config/slightguimodifications/config.json5 delete mode 100644 config/slightguimodifications/cts.groovy create mode 100644 mods/main-menu-credits.pw.toml diff --git a/config/isxander-main-menu-credits.json b/config/isxander-main-menu-credits.json new file mode 100644 index 0000000..b42e65e --- /dev/null +++ b/config/isxander-main-menu-credits.json @@ -0,0 +1,24 @@ +{ + "main_menu": { + "top_left": [], + "top_right": [], + "bottom_left": [ + { + "text": "VMU 1.3.0", + "clickEvent": { + "action": "open_url", + "value": "https://git.proot.pl/Wroclaw/VMU" + } + } + ], + "bottom_right": [], + "mod_blacklist": [] + }, + "pause_menu": { + "top_left": [], + "top_right": [], + "bottom_left": [], + "bottom_right": [], + "mod_blacklist": [] + } +} \ No newline at end of file diff --git a/config/slightguimodifications/config.json5 b/config/slightguimodifications/config.json5 deleted file mode 100644 index a92a555..0000000 --- a/config/slightguimodifications/config.json5 +++ /dev/null @@ -1,65 +0,0 @@ -{ - "fluidAdvancements": true, - "fluidStatusEffects": false, - // Whether we should unlimit the hard 60 fps limit placed on the title screen. - "unlimitTitleScreenFps": true, - "openingAnimation": { - "fluidChatOpening": true, - "fluidOpenSlideFromBottom": false, - "fluidOpenFade": false, - "fluidAnimationDuration": 400, - "affectsGameMenus": true, - "affectsInventories": true, - "ignoreSlideWhenRedirected": true, - "ignoreFadeWhenRedirected": false - }, - "textFieldModifications": { - // Whether this module is enabled. - "enabled": false, - /* Set to Color to use the Border and Background Color. - Set to Texture to use resource pack: - /assets/minecraft/textures/gui/text_field.png - - More documentations on website. - */ - "backgroundMode": "COLOR", - "borderColor": 10526880, - "backgroundColor": 0, - "selectionMode": "INVERT", - // Whether Text Fields should allow right click actions. - "rightClickActions": false - }, - "sliderModifications": { - // Whether this module is enabled. - "enabled": false, - "grabberWidth": 8, - /* Whether to use custom texture: - /assets/slightguimodifications/textures/gui/slider(_hovered).png - or - /config/slightguimodifications/slider(_hovered).png - */ - "customBackgroundTexture": false - }, - "debugInformation": { - "showFps": false - }, - "customScaling": { - "vanillaScaleSlider": false, - "scale": 1.0 - }, - "slotHighlight": { - // Whether this module is enabled. - "enabled": false, - "color": -2130706433 - }, - "tooltipModifications": { - // Whether this module is enabled. - "enabled": false, - "backgroundColor": -267386864, - "outlineGradientTopColor": 1347420415, - "outlineGradientBottomColor": 1344798847 - }, - // Whether GUI should allow right click actions. - "rightClickActions": true, - "satisfyingScreenshots": true -} \ No newline at end of file diff --git a/config/slightguimodifications/cts.groovy b/config/slightguimodifications/cts.groovy deleted file mode 100644 index ca41f95..0000000 --- a/config/slightguimodifications/cts.groovy +++ /dev/null @@ -1,29 +0,0 @@ -mainMenu { - enabled = true - - splashText { - enabled = false - splashesEnabled = true - customSplashes { - enabled = false - applyMode = "append" - defineCustom([ - "h", - ]) - } - } - - label { - position { - x = 2 - y { it - 32 } - } - - text = literal("VMU 1.2.0") - align = "left" - color = 0xffffff - shadow = true - hoveredColor = 0xabcdef - onClicked = url("https://amiro.ivi.pl/repoea/Wroclaw/VMU") - } -} diff --git a/index.toml b/index.toml index c8de5a0..4a2c407 100644 --- a/index.toml +++ b/index.toml @@ -36,6 +36,10 @@ hash = "04eebdc422a5555ac806fecd5793ec52ee00f175ed2efa431721170eaeb4dbca" file = "config/inventoryprofilesnext/inventoryprofiles.json" hash = "38e71a8b0a52b4fef2b1fa418d3bf2336b67992ed01f93a2ad469d68e1097cd2" +[[files]] +file = "config/isxander-main-menu-credits.json" +hash = "17cfb7c966ba5cbe7e8fb50d3af8de3ae6ebf8c112e2d31073d0b1d8bc4ef94e" + [[files]] file = "config/malilib.json" hash = "c7486c0c1e198b7227066f1926389117aab9d4705aca3911ed3aceb450669e4b" @@ -60,14 +64,6 @@ hash = "00adc361d80a7854032d81b69d5368951181004c747399362b80b700f9ad4690" file = "config/shulkerboxtooltip.json5" hash = "2d7668cfa3ce58578952b09f03d2e02ad77558761480fe6479947bee0c2c7706" -[[files]] -file = "config/slightguimodifications/config.json5" -hash = "58045fce3fcba01c65506f8aa90edcae5f6c129aeb9a00fd5309b88cf0365926" - -[[files]] -file = "config/slightguimodifications/cts.groovy" -hash = "913b5130ec57d35f0e59e32469b8ed2e8799a6a75f85b2a2bf78b24f5bb576de" - [[files]] file = "config/yosbr/config/ibeeditor-common.json" hash = "d1c8229edca827ea5e35e9a0a5aec1463930e77547e69a1a5dee617f42a2d338" @@ -180,6 +176,11 @@ file = "mods/libipn.pw.toml" hash = "b7d04fcd38f84af79e1733f2f4912df51f40dbd5d196f5d6bbadce586b52136b" metafile = true +[[files]] +file = "mods/main-menu-credits.pw.toml" +hash = "2a79f7fb98b7073c926c6f87a93473f5714cf82a2ace7f344e4e2de4a33e0233" +metafile = true + [[files]] file = "mods/malilib.pw.toml" hash = "bbb5295f893cf4e84c400325a6c0033d755d6a2773ed4e2861fe2a438aac8222" diff --git a/mods/main-menu-credits.pw.toml b/mods/main-menu-credits.pw.toml new file mode 100644 index 0000000..4774d8a --- /dev/null +++ b/mods/main-menu-credits.pw.toml @@ -0,0 +1,13 @@ +name = "Main Menu Credits" +filename = "main-menu-credits-1.1.2.jar" +side = "client" + +[download] +url = "https://cdn.modrinth.com/data/qJDfP7WN/versions/hWX5REu6/main-menu-credits-1.1.2.jar" +hash-format = "sha1" +hash = "771eb704928c6d3e9fdf0e7971ba7d97305e09dd" + +[update] +[update.modrinth] +mod-id = "qJDfP7WN" +version = "hWX5REu6" diff --git a/pack.toml b/pack.toml index 557f7be..d4d1e42 100644 --- a/pack.toml +++ b/pack.toml @@ -6,7 +6,7 @@ pack-format = "packwiz:1.1.0" [index] file = "index.toml" hash-format = "sha256" -hash = "b464d28c9de283f6fd7de3960adfff35dfaa7ba45007cf415d752764b94729c1" +hash = "b284eb748cdc8a2082b28910c11d43a1ae3b1cc0163c3a207862e6d6300db8dc" [versions] minecraft = "1.20.1"