How to use TerraPaint/How to make custom presets
How to make custom presets
To start creating your own presets, first of all, you will have to locate your presets.yml file
under /plugins/TerraPaint/presets.yml and open it with any text editor.
presets: - 'myPreset - 'mySecondPreset' - 'anotherPreset'
presets is a list (StringList), which contains the names of the presets.
every item of this list has to be surrounded with apostrophes.
Every preset 'block' is built up like this:
(Preset name): block: [blocks ...] replacement: [replacements ...]
The preset name comes at the first place.
This is one the presets names. which is listed in the presets list.
Then the block and the rplacement list.
Each of these lists is a StringList and contains the Material names in uppercase.
The items from the block list are going to be replaced by items from the replacement list.
The replacement process goes like this:
The first index of the block list will be replaced by the first index of the replacement list.
The second index of the block list will be replaced by the second index of the replacement list.
The thrid index of the block list will be replaced by the thrid index of the replacement list.
and so on ...
Have fun, creating your presets!
Comments