actions:action_types:start_using_item
Table of Contents
minecraft:start_using_item
The minecraft:start_using_item
action lets this
player use an item stack in their hand for the specified duration or until the player stops using the item stack.
The action is unsuccessful if the player does not exist, if the player is already using an item stack or if the hand is not present in the action context.
Fields
Name | Description | Type | Default Value |
---|---|---|---|
ticks | The amount of ticks to use the item stack for. If not specified, the item stack will be used indefinitely. | An optional, positive integer |
Example
{ "type": "minecraft:start_using_item" }
actions/action_types/start_using_item.txt · Last modified: 2024/05/01 14:43 by errorcraft