Request for help with inventories paged-gui click handler #42
-
I would greatly appreciate some assistance with using PagedGui.inventories() to create a paged GUI, which would allow me to browse Inventories with pagination. However, I'm hoping to kindly inquire if it would be possible to prevent players from taking items from the GUI. I seem to be facing some difficulty in locating where to override the onClick(clickHandler?) method. Any help or guidance you could provide would be sincerely valued. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Inventories are generally intended to be modified by players. If you want to display items that cannot be modified, you should use InvUI's UI |
Beta Was this translation helpful? Give feedback.
Inventories are generally intended to be modified by players. If you want to display items that cannot be modified, you should use InvUI's UI
Item
instead. Nevertheless, you can also cancel inventory events, as explained in the documentation: https://docs.xenondevs.xyz/invui/inventory/#inventory-events