items:item_components:playable
Table of Contents
minecraft:playable
The minecraft:playable
item component allows this item to play an instrument when used.
It also disables the item usage based on the use duration of the instrument.
Fields
Name | Description | Type | Default Value |
---|---|---|---|
instruments | The instruments to pick from if the minecraft:instrument item stack component is not present. | An instrument tag |
Example
{ "instruments": "minecraft:goat_horns" }
items/item_components/playable.txt · Last modified: 2024/04/24 16:50 by errorcraft