FastAsyncWorldEdit

FastAsyncWorldEdit

245k Downloads

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

Closed this issue ยท 1 comments

commented

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

commented

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