Links
Tags
Creators
Details
All versions
1.0.1
Release
PackItems v1.0.1 - DX-Focused API Update4 months ago 95
Compatibility
Minecraft: Java Edition
1.21.x
Platforms
Bukkit
Paper
Purpur
Spigot
Changes
[1.0.1] - DX-Focused API Update
Added
- Code-first
PackItemsAPIfor registering and unregistering items, actions, triggers, and listeners. - Trigger hook support for observing item dispatch from code.
- API methods for managing custom action factories without editing YAML.
- Cleaner plugin lifecycle integration for API initialization and teardown.
Changed
- Added a developer-oriented extension layer on top of the existing item and trigger system.
- Improved trigger routing to support both specific click variants and global click handling.
- Extended action dispatch so shared click behavior can be routed alongside detailed click triggers.
- Kept the release focused on developer experience rather than gameplay content changes.
Fixed
- Corrected API-facing registry and listener lifecycle handling.
- Fixed click routing so right-click and left-click can be handled consistently across air, block, sneaking, and entity contexts.
- Fixed listener cleanup to support safe unregistering during reloads and shutdown.
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:Y7KYEsqT:ajZ5bzLJ"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:Y7KYEsqT:ajZ5bzLJ"
}

