minecraft:record
Record Item Component. Used by record items to play music.
Properties
| Property | Type | Default | What it does |
|---|---|---|---|
sound_event | Textitem.use.on, hit, step, step.baby, fly, jump, jump.prevent, break, place, heavy.step, gallop, fall, hurt, hurt.baby, hurt.in.water, death, death.baby, death.in.water, death.to.zombie, ambient, ambient.baby, ambient.in.water, ambient.in.air, ambient.tame … | "undefined" | Sound event type: 13, cat, blocks, chirp, far, mall, mellohi, stal, strad, ward, 11, wait, pigstep, otherside, 5, relic. |
duration | Decimal | 0 | Specifies duration of sound event in seconds, float value. |
comparator_signal | Integer | 1 | Specifies signal strength for comparator blocks to use, from 1 - 13. |
Used by
No vanilla item file in the official samples uses this component. It is still part of the schema, so add-ons can use it.