Elements in this list will be marked as supported partially (the yellow icon). This list can contain the previous base feature, but also the mod elements. All features inside this parameter will be marked as fully supported by the generator. This name is the displayed text when the user selects a is replaced by the version of Minecraft wrote in the generator's folder takes the value of the field Base featuresīasic features are the supported file types (JSON, Java and OBJ) by this generator, variables and textures. Generator selector window name: Minecraft Forge for It contains its basic information, paths for the asset and data folder and many other things. The generator.yaml defines several elements of the generator. These two elements have to be separated with a hyphen.Įxamples: forge-1.15.2, fabric-1.16.5 Generator.yaml However, the first part of the folder has to be a built-in generator type ( forge, fabric, spigot, datapack or addon). Generators don't have to be inside a specific folder like procedure blocks or global triggers. Finally, each generator type is different, so you will have to adapt the elements explained on this page. You will also need to understand how a JSON file work and Java knowledge. It's highly recommended to be able to make simple a plugin. You need, at least, to know the basic structure of plugins. Making a new generator can be very complex and very long. However, you can’t redistribute the official generators. Writing of structure.json and structure_set.json:įile of structure.json you can generate here: įile of structure_set.If you want to see a generator example, you can check the Fabric Generator GitHub page here or go inside the MCreator folder/plugins.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) Weight(chance to spawn some structure from current pool) "name:modid+ path to this template pool + name of this file" If you use version of Minecraft below 1.19.4 than you should add upper of fallback next one: (Json files we must write absolutly like in jigsaw blocks in structures) In folder data/"your_modid" we should make new folders - worldgen/structure, stucture_set and template_pool 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 Jigsaw block in entrance(so important to place jigsaw block on border of structure, else jigsaw won't generate other onces) Turns into(transforming of jigsaw block to some block after generation) Target name/name("identifying key" of structure, that allows to jigsaw block to find needable structure) Target pool(path to "storange 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Ĭenter of structure(where will be placed jigsaw blocks, that generate whole structure set)Ĭonnector of parts(some streets or corridors that will generate another connectors or houses/decorators/anything that you want) Custom structures with jigsaw generation:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |