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"
}