Switch items in hands event?

Is there any way to detect someone switching the items they have in their hands when a player presses f (or an other keybind) in API version 5.x.x?
I tried ChangeInventoryEvent and ClickInventoryEvent and both didnt fire.

2 Likes

Missing 1.9 events · Issue #1282 · SpongePowered/SpongeAPI · GitHub seems like no activity so far.

1 Like

Does ChangeInventoryEvent.Held not trigger?

Nope it doesnt, i tried Change InventoryEvent.Held, .Transfer and eventually just ChangeInventoryEvent and none fire.

Bummer. I would post a comment on that issue see if you can get an update on its status

Already done, thanks.

1 Like