Caelus是一个小型实用模组,它将硬编码的原版鞘翅行为抽象为更通用的鞘翅飞行属性,并将其提供给那些希望为自己的模组实现鞘翅飞行功能的模组开发者。
模组开发者只需在希望对飞行属性应用修改器的任何地方调用CaelusApi.getInstance().getFallFlyingAttribute() 。该属性的默认值为0,这将禁止任何鞘翅飞行。属性值大于或等于1将启用鞘翅飞行。原版鞘翅物品也已被修改为使用此属性,保持其行为与正常情况相同。
有关如何与该属性进行交互的更多信息,请参阅Minecraft维基百科。
添加到您的项目中:
将以下内容添加到您的build.gradle文件中:
repositories { maven { name = 'C4的Maven库' url = 'https://maven.theillusivec4.top/' } }Forge
dependencies { runtimeOnly "com.illusivesoulworks.caelus:caelus-forge:${version}" compileOnly "com.illusivesoulworks.caelus:caelus-forge:${version}:api" }NeoForge
dependencies { runtimeOnly "com.illusivesoulworks.caelus:caelus-neoforge:${version}" compileOnly "com.illusivesoulworks.caelus:caelus-neoforge:${version}:api" }将 ${version} 替换为您想要使用的Caelus版本。
支持
请将所有错误、问题和功能请求报告到问题跟踪器。
如需非技术支持和咨询,请加入开发者的Discord服务器。
许可证
所有源代码和资源均根据LGPL - 3.0或更高版本进行许可。
捐赠
可以通过Ko-fi向开发者进行捐赠。
附属机构
Caelus is a small utility mod that abstracts the hardcoded vanilla elytra behavior into a more generic elytra flight attribute and exposes this to mod developers seeking to implement elytra flight for their own mods.
All modders have to do is call CaelusApi.getInstance().getFallFlyingAttribute() wherever they want to apply a modifier to the flight attribute. The attribute has a default value of 0, which forbids any elytra flight. Attribute values greater than or equal to 1 will enable elytra flight. The vanilla elytra item has also been changed to use this attribute, keeping its behavior the same as normal.
For more information on how to interact with the attribute, see the Minecraft wiki.
Adding to Your Project:
Add the following to your build.gradle file:
repositories { maven { name = 'C4's Maven' url = 'https://maven.theillusivec4.top/' } }Forge
dependencies { runtimeOnly "com.illusivesoulworks.caelus:caelus-forge:${version}" compileOnly "com.illusivesoulworks.caelus:caelus-forge:${version}:api" }NeoForge
dependencies { runtimeOnly "com.illusivesoulworks.caelus:caelus-neoforge:${version}" compileOnly "com.illusivesoulworks.caelus:caelus-neoforge:${version}:api" }Replace ${version} with the version of Caelus that you want to use.
Support
Please report all bugs, issues, and feature requests to the issue tracker.
For non-technical support and questions, join the developer's Discord.
License
All source code and assets are licensed under LGPL-3.0-or-later.
Donations
Donations to the developer can be sent through Ko-fi.
Affiliates
本站是资源分享站,资源均来自于互联网和用户自发分享,仅供学习和交流使用。如有版权问题,请联系管理员删除。
操作
创作者
待认领资源
成为此资源的创作者
其他链接
最近更新资源
阿卡迪亚的天启:天选之歌
热度 758 | 1 周前更新
机械动力:航空学 - All of Create - Aeronautics
热度 746 | 1 周前更新
天空开拓者:耕云纪元
热度 625 | 1 周前更新
更好的MC Better MC [FORGE] BMC4
热度 583 | 1 周前更新
剑痕纪元
热度 2128 | 1 周前更新
咒术回战(咒术战斗) - Jujutsu Kaisen (Sorcery Fight)
热度 3672 | 3 周前更新
机械动力:工业与牧歌 - Create: Industry and Pastoral
热度 4979 | 3 周前更新
虚饰作品-Fictional
热度 5007 | 3 周前更新
猎杀:历史 1949 - Hunt: History 1949
热度 2333 | 3 周前更新
更好的MC Better MC [NEOFORGE] BMC5
热度 2522 | 3 周前更新
ATM10:空岛 - All the Mods 10: To the Sky
热度 1146 | 3 周前更新
方块宝可梦x纪元(Cobblemon x Era)
热度 5856 | 3 周前更新
评论区 (0)
登录 后才能发表评论
快来发表第一条评论吧!