main-menu-credits icon indicating copy to clipboard operation
main-menu-credits copied to clipboard

Update wiki to reflect new changes from 1.21.5 update

Open RoonMoonlight opened this issue 8 months ago • 2 comments

Hello, so there seems to be a changes as of 1.21.5 update, and for some reason hover and open url is not working properly. It is confirmed that it works on 1.21.4, but not 1.21.5.

I have following configuration on my config file: https://gist.github.com/RoonMoonlight/0469fe8d4a33900fb438282beec395be

This is what should have been when you hover and click on it: Image Image

This is what happens when you try to do the same in 1.21.5: Image

(Hovering and clicking does not work, you can confirm it with the configuration I sent you above)

RoonMoonlight avatar Apr 01 '25 12:04 RoonMoonlight

Main Menu Credits should not to be blame. In Minecraft 1.21.5 the Text component fromat has changed, and it's none of the business of the mod, just modify your config format.

Fungus-00 avatar May 06 '25 06:05 Fungus-00

Main Menu Credits should not to be blame. In Minecraft 1.21.5 the Text component fromat has changed, and it's none of the business of the mod.

Yeah I have noticed this changes, and changing to new format solved it for me so I will update issue title to be more accurate

June 22, 2025 UPDATE: Solution

It should look like this:

{
    "main_menu":
    {
        "bottom_right": [
            {
                "text":"QuantuMiz 3.4 for MC 1.21.6 \"Ptah\"",
                "color":"#D4AF37",
                "click_event":
                {
                    "action":"open_url",
                    "url":"https://modrinth.com/modpack/quantumiz"
                }
            }
        ]
    }
}

Replace following syntax with new one:

  • "clickEvent" → "click_event"
  • "value" → "url"

RoonMoonlight avatar May 06 '25 06:05 RoonMoonlight