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.
Name | Description | Type | Default Value |
---|---|---|---|
instruments | The instruments to pick from if the minecraft:instrument item stack component is not present. | An instrument tag |
{ "instruments": "minecraft:goat_horns" }