User Tools

Site Tools


tutorial:chunkgenerator

Differences

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

Link to this comparison view

Next revision
Previous revision
Last revisionBoth sides next revision
tutorial:chunkgenerator [2022/09/07 04:20] – created draft version, github repo coming soon miirtutorial:chunkgenerator [2022/12/05 16:32] – removed "draft" designation miir
Line 1: Line 1:
-===== Custom Chunk Generators (DRAFT) =====+===== Custom Chunk Generators =====
  
 ''ChunkGenerator''s are the mechanisms by which the game generates the world. They handle terrain shaping, surface building, and biome placement.  ''ChunkGenerator''s are the mechanisms by which the game generates the world. They handle terrain shaping, surface building, and biome placement. 
Line 14: Line 14:
 <code java> <code java>
 public class ExampleChunkGenerator extends ChunkGenerator { public class ExampleChunkGenerator extends ChunkGenerator {
-    /* this is a very important field, we will come back to the codec later+    /* this is a very important field, we will come back to the codec later */
     public static final Codec<ExampleChunkGenerator> CODEC;      public static final Codec<ExampleChunkGenerator> CODEC; 
  
tutorial/chunkgenerator.txt · Last modified: 2022/12/05 16:35 by miir