This enum: https://github.com/GeyserMC/MCProtocolLib/blob/master/protocol/src/main/java/org/geysermc/mcprotocollib/protocol/data/game/inventory/MoveToHotbarAction.java Has the issue, that there are too few possible values. According to the protocol documentation any value between 0-40 is allowed on the protocol level:  https://minecraft.wiki/w/Java_Edition_protocol#Click_Container
This enum: https://github.com/GeyserMC/MCProtocolLib/blob/master/protocol/src/main/java/org/geysermc/mcprotocollib/protocol/data/game/inventory/MoveToHotbarAction.java

Has the issue, that there are too few possible values. According to the protocol documentation any value between 0-40 is allowed on the protocol level:
https://minecraft.wiki/w/Java_Edition_protocol#Click_Container