Open
Description
Two modules:
- One to create menus based on interaction entity
- One to create menus based on the hotbar of a player
The part based on interactions proposes two APIs:
- Listener API - to associate events to interactions
- On hover event
- On enter event
- On leave event
- Left click event
- Right click event
- Component API - abstraction of the Listener API to manipulate GUI components (button…) instead of interaction entity
- Button
- Toggle button
- Group of toggle buttons (only one can be selected)