tutorial:chunkgenerator
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
tutorial:chunkgenerator [2024/05/31 18:44] – [Registering and Codecs] added more information about the codec miir | tutorial:chunkgenerator [2025/02/08 20:28] (current) – adds note to use Registries.CHUNK_GENERATOR on 1.19.3 and above 3xpl0173d | ||
---|---|---|---|
Line 123: | Line 123: | ||
</ | </ | ||
- | and then, create a constructor for your generator that uses each of those fields in that order: | + | and then, create a constructor for your generator that uses each of those fields |
<code java> | <code java> | ||
public ExampleChunkGenerator(BiomeSource biomeSource, | public ExampleChunkGenerator(BiomeSource biomeSource, | ||
Line 139: | Line 139: | ||
Registry.register(Registry.CHUNK_GENERATOR, | Registry.register(Registry.CHUNK_GENERATOR, | ||
</ | </ | ||
+ | //* For Minecraft Versions 1.19.3 and above, use '' | ||
+ | // | ||
Now, you can create json files to use your new chunk generator: | Now, you can create json files to use your new chunk generator: |
tutorial/chunkgenerator.1717181074.txt.gz · Last modified: 2024/05/31 18:44 by miir