An open API service indexing awesome lists of open source software.

https://github.com/aecsocket/demeter

Platform-agnostic weather and season effects
https://github.com/aecsocket/demeter

kotlin minecraft

Last synced: about 1 year ago
JSON representation

Platform-agnostic weather and season effects

Awesome Lists containing this project

README

          

Demeter banner

`1.1.0-SNAPSHOT`:
[![build](https://github.com/aecsocket/demeter/actions/workflows/build.yml/badge.svg)](https://github.com/aecsocket/demeter/actions/workflows/build.yml)

Provides several features which imitate real-life natural effects,
such as seasons, weather types, and temperature.

# Features

- [x] Time dilation for day/night, influenced by season
- [x] 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
- [x] ...and everything is able to be exposed in a display e.g. boss/action bar
- [x] All licensed under GNU GPL v3

Possibly:
* PAPI support?

# Usage

## Downloads

## Dependencies

Paper

* [Java >=17](https://adoptium.net/)
* [Paper >=1.18.1](https://papermc.io/)
* [Minecommons >=1.4.0](https://github.com/aecsocket/minecommons)
* [ProtocolLib >=4.7.0](https://www.spigotmc.org/resources/protocollib.1997/)

### [Stable Releases](https://github.com/aecsocket/demeter/releases)

### [Latest Snapshots](https://github.com/aecsocket/demeter/actions/workflows/build.yml)

## Packages

Using any package from the GitHub Packages registry requires you to
authorize with GitHub Packages.

To create a token:

1. Visit https://github.com/settings/tokens/new
2. Create a token with only the `read:packages` scope
3. 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

### [How to authorize](https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-apache-maven-registry)

#### In `~/.m2/settings.xml`

```xml


github-demeter
[username]
[token]

```

#### In `pom.xml`

Repository
```xml


github-demeter
https://maven.pkg.github.com/aecsocket/demeter

true

```

Dependency
```xml


com.github.aecsocket
demeter-[module]
[version]

```

Gradle

The Kotlin DSL is used here.

### [How to authorize](https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-gradle-registry)

When building, make sure the `GPR_USERNAME` and `GPR_TOKEN` environment variables are set.

Repository
```kotlin
repositories {
maven {
url = uri("https://maven.pkg.github.com/aecsocket/demeter")
credentials {
username = System.getenv("GPR_USERNAME")
password = System.getenv("GPR_TOKEN")
}
}
}
```

Dependency
```kotlin
dependencies {
compileOnly("com.github.aecsocket", "demeter-[module]", "[version]")
}
```

# Documentation

### [Javadoc](https://aecsocket.github.io/demeter/docs)

### [Wiki](https://github.com/aecsocket/demeter/wiki)