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

473.4k downloads
87 followers
Follow Save
Host your Minecraft server on BisectHosting - get 25% off your first month with code MODRINTH.

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.

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 a year ago
Updated a month ago