Caelus API

Caelus API

Mod

A coremod and API to provide developers access to elytra flight mechanics through an entity attribute.

Client and server Game MechanicsLibraryTransportation

935.1k downloads
133 followers
Follow Save
90% of ad revenue goes to creators. Go ad-free while supporting creators with Modrinth Plus. Subscribe today!

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

BisectHosting


Project members

TheIllusiveC4

Owner

Details

Licensed LGPL-3.0-or-later
Published 2 years ago
Updated 4 months ago