Skip to content

Creator Tools

Warhead edited this page Mar 17, 2024 · 2 revisions

🏛️ Placing Template Pools

To place a template pool, use the library's built in scriptevents. Refer to the following command schema to place a template pool:

/scriptevent jigsaw:place <templatePoolName: string> [maxLevels: int] <position x y z>

example: /scriptevent jigsaw:place den:start 7 ~ ~ ~

If you choose not to use the command, you can also place a template pool via a jigsaw block. To place a template pool with a jigsaw block, please make sure your jigsaw is configured with the template pool name and any other data to make the connection valid. Finally, turn on the generate toggle and specify how many levels you want in the jigsaw structure.

example

📝 Macros

Macros provide creators a way to copy the data from a configured jigsaw block to any placed jigsaw.

Command Documentation

/scriptevent jigsaw:macro create - Creates a new macro (overrides previous macro)
/scriptevent jigsaw:macro enable - Enables the current macro
/scriptevent jigsaw:macro disable - Disables the current macro

To create a macro, first look at the jigsaw block you want to copy.

lookatit

Enter the following command: /scriptevent jigsaw:macro create

createmacro

The game should print out that your macro has been created or if there has been an error creating your macro.

After your macro has been created, please enter the following command to enable it: /scriptevent jigsaw:macro enable

enable

Clone this wiki locally