Skip to main content
2 of 2
add [minecraft-addons] and [minecraft-behavior-packs]; put code ins a code block

Can't execute function from load.json

I am trying to create a Minecraft Bedrock edition behavior pack that places a structure at a set of coordinates on load. The file is shops.mcaddon. Inside is a folder called shopsBP. Inside shopsBP is a functions folder, structures folder, manifest.json, and pack_icon.png.

I am trying to execute the function shops.mcfunction from the functions folder via the load.json file. I have entered this into load.json:

{
 "values": [ "shops" ]
}

Nothing happens with this. But if I put the same thing in tick.json it works, but I don't want it to run every tick, just once on load. What am I doing wrong?