consume_held_item
Removes a number of items from the player's main hand.
Categories: inventory
Required arguments
| Key(s) | Description | Type |
|---|---|---|
amount | The number of items to remove from the main hand. Supports expressions. | EXPRESSION |
Trigger parameters required
PLAYER
Example
effects:
- id: consume_held_item
args:
amount: 1
Behaviour
| Setting | Value |
|---|---|
| Run order | NORMAL |
| Supports delay | true |
| Reloads on plugin reload | true |