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
本站是资源分享站,资源均来自于互联网和用户自发分享,仅供学习和交流使用。如有版权问题,请联系管理员删除。
操作
创作者
待认领资源
成为此资源的创作者
其他链接
最近更新资源
通天之路
热度 340 | 4 天前更新
匠途闲境 - Create Craft & Quiet
热度 225 | 4 天前更新
VERITY.exe
热度 390 | 1 周前更新
咒术回战(咒术战斗)
热度 69019 | 1 周前更新
暮色森林精选 - The Best of Twilight Forest
热度 25628 | 1 周前更新
无限计划 0.1 - Project Infinity 0.1
热度 9759 | 1 周前更新
黑暗RPG - DarkRPG - Forge
热度 9629 | 1 周前更新
[TLWS]末世生辉 The Last World Shines
热度 9429 | 1 周前更新
简易小屋
热度 647 | 2 周前更新
灾厄巫咒
热度 673 | 2 周前更新
阿卡迪亚的天启
热度 2874 | 2 周前更新
寄生仙途
热度 816 | 2 周前更新
评论区 (0)
登录 后才能发表评论
快来发表第一条评论吧!