PMWeatherAPI

What is it?
PMWeatherAPI is an unofficial programming interface designed to simplify interaction with the ProtoManly's Weather modification. This tool is intended for developers who want to create their own add-ons and extensions for the weather system.
Main Features
- Detection of approaching storms near the player
- Determination of nearby radar locations
- Configuration of various radar operating modes
- Overlay of radar images on the game world
- Creation and configuration of weather phenomena
- Work with color schemes and palettes
- Event system for reacting to weather changes
Important Information
⚠️ Currently, the API is in an experimental stage since the main PMWeather modification is still in alpha version. Some errors and unstable operation are possible.
Developers strive to maintain the relevance of the API in accordance with updates to the main modification.
Critically important: Use the API version that matches your PMWeather version. For example, version 0.14.15.0 is compatible with PMWeather 0.14.15-alpha, but may not work with other versions.
Adding to Project
To add to your project, make the following changes to the build.gradle file:
repositories {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
maven {
name = "DU Maven"
url = "https://maven.digitalunderworlds.com/snapshots/"
}
}
dependencies {
implementation "maven.modrinth:protomanlys-weather:${pmweather_ver}-alpha"
implementation "net.nullved:pmweatherapi:${pmweatherapi_ver}"
}
Add to the gradle.properties file:
pmweather_ver=0.15.1
pmweatherapi_ver=0.15.1.0
For additional information, usage examples, and documentation, refer to the project's wiki page.