一个统一的 API,将你的跨平台模组连接在一起。
Knot 是一个轻量级的多加载器 API,旨在弥合 Fabric 与 NeoForge 之间的差距。无需因管理多个代码库而抓狂,Knot 抽象了特定加载器的复杂性,让你只需编写一次代码即可部署到所有平台。
以稳定性和简洁性为核心设计,Knot 在不增加臃肿负担的前提下,安全地将你的项目整合在一起。
? 功能特性
- 统一注册: 使用单一通用语法注册方块、物品、实体和流体。
- 网络抽象: 无缝处理数据包及客户端-服务器通信,跨越不同加载器。
- 事件处理: 标准化的事件总线,挂钩至特定加载器的生命周期,避免纠缠不清。
- 极小开销: Knot 被设计为薄层,确保最大化的性能和兼容性。
? 面向开发者
要在你的工作区开始使用 Knot,请将以下内容添加到你的 build.gradle 中:
repositories {
maven { url "https://maven.daqem.com/releases" }
}
dependencies {
// 替换为最新版本号
modImplementation "com.daqem.knot:knot-common:<version>"
}
查看 官方 Wiki 获取文档和示例模板。
? 面向玩家
Knot 是一个 库类模组。它本身不会添加任何内容,但许多其他模组的正常运行都依赖它。不必担心,安装非常简单:
- 如果你是普通玩家: 只需下载与你的游戏加载器(Fabric/NeoForge)匹配的版本,并将其放入
mods文件夹。 - 如果你是整合包制作者: 你可以自由地在任何整合包中包含 Knot。
? 问题与支持
发现 Bug?有建议想提?
- 在 GitHub Tracker 上报告问题。
- 加入我们的 Discord 社区 获取开发支持。
A unified API tying your cross-platform mods together.
Knot is a lightweight multi-loader API designed to bridge the gap between Fabric and NeoForge. Instead of fraying your nerves managing multiple codebases, Knot abstracts loader-specific complexities so you can write your code once and deploy it everywhere.
Designed for stability and simplicity, Knot securely ties your project together without the bloat.
? Features
- Unified Registration: Register Blocks, Items, Entities, and Fluids using a single common syntax.
- Networking Abstraction: Handle packets and client-server communication seamlessly across loaders.
- Event Handling: A standardized event bus that hooks into loader-specific lifecycles without getting tangled.
- Minimal Overhead: Knot is designed to be a thin layer, ensuring maximum performance and compatibility.
? For Developers
To start using Knot in your workspace, add the following to your build.gradle:
repositories {
maven { url "https://maven.daqem.com/releases" }
}
dependencies {
// Replace with the latest version
modImplementation "com.daqem.knot:knot-common:<version>"
}
Check out the Official Wiki for documentation and example templates.
? For Players
Knot is a library mod. It does not add content on its own, but it is required for many other mods to function correctly. Fret knot, installation is simple:
- If you are a player: Simply download the version matching your game loader (Fabric/NeoForge) and place it in your
modsfolder. - If you are a modpack creator: You are free to include Knot in any modpack.
? Issues & Support
Found a bug? Have a suggestion?
- Report issues on our GitHub Tracker.
- Join our Discord Community for development support.
下载 Knot
下载 Knot
下载 Knot
下载 Knot
下载 Knot
下载 Knot
下载 Knot
下载 Knot
下载 Knot
下载 Knot
暂无更新日志
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
一个用于收集生物掉落物的多区块模组。
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
查看物品与配方
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
适用于 MC 1.18+ 的 Effekseer 加载器
评论 0
登录后参与评分
还没有评论,来抢沙发吧