Advanced Interaction Events
A Minecraft library for registering and handling custom interaction events, including click actions and other player interactions. Useful for when working with Minecraft's Dialog framework and custom event handling.
Features
- Flexible event handler types using the
EventHandlerTyperegistry, preventing event handler conflicts. - Codec-based
EventDataserialisation for user specified event data, instead of manual NBT parsing. - Server-side event handler dispatch for custom click-action packets, avoiding the need for hardcoded mixins.
Roadmap
- Add support for custom text click events.
- Allow entity interaction events to be registered and handled.
Compatibility
This library is compatible with Minecraft 26.2, Fabric Loader 0.19.5 or newer, and Java 25 or newer.
Usage
For demonstration on how to use this library, check my Enhanced Lobby mod.
License
This project is license under the GNU Lesser General Public License v3.0 or later. See the LICENSE file for more details.
No gallery available for this project.
| Version | Minecraft | Loader | Download |
|---|---|---|---|
|
advanced_interaction_events 1.0.0 1.0.0 |
26.2
|
fabric
|
Download |