Links
Tags
Creators
Details
All versions
1.0.0
Release
advanced_interaction_events 1.0.0last month 39
Compatibility
Minecraft: Java Edition
26.2
Platform
Fabric
Supported environments
Server-side
Singleplayer
Changes
v1.0.0
Initial release of Advanced Interaction Events.
Features
- Added the
EventHandlerTyperegistry for registering custom event handler types. - Added codec-based
EventDataserialisation with atypediscriminator, allowing event payloads to be encoded and decoded through Minecraft's data-serialisation system. - Added server-side handling for custom click-action packets. Registered event handlers can implement
ClickActionHandlerto receive decoded click events for a player. - Added the built-in
advanced_interaction_events:secret_commandevent handler, which executes a configured command as the player who triggered the event. - Added error logging and player-facing command syntax errors for invalid or malformed custom click-action payloads and commands.
- Added
EventDataEncodersfor serialising events to NBT or chat ClickEvents or Dialog StaticActions.
Compatibility
- Minecraft
26.2 - Fabric Loader
0.19.5or newer - Java
25or newer
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:bSQ5escX:hKWy12nK"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:bSQ5escX:hKWy12nK"
}

