[TUTORIAL] How to use jigsaw blocks in making of structures

Started by @sashakyotoz on

Topic category: User side tutorials

Last seen on 20:17, 3. May 2024
Joined Nov 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
[TUTORIAL] How to use jigsaw blocks in making of structures
Fri, 06/30/2023 - 02:59 (edited)

Custom structures with jigsaw generation:

  1. Creating of Structures:
    Preamble: this tutorial will work on versions from 1.14.4 - 1.19.4, but below 1.19.4 we must write name of template pool and path to it in template pool
     Every structure set must have:
    Center of structure(where will be placed jigsaw blocks, that generate whole structure set)
    Connector of parts(some streets or corridors that will generate another connectors or houses/decorators/anything that you want)
     

    Building of structuresTower structures

  2. Adding of jigsaw blocks:
    Jigsaw block have next parameters:
    target pool(path to "storange of structures")
    target name/name("identifying key" of structure, that allows to jigsaw block to find needable structure)
    turns into(transforming of jigsaw block to some block after generation)
    Jigsaw block in entrance(so important to place jigsaw block on border of structure, else jigsaw won't generate other onces)

    Example of dungeons jigsawExample of street jigsaw


    If target pool is empty, then it will be just like target name to another, if target pool isn't empty, then jigsaw will try to find and generate structure in current pool

     

     

     

  3. Writing of Template pools:
    In folder data/"your_modid" we should make new folders - worldgen/structure, stucture_set and template_pool
     

    Folder shower

(Json files we must write absolutly like in jigsaw blocks in structures)
 

Example of template pool

If you use version of Minecraft below 1.19.4 than you should add upper of fallback next one:
"name:modid+ path to this template pool + name of this file"

weight(chance to spawn some structure from current pool)
projection(type of generation of structures, if you wrote rigid, then structure won't be changed during generation, else if you wrote terrain_matching, then structure will be spawned adaptable to world surface)
location(path to structure)
processors(rules to spawn structure)

  1. Writing of structure.json and structure_set.json:

    File of structure.json you can generate here: https://misode.github.io/worldgen/structure/
     

    json file

File of structure_set.json you can generate here: https://misode.github.io/worldgen/structure-set/
 

  1. Finally, test it in game, and fix errors if they are
     

    Structure in game

File of template pool you can generate here: https://misode.github.io/worldgen/template-pool/
Any incorrectness in json file will cause safe mode in minecraft
My tutorial how to make own village in Mcreator:https://www.youtube.com/watch?v=4qIqKOzYI7U

 

Edited by @sashakyotoz on Fri, 06/30/2023 - 02:59
Last seen on 20:17, 3. May 2024
Joined Nov 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Ma_Do, try to recheck json…
Sat, 11/18/2023 - 17:33

Ma_Do, try to recheck json in structure_set and structure folder, can be that json in structure folder can't find template pool, or something wrong with structure_set

Last seen on 20:17, 3. May 2024
Joined Nov 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Doo89, de-facto this…
Sat, 11/18/2023 - 17:35

Doo89, de-facto this tutorial was created by following your instruction from video how to make own mineshafts

Last seen on 10:39, 8. Dec 2023
Joined Dec 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Hey, would it be possible to…
Mon, 12/04/2023 - 11:58

Hey, would it be possible to message you privately? 

 

On Discord for example? I'd need some direct help. Thank you.