Started by
@sashakyotoz
on
Topic category: User side tutorials
Custom structures with jigsaw generation:
-
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)
-
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)
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
-
Writing of Template pools:
In folder data/"your_modid" we should make new folders - worldgen/structure, stucture_set and template_pool
(Json files we must write absolutly like in jigsaw blocks in structures)
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)
-
Writing of structure.json and structure_set.json:
File of structure.json you can generate here: https://misode.github.io/worldgen/structure/
File of structure_set.json you can generate here: https://misode.github.io/worldgen/structure-set/
-
Finally, test it in game, and fix errors if they are
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
My Youtube playlist for structure (French only, sorry):
https://www.youtube.com/watch?v=ZGMheet9zzI&list=PLCuKQdndA-dJ5yIer-Uzg…
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
Doo89, de-facto this tutorial was created by following your instruction from video how to make own mineshafts
Hey, would it be possible to message you privately?
On Discord for example? I'd need some direct help. Thank you.