Skip to content

1.21.5 - clickEvent not updated to click_event (same for hoverEvent) #3179

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
2 tasks done
Stoupy51 opened this issue Apr 20, 2025 · 1 comment · Fixed by #3184
Closed
2 tasks done

1.21.5 - clickEvent not updated to click_event (same for hoverEvent) #3179

Stoupy51 opened this issue Apr 20, 2025 · 1 comment · Fixed by #3184
Labels
Approved Added if an issue has been approved by a maintainer Bug Something isn't working upstream issue Something is broken in WorldEdit as well

Comments

@Stoupy51
Copy link

Stoupy51 commented Apr 20, 2025

Server Implementation

Paper

Server Version

1.21.5

Describe the bug

Same as EngineHub/WorldEdit#2756

Since 1.21.5, the clickEvent key in text components has been updated to click_event, same for hoverEvent to hover_event.
It seems like you didn't updated yet the //schem list command as there are no click or hover events working.

Image

From the Minecraft 1.21.5 changelog:

Hover Events

    The hoverEvent field has been renamed to hover_event
    The legacy value field (which was parsed from a rendered text component) is no longer supported
    For the show_text action:
        The contents field has been renamed to value
        e.g. {action:'show_text',contents:'Hello world'} becomes {action:'show_text',value:'Hello world'}
    For the show_item action:
        The contents field has been inlined
        e.g. {action:'show_item',contents:{id:'minecraft:stick',count:2}} becomes {action:'show_item',id:'minecraft:stick',count:2}
        If contents was specified only as an item id, it is replaced with the full format and inlined
        e.g. {action:'show_item',contents:'minecraft:stick'} becomes {action:'show_item',id:'minecraft:stick'}
    For the show_entity action:
        The contents field has been inlined
        The id field has been renamed to uuid
        The type field has been renamed to id
        e.g. {action:'show_entity',contents:{id:[I;0,0,0,0],type:'minecraft:pig'}} becomes {action:'show_entity',uuid:[I;0,0,0,0],id:'minecraft:pig'}

Click Events

    The clickEvent field has been renamed to click_event
    For the open_url action:
        The value field has been renamed to url
        The click event will no longer parse if not a valid URI with either https:// or http:// schemes, instead of simply not working
        e.g. {action:'open_url',value:'https://minecraft.net'} becomes {action:'open_url',url:'https://minecraft.net'}
    For the run_command action:
        The value field has been renamed to command
        The click event will no longer parse if the command contains disallowed characters, instead of simply not working
        It is no longer required that the specified command field has a / prefix
        e.g. {action:'run_command',value:'/tp @e @s'} becomes {action:'run_command',command:'/tp @e @s'}
    For the suggest_command action:
        The value field has been renamed to command
        The click event will no longer parse if the command contains disallowed characters, instead of simply not working
        e.g. {action:'suggest_command',value:'/help'} becomes {action:'suggest_command',command:'/help'}
    For the change_page action:
        The value field has been renamed to page
        The page value now requires a positive integer instead of a string
        e.g. {action:'change_page',value:'1'} becomes {action:'change_page',page:1}
    The copy_to_clipboard format is unchanged

To Reproduce

  1. //schem list
  2. Move your mouse

Expected behaviour

We should be able to change pages and load schematic by clicking

Screenshots / Videos

No response

Error log (if applicable)

No response

Fawe Debugpaste

Not necessary but: https://athion.net/ISPaster/paste/view/e0164f19de574350b46ffe79319ac50f

Fawe Version

FastAsyncWorldEdit 2.13.1-SNAPSHOT-1092;4af1b8b

Checklist

Anything else?

No response

@Stoupy51 Stoupy51 added the Requires Testing This is a new issue which needs to be approved before labeled with "bug" label Apr 20, 2025
@dordsor21 dordsor21 added Bug Something isn't working Approved Added if an issue has been approved by a maintainer upstream issue Something is broken in WorldEdit as well and removed Requires Testing This is a new issue which needs to be approved before labeled with "bug" labels Apr 26, 2025
@brambora69123
Copy link

same issue for worldguard menus, i cant set my flags, owners, members, go through pages, using the gui
i have to set everything using commands which is pretty inconvenient since theres so many flags

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Approved Added if an issue has been approved by a maintainer Bug Something isn't working upstream issue Something is broken in WorldEdit as well
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants