I try to make an entity rotate along its X axis. But when setting an angle, it always returns to 0
Entity JSON:
{
"format_version": "1.21.0",
"minecraft:entity": {
"description": {
"identifier": "carcraft:slot_wood",
"is_summonable": true,
"is_spawnable": false
},
"components": {
"minecraft:physics": {
"has_collision": false,
"has_gravity": false
},
"minecraft:pushable": {
"is_pushable": false,
"is_pushable_by_piston": false
},
"minecraft:collision_box": {
"height": 1,
"width": 1
},
"minecraft:type_family": {
"family": [
"inanimate",
"carcraft_contraption",
"carcraft_slot",
"carcraft_wood"
]
},
"minecraft:damage_sensor": {
"triggers": {
"cause": "all",
"deals_damage": false
}
}
}
}
}