tutorial:generator_types
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
tutorial:generator_types [2020/09/06 13:15] – Created siglong | tutorial:generator_types [2022/11/05 12:06] (current) – jab125 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | :!: //**This tutorial is outdated. For versions 1.18 and beyond, see [[tutorial: | ||
+ | |||
====== Adding Generator Types ====== | ====== Adding Generator Types ====== | ||
+ | |||
+ | |||
+ | |||
Generator type is a wrapper around a chunk generator and shows up on the world generation menu as world type. | Generator type is a wrapper around a chunk generator and shows up on the world generation menu as world type. | ||
If you don't know what generator type is, you may want to scroll down and see the result section of this page first. | If you don't know what generator type is, you may want to scroll down and see the result section of this page first. | ||
Line 30: | Line 35: | ||
The argument of the constructor is a translation key. | The argument of the constructor is a translation key. | ||
It is used when it localizes the world generation menu. | It is used when it localizes the world generation menu. | ||
+ | |||
+ | The constructor of '' | ||
+ | Your access widener file should look like this: | ||
+ | |||
+ | < | ||
+ | accessWidener v1 named | ||
+ | |||
+ | extendable method net/ | ||
+ | </ | ||
===== Registering a Generator Type ===== | ===== Registering a Generator Type ===== |
tutorial/generator_types.txt · Last modified: 2022/11/05 12:06 by jab125