Repository navigation
Usage
This is not the full extent of documentation we plan to offer in the wiki. Due to time constraints, the following documentation highlights only the changes we made in the Bedrock version of the system. The specifics behind jigsaw functionality and configuring the block itself can be found via online resources on the Java system or by reading the official wiki page.
To obtain the JBB jigsaw block, enter the following command as an operator: /give @s jigsaw:jigsaw_block
As of right now, we do not have a full tutorial on how to use the jigsaw block. We do plan to write a complete tutorial in the near future.
Luckily, the Bedrock system is accurate enough for Java tutorials on jigsaw block logic to cross over. If you need any help with configuring jigsaws or jigsaw placement, please refer to our resources on the homepage.
Depending on how your installation is configured, you can access our example structures and example template pools as a reference for your jigsaw structure. You can find the build worlds for these example structures in the structures/jigsaw/tests/ directory.
If you are not familiar with template pools, please read the official wiki page here.
The first step of creating your template pool is to name it. The name of your template pool will correspond to the file path to your template pool's .json file.
I've chosen to name mine den:start.
After you have configured your jigsaw appropriately, it's time to create your template pool file! As written previously, the name corresponds to the file path as follows.
My template pool name is den:start, note the file I created that corresponds to my name scripts\JigsawBlockBedrock\datapack\template_pool\start.js.
Voila! You can now create the data for your template pool. In your template pool file, please make sure your pool is exported as follows:
const templatePool = {
fallback: "minecraft:empty",
elements: [
//Element data here
]
}
export default templatePoolWe are working hard to close the gap in the limitations between the Bedrock version and the Java version. Unfortunately, we do not offer terrain matching, processor lists, or feature element types.
const templatePool = {
fallback: "minecraft:empty",
elements: [
{
weight: 1,
element: {
element_type: "minecraft:single_pool_element", // feature element types invalid
projection: "rigid", // cannot be set to terrain_matching
location: "jigsaw:tests/den/burrow/burrow_start",
processors: "minecraft:empty" // must remain empty
}
}
]
}
export default templatePool



