Skip to content

bs.interaction, bs.component: Modules to create GUI in Minecraft #193

Open
@theogiraudet

Description

@theogiraudet

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)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions