CopyPartInstance
A class in Root.Township, Alta.Caves.PluginParts.
Runtime instance of the CopyPart plugin part: copies another plugin's layer into this one.
- Listed in World generation
- Inherits or implements
MapGeneratorPartInstance<CopyPart>
Constructors
| Member | What it is |
|---|---|
CopyPartInstance(PluginInstance plugin, CopyPart part) | Creates a CopyPartInstance from plugin and part. |
Fields
1 private and internal field
| Member | What it is |
|---|---|
private Plugin from | Plugin to copy from; falls back to this part's own plugin. |
Methods
| Member | What it is |
|---|---|
override void Modify(MapChunkLayer layer, int offX, int offZ) | Copies every cell from the source layer; logs an error and stops if the target is larger. |