minecraft:record¶
文档版本:1.21.0.24
Record Item Component. Used by record items to play music.
架构¶
minecraft:record:
{
integer "comparator_signal" : opt
number "duration" : opt
string "sound_event" : opt
}
comparator_signal
:integer- Specifies signal strength for comparator blocks to use, from 1 - 13.
duration
:number- Specifies duration of sound event in seconds, float value.
sound_event
:string- Sound event type: 13, cat, blocks, chirp, far, mall, mellohi, stal, strad, ward, 11, wait, pigstep, otherside, 5, relic.