diff --git a/README.md b/README.md index 8f0db38..09ad54e 100644 --- a/README.md +++ b/README.md @@ -14,3 +14,27 @@ git clone --recursive https://github.com/TerraForged/TerraForged.git ./gradlew build ``` + +### Developing With TerraForged's API + +##### Dependency +```groovy +repositories { + maven { + url "https://io.terraforged.com/repository/maven/" + } +} + +dependencies { + implementation fg.deobf("com.terraforged:TerraForged:1.15.2-0.1.0:api") +} +``` + +##### 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 dynamically. + +See the `com.terraforged.api.TerraEvent` class for the available events. + +All events are fired on the `FORGE` event bus.