Skip to main content
Bumped by Community user
add [minecraft-addons] and [minecraft-behavior-packs]; put code ins a code block
Source Link

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" ] }

{
 "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?

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?

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?

Source Link

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?