适用于 Minecraft 1.20.1, 1.21.1 的 GTBC's SpellLib/API 模组
一个库模组和通用代码存储库,适用于我所有的模组,包含有用的工具,让我的ISS附加包制作生活更轻松!
关于 GTBC's SpellLib/API 模组
一个为我的所有 Iron's Spellbooks 附属模组打造的全新库/API 模组!
这个模组本身不会做任何事情!!
这个模组主要是为 Iron's Spellbooks 附属模组开发者以及我自己创建的……因为我有太多 ISS 附属模组,每当我开始制作新附属模组时,都要把每个必要的东西从一个地方复制粘贴到另一个地方,实在太烦人了。因此……这个库就诞生了!
这个库/API 模组添加了:
- 新的属性,如法术暴击率/伤害、法术投射物伤害、法术伤害
- 许多预制模板化的粒子管理器
- AdvancedRandomImbuingCurio 类,用于创建右键时随机注入指定法术的饰品
- 通过 AdvancedTrades 类轻松创建灵活交易的方法
- 通过 AbstractImbueableArmorItem 类提供舒适的盔甲注入选项,可自定义槽位和预注入法术
- Geckolib Geo 盔甲物品、Geo 魔法剑物品,使用 GeoArmorItem 和 GeoMagicSwordItem 类
- 支持多个属性的 MultiAttributeCurio 类
- AdvancedSpell 类,可在施法开始到结束时从列表中播放随机动画和音效,并带有一个布尔值来选择是否按顺序播放
- CurioUtils 类,用于轻松检查玩家身上佩戴的饰品
- SummonCheckHelper 类,用于检查半径内带有主人的召唤物(我主要将其用于 T.O Tweaks 模组的召唤限制系统)

我最近还开设了一个 Patreon 来支持我模组的开发。如果你喜欢我的模组并想支持开发,那对我来说意义重大 <3。Patreon 页面上有可供赞助者查看的福利(例如 Alpha/Beta 版本和 Patreon 专属开发预告)。
许可证:保留所有权利(ARR)
我保留此模组的所有权利。关于你可以和不可以对此模组做什么,请参考以下列表。
你可以:
- 你可以在你游玩或创建的任何整合包中使用此模组
- 你可以将此模组用作你附属模组的依赖项(请务必向我申请 GitHub 访问权限)
- 你可以为此模组开发数据包
你不可以:
- 提取、复用或重新分发此模组的任何资源或代码
- 以任何形式修改、反编译或重新上传此模组
- 如果我授予你 GitHub 访问权限,那仅供参考之用(帮助你正确地在附属模组中使用 API)
- 未经我明确批准,你不得复制、复用或改编仓库中的代码用于你自己的项目
鸣谢:
- 屏幕震动系统的基础参考自 Cataclysm(已获许可),并进一步发展为此模组中更高级的实现
为什么你的项目是闭源的,我们怎样才能获得访问权限?
过去,我在大学项目上经历过一些不幸的事情(个人事务),这让我产生了信任问题。可以说,我因此留下了一些创伤,很难轻易信任别人。由于我加入这个社区还比较新,我觉得有必要保持谨慎。这就是我的项目目前闭源的原因。不过,如果我在模组圈待得足够久并建立起更多信任,未来我可能会考虑将它们开源。
目前,如果你是知名模组作者或我私下认识的人,并且希望访问我的项目用于个人用途或直接帮助我,欢迎联系我。你可以通过 Discord 或 CurseForge 联系我,我会很乐意为你提供我 GitHub 仓库的协作访问权限。
如何安装 GTBC's SpellLib/API
With Millida Launcher
Install Millida Launcher
The launcher is free: download it at millida.net/launcher and sign in with any nickname.
Click “Install” on this page
The launcher opens and installs the mod for Minecraft 1.20.1–1.21.1 on Forge or NeoForge automatically.
Launch the game
A profile with it appears in the launcher: click “Play”.
Manually
Install Forge or NeoForge
The loader must match the game version of the mod file, for example Minecraft 1.21.1. After installing it, a separate profile appears in your launcher.
Download the file for your version
In the version list above, pick the file gtbcs_spell_lib-2.2.0-1.21.1.jar (301 KB) for your game version and loader.
Put it in the mods folder
The folder is inside .minecraft (Windows: %appdata%\.minecraft\mods). If it does not exist, create it.
Launch the loader profile
Open “Mods” in the main menu: GTBC's SpellLib/API should be in the list.
Minecraft 1.21.1 runs on Java 21: with a different Java version the game may close right after launch.
版本
含依赖项
| Minecraft | 加载器 | 文件 | 日期 | 操作 |
|---|---|---|---|---|
| 1.20.1 | Forge | gtbcs_spell_lib-2.2.0-1.20.1287 KB 10 | ||
| 1.21.1 | NeoForge | gtbcs_spell_lib-2.2.0-1.21.1301 KB 15 | ||
| 1.21 | NeoForge | spell_lib-1.0.0-1.21.158.9 KB |
常见问题
Which Minecraft versions does GTBC's SpellLib/API work on?
There are files for 1.21.1, 1.21, 1.20.1. The newest is 1.21.1.
Is GTBC's SpellLib/API for Forge or Fabric?
There are files for Forge: 1.20.1 and for NeoForge: 1.21–1.21.1. There are no files for Fabric: a mod for another loader will not start.
Does GTBC's SpellLib/API need other mods?
The author lists no required dependencies: the Forge or NeoForge loader is enough.
Which Java does GTBC's SpellLib/API need?
Minecraft 1.21.1 runs on Java 21. If the game closes right after launch, the usual cause is the wrong Java version in the profile settings.
Where can I download GTBC's SpellLib/API safely?
On this page: the file gtbcs_spell_lib-2.2.0-1.21.1.jar (301 KB) is stored on Millida’s server, with no link shorteners. SHA-1 checksum: 36cce8ab3117e89ae992a84a566d596709db2ffe.
评价
成为第一个评价 GTBC's SpellLib/API 的人

