minecraft:record

Record Item Component. Used by record items to play music.

Properties

PropertyTypeDefaultWhat it does
sound_eventTextitem.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.
durationDecimal0Specifies duration of sound event in seconds, float value.
comparator_signalInteger1Specifies 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.

Related components