? GeezAPI
支撑所有 Sunflower 模组的核心库。
GeezAPI 是一个轻量级的共享代码库,用于我的模组和整合包。它本身不执行任何功能,但像 Sunflower's QoL 这样的模组需要它才能正常运行。
专为在 Fabric 和 NeoForge 上实现高性能、兼容性和便捷开发而设计。
? 加载器支持
? 包含内容?
GeezAPI 不是一个内容模组。它是为开发者和整合包制作者提供的工具箱。
1. GeezEvents 一个基于 Architectury API 的统一事件系统。你可以在自己的任何模组中使用这些清晰的钩子:
- CROP_HARVESTED(作物收获)
- TREE_FELLED(树木砍伐)
- SPAWNER_COLLECTED(刷怪笼收集)
2. GeezTags 所有我制作的模组的集中化自定义标签:
- geezapi:timber_logs
- geezapi:harvestable_crops
3. GeezConfigHelper Cloth Config 的简单封装。只需三行代码即可为你的模组创建配置界面。
4. 版本与工具函数
- GeezAPI.VERSION - 随时知晓当前加载的库版本
- 针对经验值(XP)、附魔、方块破坏等的辅助工具
?? 给开发者
将 GeezAPI 作为依赖项添加到你的项目中:
Fabric - build.gradle modImplementation "com.sunflower:geezapi-common-1.0.0"
NeoForge - build.gradle implementation fg.deobf("com.sunflower:geezapi-common-1.0.0")
然后在代码中: import com.sunflower.enhancedvanilla.api.GeezAPI; GeezEvents.CROP_HARVESTED.register((player, pos, stack) -> { // 在此处编写你的逻辑 });
? 前置要求
[Requires Architectury API]() [Requires Cloth Config]()
- Minecraft 1.21.11
- Fabric / NeoForge
- Architectury API
- Cloth Config
❓ 常见问题
问:GeezAPI 单独安装会有作用吗? 答:不会。它是一个库。请因为其他模组需要它而安装它。
问:我可以在我的整合包中使用它吗? 答:可以!它是为整合包设计的。无需许可,直接包含即可。
问:它在服务端安全吗? 答:是的,完全支持客户端和服务端。
专为 Sunflower's Enhanced Vanilla 及所有未来的 Sunflower 项目打造。?
? GeezAPI
The core library powering all Sunflower mods.
GeezAPI is a lightweight, shared code library for my mods and modpacks. It does nothing on its own, but is required for mods like Sunflower's QoL to work.
Designed for performance, compatibility and easy development on Fabric & NeoForge.
? Loader Support
? What's Inside?
GeezAPI is not a content mod. It's a toolbox for developers and modpack makers.
1. GeezEvents A unified event system wrapping Architectury API. Clean hooks you can use in any of your mods:
- CROP_HARVESTED
- TREE_FELLED
- SPAWNER_COLLECTED
2. GeezTags Centralized custom tags for all my mods:
- geezapi:timber_logs
- geezapi:harvestable_crops
3. GeezConfigHelper Simple wrapper for Cloth Config. Create configs for your own mods in 3 lines.
4. Version & Utils
- GeezAPI.VERSION - always know which library version is loaded
- Helpers for XP, enchantments, block breaking
?? For Developers
Add GeezAPI to your project as a dependency:
Fabric - build.gradle modImplementation "com.sunflower:geezapi-common-1.0.0"
NeoForge - build.gradle implementation fg.deobf("com.sunflower:geezapi-common-1.0.0")
Then in code: import com.sunflower.enhancedvanilla.api.GeezAPI; GeezEvents.CROP_HARVESTED.register((player, pos, stack) -> { // Your logic here });
? Requirements
[Requires Architectury API]() [Requires Cloth Config]()
- Minecraft 1.21.11
- Fabric / NeoForge
- Architectury API
- Cloth Config
❓ FAQ
Q: Does GeezAPI do anything alone? A: No. It's a library. Install it because another mod requires it.
Q: Can I use it in my modpack? A: Yes! It's made for modpacks. No permission needed, just include it.
Q: Is it server-safe? A: Yes, fully client & server sided.
Built for Sunflower's Enhanced Vanilla and all future Sunflower projects. ?
下载 GeezAPI
下载 GeezAPI
下载 GeezAPI
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 GeezAPI
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 GeezAPI
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 GeezAPI
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 GeezAPI
下载 GeezAPI
下载 GeezAPI
下载 GeezAPI
暂无更新日志
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
查看物品与配方
模组
原版世界生成优化模组
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
缓冲的原始输入和线程化的事件轮询
评论 0
登录后参与评分
还没有评论,来抢沙发吧