
重要提示!
Geode 是一个库模组。它本身不会执行任何操作,仅在其它模组需要时添加即可。
? Geode 是什么?
Geode 是一个强大的库,增强了 Minecraft 模组的许多方面,包括:
- ?️ 基于构建器的强大注册系统
一种使用构建器注册物品、方块、实体等的新方法,所有操作都在一个集中的 Geode 实例中完成。
- ? 丰富的数学 API
包含大量常用的数学函数,以及诸如逆平方根等较为冷门的函数。
- ? 众多辅助工具
提供了大量辅助类,涵盖 Minecraft 开发的各个方面,从光线步进到从注册表中获取标识符。
? 导入 Geode
您可以通过 Modrinth API 在您的仓库中导入 Geode:
在您的 gradle.properties 文件中:
# Geode 版本。
geode_version = U4o9vfpy # 在此处添加版本号
在您的 build.gradle 文件中:
repositories {
// 添加 Modrinth Maven
maven { url = "https://api.modrinth.com/maven" }
}
dependencies {
// 为 Fabric 添加 Geode 依赖。
modImplementation "maven.modrinth:geode:${project.geode_version}"
}
❓ 如何获取版本号
在 Modrinth 上,
- 进入名为 Versions(版本)的分类。
- 选择您想要的版本并点击 More Options(更多选项)。
- 点击 Copy ID(复制 ID)。
可视化指南

❓ 如何在 JetBrains IDEA 中获取文档?
由于该模组上传至 Modrinth 的 Maven,很遗憾我无法以方便的方式上传源码以便您直接获取文档。不过,每个 Geode 构建包都附带了对应版本的源码。以下是设置文档的步骤:
- 下载所需 Geode 版本的源码。
- 在 IDEA 中打开任意 Geode 类。例如,按
Ctrl+N 打开文件浏览器,搜索 "Draw"。然后按 Enter。
- 在类的顶部会出现一个蓝色横幅,右侧有两个按钮:“Download Sources”(下载源码)和“Choose File”(选择文件)。
- 点击
Choose File,然后选择您下载的源文件。
Geode 不会移植到 Forge/NeoForge/Quilt。同时也不会向后移植,且仅会在最新可用版本中进行维护。
@ 2026 The Collective. All Rights Reserved.
Geode 遵循 Apache-2.0 许可证。

Important!
Geode is a library mod. It won't do anything on it's own, only add it if other mods require it.
? What is Geode?
Geode is a powerful library enhancing many aspects of Minecraft modding, including:
- ?️ Powerful Builder Based Registration
A new way of registering your items, blocks, entities and more using builders, all in one centralized Geode instance.
- ? Extensive Math API
A large collection of common Math functions, as well as niche ones such as the inverse square root.
- ? Plenty Helpers
Many many helper classes to aid with every aspect of minecraft development, from raymarching to getting an identifier from registries.
? Importing Geode
You may import Geode in your repositories using the Modrinth API:
In your gradle.properties file:
# Geode Version.
geode_version = U4o9vfpy # Add the version here
In your build.gradle file:
repositories {
// Add the modrinth maven
maven { url = "https://api.modrinth.com/maven" }
}
dependencies {
// Adding a Geode dependency for Fabric.
modImplementation "maven.modrinth:geode:${project.geode_version}"
}
❓ How to get the version
On Modrinth,
- Go to the category named Versions.
- Choose the version you want and click on More Options.
- Click Copy ID.
Visual Guide

❓ How to get Documentation in JetBrains IDEA?
Because the mod is uploaded on Modrinth's Maven, I sadly cannot upload the source in a way where you can easily get the documentation. However, attached with every build of Geode is the sources for that version. Here are the steps to set up documentation:
- Download the sources from the desired Geode version.
- In IDEA, open any Geode class. For example, press
Ctrl+N to open the file browser, and search for "Draw". Press Enter.
- On the top of the class should be a blue banner, with two buttons on the right: "Download Sources" and "Choose File".
- Click
Choose File, and select the file you downloaded.
Geode will not be ported to Forge/NeoForge/Quilt. It will also not be backported and only be maintained in the newest available version.
@ 2026 The Collective. All Rights Reserved.
Geode is licensed under Apache-2.0.
评论 0
登录后参与评分
还没有评论,来抢沙发吧