NeoAPI
NeoAPI 是一款面向开发者的 Minecraft 26.2 Fabric 框架,它为模组作者提供了构建自有工具、系统和内容的脚手架。NeoAPI 不会将你锁定在预建方案中,而是提供结构——逻辑由你编写。它旨在退居幕后,让你按照自己的方式制作模组。
这是一个库类模组。 它本身不会为游戏添加任何内容。玩家仅在其它模组依赖它时才需要安装。
功能特性
实用方法框架
NeoAPI 为你提供了一套清晰、一致的编写和组织实用方法的模式。只需定义一次辅助方法,即可在整个模组中共享,并保持代码库整洁——再也不用把相同的逻辑复制粘贴到每个类中。
自定义事件系统
NeoAPI 为构建你自己的事件提供了基础骨架。定义触发条件、监听者以及事件携带的数据——无需触碰任何 mixin。你的模组,你的规则。
自定义注册表与数据类型
需要 Minecraft 原生不支持的注册表?NeoAPI 提供了定义和管理自定义注册表的工具。注册模组所需的任意数据类型,并从代码库的任何位置干净地访问它们。
适用于模组开发者
在你的 build.gradle 中将 NeoAPI 添加为依赖项:
repositories {
maven { url "https://api.modrinth.com/maven" }
}
dependencies {
modImplementation "maven.modrinth:neoapi:1.0.0"
}
并在你的 fabric.mod.json 中声明它:
"depends": {
"neoapi": ">=1.0.0"
}
完整文档和示例请参见 [your GitHub/docs link here]。
环境要求
| 要求 |
版本 |
| Minecraft |
26.2 |
| Fabric Loader |
≥ 0.19.3 |
| Fabric API |
最新版 |
| Java |
25 |
它是什么?(更多详情)
NeoAPI 专为 AI 打造。计划很快发布 Neo-AI。只需静候佳音,很快你就能在自己的世界中获得一个 真正的 NPC。
NeoAPI
NeoAPI is a developer-focused Fabric framework for Minecraft 26.2 that gives mod authors the scaffolding to build their own tools, systems, and content. Rather than locking you into pre-built solutions, NeoAPI hands you the structure — you write the logic. It's designed to get out of your way and let you mod the way you want to.
This is a library mod. It adds no content to the game on its own. Players only need to install it if another mod requires it.
What It Offers
Utility Method Framework
NeoAPI gives you a clean, consistent pattern for writing and organizing your own utility methods. Define your helpers once, share them across your entire mod, and keep your codebase tidy — no more copy-pasting the same logic into every class.
Custom Event System
NeoAPI provides the backbone for building your own events. Define what triggers them, who listens to them, and what data they carry — all without touching a single mixin. Your mod, your rules.
Custom Registries & Data Types
Need a registry that Minecraft doesn't have out of the box? NeoAPI gives you the tools to define and manage your own. Register whatever data types your mod needs and access them cleanly from anywhere in your codebase.
For Mod Developers
Add NeoAPI as a dependency in your build.gradle:
repositories {
maven { url "https://api.modrinth.com/maven" }
}
dependencies {
modImplementation "maven.modrinth:neoapi:1.0.0"
}
And declare it in your fabric.mod.json:
"depends": {
"neoapi": ">=1.0.0"
}
Full documentation and examples can be found at [your GitHub/docs link here].
Requirements
| Requirement |
Version |
| Minecraft |
26.2 |
| Fabric Loader |
≥ 0.19.3 |
| Fabric API |
Latest |
| Java |
25 |
What is it? (More detail)
NeoAPI is built for AI. Soon planning to release Neo-AI soon. Just sit back, then soon, you'll have a real NPC in your worlds.
评论 0
登录后参与评分
还没有评论,来抢沙发吧