[SPIGOT-1559] Two New Events for Player Actions Created: 01/Mar/16 Updated: 01/Mar/16 Resolved: 01/Mar/16 |
|
Status: | Resolved |
Project: | Spigot |
Component/s: | None |
Affects Version/s: | None |
Fix Version/s: | None |
Type: | New Feature | Priority: | Minor |
Reporter: | Nick B. | Assignee: | Unassigned |
Resolution: | Duplicate | Votes: | 1 |
Labels: | 1.9 |
Description |
I found that if you tapped the jump button (spacebar) while in midair from jumping, you would perform a glide effect. I also found code PlayerConnection.class that suggests that Spigot is fully capable of intercepting packets for both the jump-glide feature, and swapping of main hand/off hand items. Could these events possibly be added (ex: "PlayerStartFallFlyingEvent", "PlayerSwapHandsEvent")? |
Comments |
Comment by md_5 [ 01/Mar/16 ] |
|
Comment by Sasha [ 01/Mar/16 ] |
Switching items from main hand to offhand and vice versa using the shortcut key should be part of the InventoryClickEvent. |
Comment by Tee slat [ 01/Mar/16 ] |
And shield raising events... |