Tags
Creators
Details
Licensed MIT
Published 5 months ago
All versions
4.1.0-beta.1+26.2
Beta
4.1.0-beta.1+26.23 weeks ago 235
Compatibility
Minecraft: Java Edition
26.2-rc-2
Platforms
Fabric
NeoForge
Supported environments
Client and server
Changes
- Added new equipped and allEquipped methods, as alternative to deprecated methods below. (Will be backported to 26.1)
- They require the requireActive argument to be provided (checks if trinket is allowed to apply effects) and return List<TrinketSlotAccess> over a Tuple<TSA, ItemStack>.
- Deprecated
getEquippedandgetAllEquippedmethods, as Tuple class they depended on got removed. - (26.2) Provided temporary implementation of Tuple to allow some deprecation period before removal of effected methods.
- NeoForge compatibility is untested and might not work correctly.
Full Changelog: https://github.com/Patbox/trinkets/compare/4.0.0-beta.2+26.1...4.1.0-beta.1+26.2
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:XaT8sLP6:rX80fkNr"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:XaT8sLP6:rX80fkNr"
}

