Caelus API
A coremod and API to provide developers access to elytra flight mechanics through an entity attribute.
Quick challenge
How far can you run before the mobs catch you?
Minecraft check
Confirm your run
Complete the quick check to get your code.
Caelus API
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.
