Dreamcraft Networks Announcements API
This adds the announcement api that is required by all of my mods.
介绍
Dreamcraft Network Announcements API
A lightweight, plug-and-play announcement system for Minecraft NeoForge mods.
📋 Overview
The Dreamcraft Network Announcements API is a modular library designed to allow Minecraft mods to display dynamic, server-driven announcements directly to players. Perfect for network-wide events, maintenance notices, updates, or community highlights—without requiring a mod update.
This API handles:
- ✅ Remote JSON-based announcement fetching
- ✅ Asynchronous loading (no main-thread lag)
- ✅ Elegant, customizable in-game UI
- ✅ Clickable links with hover effects
- ✅ Session management (show once per launch)
- ✅ Full NeoForge 1.21.1+ / 1.21.x compatibility
✨ Features
| Feature | Description |
|———|————-|
| 🌐 Remote Configuration | Fetch announcements from any HTTPS endpoint. Update messages instantly without rebuilding your mod. |
| 🎨 Polished UI | Fancy gradient borders, glowing effects, styled header/footer, and responsive layout. |
| 🔗 Interactive Links | Embed clickable buttons or footer links that open browsers directly from-game. |
| ⚡ Non-Blocking | Uses CompletableFuture for async HTTP requests—zero impact on game performance. |
| 🔄 Session Control | Announcements display once per game session. Reset via AnnouncementManager.resetSession(). |
| 🧩 Easy Integration | Just add the JAR to your libs/ folder and call one method in your title screen handler. |
📦 Installation
Gradle (NeoForge)
dependencies {
// Add the API JAR to your libs folder, then:
implementation files('libs/dreamcraftnetworksannouncementsapi-1.0.jar')
}
常见问题
Dreamcraft Networks Announcements API 支持哪些 Minecraft 版本?
Dreamcraft Networks Announcements API 支持 Minecraft Java 版 1.21.1,可用的加载器:NeoForge。下载时注意选择和你游戏版本一致的文件。
Dreamcraft Networks Announcements API 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端和服务端都要装。
Dreamcraft Network Studios 的其他作品
查看全部 →
Iron Golems Survive
This adds functionality to iron golems, you can equip armor on them and they auto heal within a valid village
Simple Name Colors
This makes it possible to change your name in the chat and tab menu.
Dreamcraft Networks Custom Music
This makes it possible for users to upload music to my website and then get the music in the game as music discs.
评论
登录后评论和评分