Перейти к содержимому
Mineforgian

Trinkets Updated

A modern data driven accessory mod. Updated fork of trinkets for 1.21.11 and beyond.

Загрузки
161K
Подписчики
122
Обновлён
18 августа 2026 г.
Лицензия
MIT

Опубликован 31 января 2026 г.

Trinkets Updated

A data-driven accessory mod for Minecraft for Fabric and NeoForge modloaders, based on Trinkets by Emi

Image of the Trinkets UI

About

Trinkets adds a slot group and slot system to Minecraft. Slot groups are collections of slots for a certain body part or more vague area. By default, there are 6 slot groups (head, chest, legs, feet, offhand, hand) that can have slots added to them, but more groups can be added if desired. Trinkets' UI is intuitive to use, accessible, and attempts to do away with clutter. Its system means that you'll never have a slot that's not used for anything, as mods request the slots they want.

Features

Model Attachment API

Flexible and designed with compatibility in mind API allowing you to easily render custom trinkets as attached to any body part of any entity based on vanilla model system. This includes compatibility with mods and resource packs such as Entity Model Features and Fresh Animations.

Fully optional Cosmetic Slot support and trinket equipment hiding

Trinkets Updated adds optional support for cosmetic slots and trinket hiding directly into the mod. While by default these features are disabled (as they could feel unfair in multiplayer setting), players in singleplayer, server owners on servers and modpacks makers for all can easily enable it by changing the config file, allowing them to set the desired experience just as they want to.

Configurable styling

While by default Trinkets Updated should look exactly like good old original Trinkets, it exposed multiple styling options, from changing how the slots are positioned, whatever they are hidden or show extra indicators such as slot being compatible with currently held item or show that slot contains more other slots within. Additionally, you can toggle both slot and item tooltips, which can help you to keep the style you wanted. S

Data Driven at it's core

Custom trinkets can be defined with json files via tags or custom components on the items. Additionally, you can easily define the rendering of such trinkets purely with a resource pack. Slots and slot groups are also data driven, making it easy to create and modify them, from their size to mobs which support them. Mods need to declare to use slots before they are accessible to the player, preventing creation of unused ones. You can get some example official datapacks on Modrinth!

Vanilla component and feature support

Trinkets implement a basic support for vanilla features such as glider component, which allows you to enable items using them to be easily turned into a trinket with a simple data pack and a resource pack. Additionally, things such as enchantments should also work fully correctly, giving you bit of that needed flexibility.

Multiplatform without extra dependencies needed

Only dependency needed by Trinkets Updated is local mod loader apis (Fabric API on Fabric, nothing extra on NeoForge). This allows to keep the library slim, easy to port and have minimal effects on other unrelated areas. Trinkets API's themselves were also made to be used in the same way on both Fabric and NeoForge, eliminating requirement of handling integration code separately on both platforms.

Download

You can get this mod from Modrinth, CurseForge or GitHub Releases

Developers

To add Trinkets to your project you need to add these repos to your repositories in your build.gradle

repositories {
	maven {
		name = "Nucleoid"
		url = 'https://maven.nucleoid.xyz/releases'
	}
}

And then to add Trinkets you add it as a dependency in your build.gradle

dependencies {
	implementation "eu.pb4:trinkets:${trinkets_version}"
}

Trinkets works as a universal jar, which means the same jar file can be used for Fabric, NeoForge and common. For optional / conditional compatibility, you can check for trinkets_updated mod id on both platform.

For versions, see https://maven.nucleoid.xyz/#/releases/eu/pb4/trinkets

For basic tutorials and comprehensive documentation, visit this repository's wiki! You can also see the test mod here: https://github.com/Patbox/trinkets/tree/main/src/testmod

Ченджлог

4.0.0-rc.1+26.1Бета26.1, 26.1.1, 26.1.2 · 18 августа 2026 г.
4.1.0-rc.1+26.2Бета26.2 · 18 августа 2026 г.
  • Added support for toggling visibility of Trinkets:
    • It's disabled by default and needs to be enabled by the server to work. Toggling it on client alone (when not in singleplayer) will do nothing.
    • Trinkets will be disabled both locally and for any other player seeing you.
    • This was a requested feature, and while I originally though about making it an addon, decided to just add it direct as default disabled thing.
  • Added support for decorative / cosmetic slots:
    • It's disabled by default and needs to be enabled by the server to work. Toggling it on client alone (when not in singleplayer) will do nothing.
    • Trinkets in this slot won't apply any gameplay effect, instead being just visual.
    • Trinkets in cosmetic slots will override rendering of the one in regular slot.
    • This was a requested feature, and while I originally though about making it an addon, decided to just add it direct as default disabled thing.
  • Reworked Trinket slot logic to no split the slot ids from visual position of slots:
    • This allows more flexibility / future changes, while preventing slot id desyncs.
    • Additionally changed the Force Sidebar option to a Style selector with these options:
      • Default - Classic style of Trinkets, equal to old OFF value,
      • Grouped Sidebar - Sidebar that keeps the slot groups, equal to old ON value,
      • Flat Sidebar - Sidebar, but all slots are visible at all times (NEW!).
  • Added trinkets:any_trinket predicate type for slot definitions.
  • Added option to highlight compatible slots (disabled by default).
  • Added TrinketCanUnequipCallback, matching the equip based one (or canUnequip on TrinketCallback).
  • The data driven rendering is now part of the api, allowing data-generation of related files as well as easy way to add custom logic to it.
  • Lanterns now have a default visuals when put in Belt slot.
  • Bunch of bugfixes, including a crash™

Full Changelog: https://github.com/Patbox/trinkets/compare/4.1.0-beta.3+26.2...4.1.0-rc.1+26.2

4.1.0-beta.3+26.2Бета26.2 · 21 июля 2026 г.

What's Changed

New Contributors

Full Changelog: https://github.com/Patbox/trinkets/compare/4.1.0-beta.2+26.2...4.1.0-beta.3+26.2

4.1.0-beta.2+26.2Бета26.2 · 21 июня 2026 г.
4.0.0-beta.3+26.1Бета26.1, 26.1.1, 26.1.2 · 21 июня 2026 г.
4.1.0-beta.1+26.2Бета26.2-rc-2 · 13 июня 2026 г.
  • 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 over a Tuple<TSA, ItemStack>.
  • Deprecated getEquipped and getAllEquipped methods, 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

4.0.0-beta.2+26.1Бета26.1, 26.1.1, 26.1.2 · 2 июня 2026 г.
  • Fixed game crashing with -Dmixin.debug=true

Full Changelog: https://github.com/Patbox/trinkets/compare/4.0.0-beta.1+26.1...4.0.0-beta.2+26.1

4.0.0-beta.1+26.1Бета26.1, 26.1.1, 26.1.2 · 21 мая 2026 г.

Комментарии

Загружаем…