Gunivers / Bookshelf

đź“š Bookshelf is a modular library datapack designed to simplify complex systems in Minecraft maps. Ideal for mapmakers looking for easy-to-implement tools.
http://bookshelf.docs.gunivers.net
Mozilla Public License 2.0
39 stars 12 forks source link

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

Open theogiraudet opened 4 months ago

theogiraudet commented 4 months ago

Two modules:

The part based on interactions proposes two APIs:

aksiome commented 3 weeks ago

Summary of the discussion with @theogiraudet:

Each event registration function now accepts an executor, which can be any valid selector, removing the need for the concept of icon and linking behaviors.

By default, the selector will not be lazy:

A lazy selector means it won't be converted to a UUID when executing the function, allowing for more dynamic behavior during execution.