What I expected to happen was...:
When I use a gun in XM-Guns Addon on BDS, animation_controller files make it shoot bullet entities.
What actually happened was...:
Nothing happens, seems animation controller didn't work.
Steps to Reproduce:
1. Download the addon in the attachment.
2. Install and apply both behavior and resource packs to a world.
2-1. Make sure cheat and experimental is enabled in the world.
2-2. Try it in Minecraft, not in BDS.
2-3. Use command "/give @s gun:deagle" to get yourself a deagle. You can find it works properly.
3. Copy this world to the "world" folder inside BDS.
4. Rename it to "Bedrock level" or something else, depends on what is the value in server.properties.
5. Set allow-cheats=true in server.properties.
6. Start the server.
7. Connect to the server with Minecraft.
8. Use command "/give @s gun:deagle" to get yourself a deagle.
9. It cannot shoot in BDS. If you delete the animation_controller folder in the behavior pack and use it again in singleplayer, you will find exactly same result.
Linked issues
is duplicated by 1
Attachments
Comments 19

Two things:
BDS structure is different from single player
In single player, there is a behavior_packs and resource_packs folder under each world folder.
In BDS, the folders are at the root of your server, NOT in the world folder(s). You must move the packs to their correct BDS locations or BDS will not even see them. It only scans /behavior_packs/ and /resource_packs/ for installed add-on packs.As someone else already stated, the query.get_equipped_item_name was broken
This has been fixed as of today (1.16.100.04). However, now spawned projectiles no longer visibly function. They just hover while an invisible spawned projectile actually moves and strikes where you're looking.