2020-01-16 22:14:14 +00:00
|
|
|
# TerraForged
|
2020-01-19 21:11:57 +00:00
|
|
|
|
2020-03-10 13:29:34 +00:00
|
|
|
TerraForged is a small collection of projects centered around procedurally generated worlds.
|
|
|
|
The primary outlet of which is a Forge mod for the popular game Minecraft (Java Edition).
|
2020-02-22 20:55:47 +00:00
|
|
|
|
2020-03-10 13:29:34 +00:00
|
|
|
### Building From Source
|
2020-02-22 20:55:47 +00:00
|
|
|
|
2020-06-26 18:18:35 +00:00
|
|
|
Firstly you must recursively git-clone this repository and its submodules (Engine & FeatureManager). To build the
|
|
|
|
mod jar just use the gradle build task. The jar will output to the `build/libs` directory.
|
2020-02-22 20:55:47 +00:00
|
|
|
|
2020-06-26 18:55:05 +00:00
|
|
|
#### Commands
|
2020-03-10 13:29:34 +00:00
|
|
|
```shell script
|
2020-06-26 18:18:35 +00:00
|
|
|
git clone --recursive https://github.com/TerraForged/TerraForged.git
|
2020-03-02 10:02:08 +00:00
|
|
|
|
2020-06-26 18:18:35 +00:00
|
|
|
./gradlew build
|
|
|
|
```
|
2020-06-26 18:53:54 +00:00
|
|
|
|
|
|
|
### Developing With TerraForged's API
|
|
|
|
|
2020-06-26 18:55:05 +00:00
|
|
|
#### Dependency
|
2020-06-26 18:53:54 +00:00
|
|
|
```groovy
|
|
|
|
repositories {
|
|
|
|
maven {
|
|
|
|
url "https://io.terraforged.com/repository/maven/"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2020-06-27 14:09:48 +00:00
|
|
|
implementation fg.deobf("com.terraforged:TerraForged:1.15.2-0.1.0")
|
2020-06-26 18:53:54 +00:00
|
|
|
}
|
|
|
|
```
|
|
|
|
|
2020-06-26 18:55:05 +00:00
|
|
|
#### Usage
|
2020-06-26 18:53:54 +00:00
|
|
|
|
|
|
|
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.
|