Item Count Fact
Thebtc_item_count_fact counts the total quantity of specified custom items currently in the player’s inventory. This is useful for “Fetch” quests or checking requirements.
Type: Readable Fact Entry
ID: btc_item_count_fact
Configuration
| Field | Type | Default | Description |
|---|---|---|---|
itemsToCount | List<String> | [] | List of custom item IDs to include in the count. |
Behavior
- Search includes main inventory, hotbar, and offhand.
- Sums up the stack sizes of all matching items.
- Returns
0if no items matches are found. - Matching is case-insensitive on the Item ID.