
需要帮助?点击此处加入 Discord 服务器!
PMWeatherAPI 是一个非官方的 API,旨在简化与 ProtoManly 的天气模组 的交互,方便想要创建附加内容的开发者使用。
> ⚠️ 由于 PMWeather 仍处于 alpha 阶段,此 API 目前为实验性版本。预计会出现错误。
> 该 API 将尽可能与 PMWeather 保持同步更新。
请确保仅使用与您的 PMWeather 版本匹配的 API 版本(例如,0.14.15.0 适用于 PMWeather 0.14.15-alpha,但可能不适用于其他版本)。
在您的 build.gradle 中添加以下内容:
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}"
}
在您的 gradle.properties 中添加:
pmweather_ver=0.15.1
pmweatherapi_ver=0.15.1.0
有关使用示例和更多详细信息,请查看 wiki。
友情链接: 网易我的世界 | 泰拉瑞亚 | ocent云计算 | 米饭Minecraft插件文档 | 友链合作
历史访问人数:85,784 | 历史访问人次:174,957
今日访问人数:16,456 | 今日访问人次:18,120
昨日访问人数:20,761 | 昨日访问人次:24,774
Copyright © 2019-2026 我的世界服务器列表站. All rights reserved.
❤ Powered by GermMC 京ICP备17023959号-6