promotional bannermobile promotional banner

Trinkets Updated

A data driven accessory mod. Updated fork of trinkets for 1.21.11 and beyond.
Back to Files

trinkets 4.1.0+26.2

File nametrinkets-4.1.0+26.2.jar
Uploader
PatboxPatbox
Uploaded
Sep 4, 2026
Downloads
174
Size
647.8 KB
Mod Loaders
FabricNeoForge
File ID
8808625
Type
R
Release
Supported game versions
  • 26.2

Curse Maven Snippet

Fabric

modImplementation "curse.maven:trinkets-updated-1509777:8808625"

NeoForge

implementation "curse.maven:trinkets-updated-1509777:8808625"

Learn more about Curse Maven

What's new

  • Added new events:
    • TrinketModifySlotCountCallback - Allows you to easily modify the Trinket inventory's slot count dynamically. Server only!
    • TrinketSlotCountChangedCallback - Triggered after slot count was changed!
    • TrinketEquipmentAttributeModifiersCallback - Allows to provide additional attributes for a given trinket item.
  • New TrinketInventory methods:
    • #updateSlotCount() - Triggers update of the amount of available slots for given inventory.
    • #addSlotCountModifier(AttributeModifier) - Adds slot count attribute modifier.
    • #removeSlotCountModifier(Identifier) - Removes slot count attribute modifier.
  • New TrinketSlotUtils class with these utility methods.
    • #createSlot(TrinketSlotAccess access, int x, int y) - Creates standalone slot for given slot access.
    • #mayPlace(TrinketSlotAccess, ItemStack) - If item can be inserted into given slot.
    • #mayPickup(TrinketSlotAccess, ItemStack) - If item can be picked up from given slot.
    • #isSlotCompatible(TrinketSlotAccess, ItemStack) - Checks if given slot is logically compatible with stack.
    • #isEquipable(TrinketSlotAccess, ItemStack) - Checks if given stack can be equipped.
  • Added /trinkets <entity> <slot> modifiers command, allowing you to easily modify amount of slots at runtime.
  • Added compatibility with Just Enough Items, Roughly Enough Items and Reliable Recipe Viewer's exclusion areas.
  • Fixed removing NBT data with /data command not clearing out Trinkets slots correctly.
  • Added support for exclusion areas for Just Enough Items and Roughly Enough Items.
  • Deprecate TrinketRendererRegistry#getRenderer for removal.
  • Added TrinketRendererRegistry#registerRenderer variant that take a Function<EntityRendererProvider.Context, TrinketRenderer> as it's argument.
  • Command text is now translatable.

This mod has no related projects