User Tools

Site Tools


tutorial:jigsaw

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
tutorial:jigsaw [2020/08/15 13:06] emmanuelmesstutorial:jigsaw [2021/12/28 19:50] – added info about other mc versions banana
Line 2: Line 2:
 Jigsaws are good for advanced structures such as dungeons & villages, and allow you to spend more time on actually building content vs. messing with procedural generation code.  Jigsaws are good for advanced structures such as dungeons & villages, and allow you to spend more time on actually building content vs. messing with procedural generation code. 
  
-A repository with finished code can be found [[https://github.com/Draylar/jigsaw-example-mod/tree/1.16|here for 1.16]] +A repository with the finished code from this tutorial can be found [[https://github.com/Draylar/jigsaw-example-mod|here for 1.14 - 1.16]]. 
 +A full example with structure files and more can be found [[https://github.com/TelepathicGrunt/StructureTutorialMod|here for 1.15 - 1.18]].
  
 ===== Creating a StructureFeature ===== ===== Creating a StructureFeature =====
Line 65: Line 66:
     ExamplePiece.init();     ExamplePiece.init();
  
-    StructurePoolBasedGenerator.addPieces(config.startPool, config.size, ExamplePiece::new, chunkGenerator, structureManager,+    StructurePoolBasedGenerator.method_30419(config.getStartPool(), config.getSize(), ExamplePiece::new, chunkGenerator, structureManager,
             pos, children, random, calculateMaxYFromPiecePositions, randomYPos);             pos, children, random, calculateMaxYFromPiecePositions, randomYPos);
  
tutorial/jigsaw.txt · Last modified: 2021/12/30 05:47 by redgrapefruit