Skip to content
Permalink
Browse files
Add SWAP_OFFHAND click type in inventory_click event
  • Loading branch information
PseudoKnight committed Jun 30, 2020
1 parent 4b7613f commit eba81c002726c8bf1c73ade4efc100843c2b4757
Showing 1 changed file with 5 additions and 0 deletions.
@@ -52,6 +52,11 @@ public enum MCClickType {
* Any action done with the Creative inventory open.
*/
CREATIVE,
/**
* The "swap item with offhand" key (defaults to F).
* Added in 1.16
*/
SWAP_OFFHAND,
/**
* A type of inventory manipulation not yet recognized by Bukkit. This is only for transitional purposes on a new
* Minecraft update, and should never be relied upon.

0 comments on commit eba81c0

Please sign in to comment.