From 5396181d2f577dfdada49472817f8de82275998e Mon Sep 17 00:00:00 2001 From: dags Date: Fri, 26 Jun 2020 19:50:26 +0100 Subject: [PATCH] Update README.md --- README.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/README.md b/README.md index c2f2e3a..b4f632f 100644 --- a/README.md +++ b/README.md @@ -15,3 +15,27 @@ Command: ``` // TODO - more + +### Developing With TerraForged's API + +##### Dependency +```groovy +repositories { + maven { + url "https://io.terraforged.com/repository/maven/" + } +} + +dependencies { + implementation "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.