-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Description
Hi, I'm trying to create a menu where a player may move around items within the menu, but not between their real inventory.
slot.setClickOptions(
ClickOptions.builder()
.allow(ClickType.LEFT, ClickType.RIGHT)
.allow(
InventoryAction.PICKUP_ONE,
InventoryAction.PICKUP_SOME,
InventoryAction.PICKUP_HALF,
InventoryAction.PICKUP_ALL,
InventoryAction.COLLECT_TO_CURSOR,
InventoryAction.SWAP_WITH_CURSOR,
InventoryAction.PLACE_ONE,
InventoryAction.PLACE_SOME,
InventoryAction.PLACE_ALL
)
.build()
)To do this, I've explicitly allowed a range of Actions, however notably left out InventoryAction.MOVE_TO_OTHER_INVENTORY to leave as denied, however the user is still able to move items between the menu and their inventory.
I may be misunderstanding what InventoryAction.MOVE_TO_OTHER_INVENTORY means.
Thanks!
Metadata
Metadata
Assignees
Labels
No labels