Tags
Creators
Details
Licensed MIT
Published 5 months ago
All versions
4.0.0-alpha.9+26.1
Beta
4.0.0-alpha.9+26.12 months ago 18.1K
Compatibility
Minecraft: Java Edition
26.1.x
Platforms
Fabric
NeoForge
Supported environments
Client and server
Changes
- Added Config Screen to allow dynamic in game modification of Trinkets settings. It's accessible via Mod Menu/List.
- Added Sidebar-only UI Style:
- Rather than having slots inside of other equipment slots, they will shown on the sidebar instead.
- It is optional and disabled by default. It can be enabled in Trinkets config.
- Sidebar size can now be configured.
- Improved compatibility with Entity Model Features mod:
- Applies both api/code and data driven trinket rendering (so won't change for mods not using Trinket's provided utility methods).
- Do note the compatibility isn't perfect and more heavily modified (or vanilla non-conforming) models might show trinkets wrong or not render them at all.
- Most popular packs, such as Fresh Animations (including player addon) will look correctly now through!
- Added support for rendering trinkets in first person:
- It is optional and disabled by default. It can be enabled in Trinkets config.
- Added events for checking if item is compatible with trinket slot and for checking if trinket is equipable.
- Added datagen utilities:
- Allows easily create / configure slot types and entities with data generation.
- See local loader's api for reference.
- You can now set the asset_id field in Trinkets Equipment component.
- Added an option to toggle showing slot names as a tooltip on hover (it's disabled by by default).
- Added an option to toggle Trinket item tooltip (it's enabled by default).
- Max default stack size of trinkets slots is now set to 1 (like equipment slots):
- This can be changed by setting the
max_stack_sizeproperty in slot type definition.
- This can be changed by setting the
- Trinkets are counted within player Inventory contains checks and in case of /clear command.
- Data driven trinket rendering is now exclusive with code driven one.
- Totems of Undying (and other items with death protection component) will now work in Trinkets slots (requires a datapack to enable it).
- Improved the look of Trinket slot indicator option.
- Added support for creation of passive trinkets and slot types that won't apply any effects by default.
- Trinkets can now make players hidden for entities using LivingEntity#PLAYER_NOT_WEARING_DISGUISE_ITEM check for trinkets being in the
minecraft:gaze_disguise_equipmenttag. - Attributes provided via trinkets:attributes component are now unique by default. This behaviour can be toggled by changing the unique field.
- Attributes provided via trinkets:attributes component can now customise the display just like vanilla ones do.
- Fixed new slot predicate format not being read correctly.
- Added support for hidden slots (slots that aren't accessible directly out of default trinkets slots).
- Added injected-interface for ItemStack, adding trinkets-compatible hurtAndBreak method.
- Data driven trinket models definitions can now define the priority, at which they are applied:
- Definition will override the ones with lower or equal priority rather than just based on load order.
- Default models (provided with Trinkets itself) all have priority set to -1000
- API for getting only "renderable" and droppable item stacks from trinket attachment. These apis are primarily intended for improving mod compatibility.
- Fixed compatibility with Controlify mod.
Full Changelog: https://github.com/Patbox/trinkets/compare/4.0.0-alpha.8+26.1...4.0.0-alpha.9+26.1
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:CFk62USu"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:XaT8sLP6:CFk62USu"
}

