So I am making a non experimental item generator. I can summon an entity and kill command it for loot just fine, setblock a block and destroy it as well, but I am wanting to simplify it with the loot command. In game this command works and summons my loot table but for some reason it is not being called from my generator. Any ideas as to why?
"format_version": "1.10.0",
"animation_controllers": {
"controller.animation.oak_tree_commands": {
"states": {
"default": {
"transitions": [
{
"check_for_growth": "query.skin_id == 1"
},
{
"execute_no_commands": "query.skin_id == 0"
}
]
},
"check_for_growth": {
"transitions": [
{
"default": "query.skin_id != 1"
}
],
"on_entry": ["/loot spawn ~ ~1 ~ loot 'entities/oak_log'",
"@s execute_no_commands"]
},
"execute_no_commands": {
"transitions": [
{
"default": "query.skin_id != 0"
}
],
"on_entry": ["/say it is done",
"@s check_for_growth"]
}
}
}
}
}```