Trinket Slot Id
Main Menu |
---|
Inventory slots refer to a unique equipment or bag slot.
- For equipment, slot names are resolved to a slot id constant with GetInventorySlotInfo(). This gives Blizzard more flexibility to change slot ids.
- InventorySlotName also doubles as a GlobalString
Equipment
Example: prints the InventorySlotId for an InventorySlotName, and the related globalstring and constant.
Trinket Slot Number Wow
InvSlotName GlobalString (enUS) | InvSlotId | Constant | |
---|---|---|---|
AMMOSLOT | Ammo | 0 | INVSLOT_AMMO |
HEADSLOT | Head | 1 | INVSLOT_HEAD |
NECKSLOT | Neck | 2 | INVSLOT_NECK |
SHOULDERSLOT | Shoulders | 3 | INVSLOT_SHOULDER |
SHIRTSLOT | Shirt | 4 | INVSLOT_BODY |
CHESTSLOT | Chest | 5 | INVSLOT_CHEST |
WAISTSLOT | Waist | 6 | INVSLOT_WAIST |
LEGSSLOT | Legs | 7 | INVSLOT_LEGS |
FEETSLOT | Feet | 8 | INVSLOT_FEET |
WRISTSLOT | Wrist | 9 | INVSLOT_WRIST |
HANDSSLOT | Hands | 10 | INVSLOT_HAND |
FINGER0SLOT | Finger | 11 | INVSLOT_FINGER1 |
FINGER1SLOT | Finger | 12 | INVSLOT_FINGER2 |
TRINKET0SLOT | Trinket | 13 | INVSLOT_TRINKET1 |
TRINKET1SLOT | Trinket | 14 | INVSLOT_TRINKET2 |
BACKSLOT | Back | 15 | INVSLOT_BACK |
MAINHANDSLOT | Main Hand | 16 | INVSLOT_MAINHAND |
SECONDARYHANDSLOT | Off Hand | 17 | INVSLOT_OFFHAND |
RANGEDSLOT | Ranged | 18 | INVSLOT_RANGED |
TABARDSLOT | Tabard | 19 | INVSLOT_TABARD |
The Demon Heart is an Expert Mode and Master Mode consumable item from the Treasure Bag dropped by the Wall of Flesh. It permanently grants the player an extra accessory slot, for use only within Expert and Master worlds. This effect does not stack and may only be used once per player. If a player opens the Wall of Flesh's Treasure Bag after they have already consumed a Demon Heart, another. Trinkets is built using Fabric, it will not work on Forge. Trinkets adds modular accessory system to Minecraft. Slot groups are collections of slots for a certain body part. By default there are 6 slot groups (head, chest, legs, feet, hand, offhand) that can have slots added to them, but more groups can be added if.
Bags
There are also InvSlotNames for each bag.
InvSlotName | InvSlotId |
---|---|
BAG0SLOT | 20 |
BAG1SLOT | 21 |
BAG2SLOT | 22 |
BAG3SLOT | 23 |
Slot ids for bags and containers are returned from ContainerIDToInventoryID()
ID | Classic | Retail | Description |
---|---|---|---|
1st character bag | |||
2nd character bag | |||
3rd character bag | |||
4th character bag | |||
bank slots (classic: 24, retail: 28) | |||
1st bank bag | |||
2nd bank bag | |||
3rd bank bag | |||
4th bank bag | |||
5th bank bag | |||
6th bank bag | |||
7th bank bag |
Generic bank containers
Slot ids for the stock containers in the bank are returned from BankButtonIDToInvSlotID()
Trinket Slot Ideas
Patch changes
- Patch 8.3.0 (2020-01-14): Slot ids for bank bags start from 80 instead of 76.