Files
2022-02-06 05:42:44 +03:00

70 lines
1.0 KiB
JSON

{
"format_version": "1.17.0",
"minecraft:entity": {
"description": {
"identifier": "imoo:seat_helper",
"runtime_identifier": {},
"is_summonable": true,
"is_spawnable": false
},
"component_groups": {
"despawn": {
"minecraft:instant_despawn": {}
}
},
"components": {
"minecraft:rideable": {
"seat_count": 1,
"family_types": [
"player"
],
"seats": [
{
"position": [
0,
0,
0
]
}
]
},
"minecraft:type_family": {
"family": [
"seat"
]
},
"minecraft:health": {
"value": 1,
"max": 1
},
"minecraft:collision_box": {
"width": 0.1,
"height": 0.1
},
"minecraft:physics": {
"has_collision": false,
"has_gravity": false
},
"minecraft:environment_sensor": {
"triggers": [
{
"event": "despawn",
"filters": {
"test": "rider_count",
"value": 0
}
}
]
}
},
"events": {
"despawn": {
"add": {
"component_groups": [
"despawn"
]
}
}
}
}
}