Tags
Creators
Details
All versions
2.4.0
Release
AdriAPI 2.4.02 years ago 36
Compatibility
Minecraft: Java Edition
1.21–1.21.4
1.20.x
1.19.x
1.18.x
1.17.x
Platforms
Folia
Paper
Purpur
Changes
Full Changelog: https://github.com/Adrigamer2950/AdriAPI/compare/2.3.0...2.4.0
Changelog (Main changes)
- fix: Include libby and folia module as api dependencies (https://github.com/Adrigamer2950/AdriAPI/commit/de7d276f6f6aca033a9dae0a4c8bbb5789b7f040)
- feat: Centralize all downloaded libraries into AdriAPI folder (https://github.com/Adrigamer2950/AdriAPI/commit/339912e19ffc66aeff5ef912cf73bad61506a236)
- feat: Add Inventory object to lambda functions in onInventoryClick and onInventoryClose methods (https://github.com/Adrigamer2950/AdriAPI/commit/1aaa430918b90f13f8dd4d49f1ff6e711bae35fb)
- feat!: plugin object in Inventory (https://github.com/Adrigamer2950/AdriAPI/commit/f000ae8ce1ed8bbe6477af6b4d2303095c84471f)
- feat!: Remove ItemCraftedEvent (in favor of CraftItemEvent) (https://github.com/Adrigamer2950/AdriAPI/commit/518012ab40c583e8f5366b17835921983675c4d5)
- Add User#getBukkitSender (https://github.com/Adrigamer2950/AdriAPI/commit/a81e12e5eb39e51e308333dce1419d731f6a43b5)
- Add User#console (https://github.com/Adrigamer2950/AdriAPI/commit/3bbb03119f573bd652237b645c6b8ad4f9b371b1)
- Totally rewritten Command API (https://github.com/Adrigamer2950/AdriAPI/commit/92492c0a6c544185414ad4ad5fdf96212ac0efcf)
- Refactor folia module as api sub-module (https://github.com/Adrigamer2950/AdriAPI/commit/9a8cf6147e61052b80d880d99a586b72a897454a)
- Check if ScheduledTask is cancelled (https://github.com/Adrigamer2950/AdriAPI/commit/5f31244d3fba8f5859675dd80f79ec73005219e8)
- Kotlin migration (#18) (https://github.com/Adrigamer2950/AdriAPI/commit/bd5316d2f1beb429b0f05c6b85959ee4a927c87d)
- Expose JavaPlugin secondary constructor (deprecated) in APIPlugin (https://github.com/Adrigamer2950/AdriAPI/commit/51edca39f800f5730a66584e12266f55a76338c9)
- Custom Persistent Data Types (https://github.com/Adrigamer2950/AdriAPI/commit/fed522a3dd377602dad0388744a87ae2bb622b8d)
- Logger rework (https://github.com/Adrigamer2950/AdriAPI/commit/363fe12abbf0e8dadfd74f1133ade704be711732)
- ClassUtil object (https://github.com/Adrigamer2950/AdriAPI/commit/c315512095e3a4075e9fa3d15446c7c7e6bde850)
- Move InventoriesListener to api.internal package (https://github.com/Adrigamer2950/AdriAPI/commit/d6379f8baa75a7f20da269e7ca6b0f79718193c2)
- Register InventoriesListener in APIPlugin (https://github.com/Adrigamer2950/AdriAPI/commit/7a121f87ddddd4daee43795aa9967ad11dc0252b)
- Load hooks when enabling plugin (https://github.com/Adrigamer2950/AdriAPI/commit/e367ab573b84dcfc961c18c3783c62a1b9d65c78)
- Add ItemStack#toItemBuilder (https://github.com/Adrigamer2950/AdriAPI/commit/edc3e831d1ccd9f763ad878e526daeb8c1e45125)
- Add function to add persistent data from ItemBuilder (https://github.com/Adrigamer2950/AdriAPI/commit/5a18e686386230506bb4cfb8cd068ddfd103aef7)
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:kqdGqP6X:LGilfyXe"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:kqdGqP6X:LGilfyXe"
}

