Wiki 9Minecraft Wiki 9Minecraft

Trinkets Data Formats

Java EditionModGuides 3FAQ 10Dependencies 3Related mods 60
DownloadTrinkets Mod

Get the files on 9Minecraft

Contents (4)
  1. Slot Configuration
  2. Entity Configuration
  3. Next guides
  4. More in this wiki

Trinkets is entirely data-driven, meaning slots and entity configurations are handled via JSON files in data packs.

Slot Configuration

Slots are defined in data/<namespace>/trinkets/slots/<name>.json. A slot definition includes: - Icon: The texture used for the slot in the UI. - Priority: Determines the order in which slots appear. - Size: The number of items the slot can hold (usually 1).

Entity Configuration

To determine which entities have access to which slots, Trinkets uses entity files located in data/<namespace>/trinkets/entities/<name>.json. By default, the mod provides a configuration for the player, but any living entity can be assigned trinket slots, allowing for complex mob equipment systems.

{
 "entities": [
 "minecraft:player"
 ],
 "slots": [
 "chest/necklace",
 "hand/ring"
 ]
}