Provides several features which imitate real-life natural effects, such as seasons, weather types, and temperature.
- Time dilation for day/night, influenced by season
- Fully configurable seasons, able to change foliage colour
- Dynamic climate, determining temperature/humidity at positions in the world
- Crop fertility based on climate
- Expanded weather effects like rain, snowstorms, sandstorms
- ...and everything is able to be exposed in a display e.g. boss/action bar
- All licensed under GNU GPL v3
Possibly:
- PAPI support?
Using any package from the GitHub Packages registry requires you to authorize with GitHub Packages.
To create a token:
- Visit https://github.com/settings/tokens/new
- Create a token with only the
read:packages
scope - Save that token as an environment variable and use that in builds
Note: Never include your token directly in your build scripts! Always use an environment variable (or similar).
Maven
<servers>
<server>
<id>github-demeter</id>
<username>[username]</username>
<password>[token]</password>
</server>
</servers>
Repository
<repositories>
<repository>
<id>github-demeter</id>
<url>https://maven.pkg.github.com/aecsocket/demeter</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
Dependency
<dependencies>
<dependency>
<groupId>com.github.aecsocket</groupId>
<artifactId>demeter-[module]</artifactId>
<version>[version]</version>
</dependency>
</dependencies>
Gradle
The Kotlin DSL is used here.
When building, make sure the GPR_USERNAME
and GPR_TOKEN
environment variables are set.
Repository
repositories {
maven {
url = uri("https://maven.pkg.github.com/aecsocket/demeter")
credentials {
username = System.getenv("GPR_USERNAME")
password = System.getenv("GPR_TOKEN")
}
}
}
Dependency
dependencies {
compileOnly("com.github.aecsocket", "demeter-[module]", "[version]")
}