RoofHoleInstance
A class in Root.Township, Alta.Caves.PluginParts.
Runtime instance of the RoofHole plugin part: carves the sloped passage that links a cave layer to the one above or below, from the room found by room fixing.
- Listed in World generation
- Inherits or implements
MapGeneratorPartInstance<RoofHole>
Constructors
| Member | What it is |
|---|---|
RoofHoleInstance(PluginInstance plugin, RoofHole part) | Creates a RoofHoleInstance from plugin and part. |
Methods
| Member | What it is |
|---|---|
override void Modify(MapChunkLayer layer, int offX, int offZ) | Carves floor, open space and roof along a path from the biggest (roof) or second biggest room, using the room fix plugin's width and height curves. |