Block_Coffin_Open
Server/Item/Interactions/Block/Coffin/Block_Coffin_Open.json, 608 B
Fields
| Field | Type |
|---|---|
Type | string |
Matchers | array[1] |
Next | object |
Source
{
"Type": "BlockCondition",
"Matchers": [
{
"Block": {
"State": "default"
}
}
],
"Next": {
"Type": "Serial",
"Interactions": [
{
"Type": "ChangeState",
"Changes": {
"default": "Open"
}
},
{
"Type": "SpawnNPC",
"EntityId": "Skeleton",
"SpawnChance": 0.5,
"SpawnOffset": {
"X": 0,
"Y": 0.5,
"Z": 0
},
"SpawnYawOffset": 180,
"Effects": {
"WorldSoundEventId": "SFX_Stone_Coffin_Open_Close"
}
}
]
}
}