I'm making a animation_controller .json file and it doesn't seem to work any ideas?
"format_version": "1.10.0",
"animation_controllers": {
"controller.animation.player.throwables": {
"states": {
"default": {
"transitions": [
{
"throw_item": "query.is_item_name_any('slot.weapon.mainhand', 0, 'bat:throwable_item') && query.is_using_item"
}
],
"on_entry": [
"@s bat:reset_player"
]
},
"throw_item": {
"transitions": [
{
"default": "1.0"
}
],
"on_entry": [
"@s bat:throw_item",
"/clear @s bat:batarang -1 1"
]
}
}
}
}
}```