MaskInstance
A class in Root.Township, Alta.Caves.PluginParts.
Runtime instance of the Mask plugin part: sets cells to a fail value where another plugin's layer is on the wrong side of a threshold.
- Listed in World generation
- Inherits or implements
MapGeneratorPartInstance<Mask>
Constructors
| Member | What it is |
|---|---|
MaskInstance(PluginInstance plugin, Mask part) | Creates a MaskInstance from plugin and part. |
Methods
| Member | What it is |
|---|---|
override void Modify(MapChunkLayer layer, int offX, int offZ) | Sets each cell to Fail when the mask layer is below the threshold (or at or above it, depending on IsMoreThan). |