2020-02-26 12:46:04 +01:00
|
|
|
# TerraForgedAPI
|
|
|
|
|
|
|
|
### Dependency
|
|
|
|
```groovy
|
|
|
|
repositories {
|
|
|
|
maven {
|
|
|
|
url "https://io.terraforged.com/repository/maven/"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2020-02-26 15:58:09 +01:00
|
|
|
implementation "com.terraforged:TerraForgedAPI:1.15.2-0.0.1"
|
2020-02-26 12:46:04 +01:00
|
|
|
}
|
|
|
|
```
|
|
|
|
|
|
|
|
### Usage
|
|
|
|
|
|
|
|
TerraForged fires a number of setup events each time its chunk generator is created. These events expose certain
|
|
|
|
components of the generator allowing for world-gen content to be configured, modified, or added to.
|
|
|
|
|
|
|
|
See the `com.terraforged.api.TerraEvent` class for the available events.
|
|
|
|
|
|
|
|
All events are fired on the `FORGE` event bus.
|