How to use Jigsaw block?

Started by BySquarix on

Topic category: Help with modding (Java Edition)

Last seen on 13:41, 14. Jul 2024
Joined Aug 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to use Jigsaw block?
Mon, 06/24/2024 - 18:34 (edited)

I don't understand much of the tutorials and would like some help with the jigsaw blocks

Edited by BySquarix on Mon, 06/24/2024 - 18:34
Last seen on 13:41, 14. Jul 2024
Joined Aug 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
i did however i am still a…
Fri, 06/21/2024 - 00:15

i did however i am still a bit confused

Last seen on 14:22, 13. Jul 2024
Joined Jun 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
What part did you get…
Sun, 06/23/2024 - 00:42

What part did you get confused on/ what do you understand so far?

Last seen on 13:41, 14. Jul 2024
Joined Aug 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Hi would you at all mind…
Sun, 06/23/2024 - 19:46

Hi would you at all mind hopping in a discord call and helping me out with this? I'm confused about target pools and structures vs jigsaw blocks. I find the tutorials that go more in depth to these are for datapacks so it is difficult to translate to modding

Last seen on 14:22, 13. Jul 2024
Joined Jun 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Target Pool  and target are…
Sun, 06/23/2024 - 23:35

Target Pool  and target are basically asking what jigsaw block should they generate.
The Name is the name of the jigsaw pieces themselves.
Turns into just replaces the jigsaw blocks when they generate.



Step 1: build your starting structure where the entire jigsaw is going to start from.
Step 2: place a jigsaw block on one side of your structure at the very edge but still inside the structure and have it so that jigsaw piece is facing outside of your structure. Also keep it ideally in the middle for easier generating. Now in that jigsaw block you need to do the same as the first image except change "pondcreator" to your workspace name, "ptown" to your structure element name. Leave it on "paths" for this just so it is easier to follow. You can name it whatever you want in future though.

 

Step 3: make a second structure ( a pathway ). Again put a jigsaw block on the edge of the structure and have the piece facing outside . and copy the next image but again change "pondcreator". The reason the target pool and target name is empty here is because we are not generating anything from this piece, it essentially can only be found by a previous jigsaw block. When your first structures jigsaw block generates it's going to look for yourworkspacename:paths. so that is the name you need to put into "Name" so that it can be found by your starting point.

Step 4: Save the structures now that they are finished and you can import them into your Mcreator Workspace.
 

Step 5: Go to Mcreator and open your structure element and go to the Jigsaw page. Click Add jigsaw.
The pool name is "paths" because this is where your jigsaw block is going to pick a piece to generate. You currently just have the 1 but you can add multiple with the "paths" name. the weight is not important since you only have 1 piece that can spawn so it will always be that piece. where mine says "pathlonghouse" is where you need to select your path structure. You can also ignore the fallback pool section at the moment, it basically just generates something if nothing else can, so it is sued for path ends and such. 

 

With that you have a very basic jigsaw set up, when your starting piece generates in the world it will then generate your path structure after (hopefully i have not missed anything/forgot any steps). If you wanted your path to then generate something else all you need to do is add another jigsaw block somewhere on it and change the names/targets/pools and such to whatever you want to add next. for example if you made a second jigsaw block on the end that similar to your starting point looks for "paths" your structure would generate and then have like 6 paths generate. I believe at the top 7 is the current maximum generation steps. A jigsaw piece that generates 1 piece to the side is the exact same amount of steps as a piece that generates 1 piece on every side but after 7 of these steps it will stop generating. 

Hopefully this is a decent explanation for you/anyone who stumbles across this post in the future.

Last seen on 13:41, 14. Jul 2024
Joined Aug 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
HI, I believe I understand…
Mon, 06/24/2024 - 05:12

HI, I believe I understand now many thanks!

Last seen on 14:22, 13. Jul 2024
Joined Jun 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
No worries, glad you got it…
Mon, 06/24/2024 - 05:49

No worries, glad you got it all worked out