BTC Quest Item Audience
Forces players to keep an item in their inventory with full control
Fields
| Field | Type | Default | Description |
|---|---|---|---|
item | Var<Item> | — | — |
consumable | Boolean | false | If true, the item can be consumed. If false, consumption is blocked. |
onConsume | List<Ref<TriggerableEntry>> | empty | Actions to execute when the item is consumed (if consumable is true). |
onInteract | List<Ref<TriggerableEntry>> | empty | Actions to execute when the player interacts with the item. |
interactionTypes | List<BTCItemInteractionType> | — | Types of interaction that trigger the actions.Values:LEFT_CLICKRIGHT_CLICKSHIFT_LEFT_CLICKSHIFT_RIGHT_CLICKALL |
interactCooldown | Long | 10 | Cooldown in ticks for interaction actions. |
unbreakable | Boolean | true | If true, the item will be unbreakable. If false, durability loss is prevented at 1 durability. |