your current location:首页 > news>API MINECRAFT on CAE Road

API MINECRAFT on CAE Road

2024-12-15 02:33:20|Myriagame |source:minecraft skins

introduce

The CALULUS API is a small practical program module, which can be abstractly considered to be a more common spleen flight attribute, and publicize it to a module developer who seeks to the module for its own module.All module development software must call Caelusapi.lytra_flight attributes (if applicable).The default value of this attribute is 0. It is forbidden to fly by any sheathing. The attribute values ​​greater than or equal to 1 will be used to fly.The items of the module can also be applied to this attribute, so that its behavior is the same as in normal circumstances.

effect

Switching the cavity mode: Use the button binding, the default "V", the player can switch whether to fly with the spleen.When it is closed, the player cannot activate the spleen flight; when it opens, the spleen flight can be activated normally.

Triggering cypress mode: Use keys to bind and default. Players can automatically activate the cavity flying without the need to do a very embarrassing jump, and then jump again.It will work in the air or on the ground (unless you use it on the edge of the cliff, this is likely to make your face on the ground).

Simple take -off: If you set it to TRUE, when you use the binding keys on the ground to trigger the cauldron, players can choose to hold this button to activate the fireworks rocket in the backpack.This converts the 3 -step departure process (jumping → jump → using fireworks rockets) in general.

Note: The following is only the previous features of this module version 1.16.Regarding the 1.16 and subsequent versions, the author made a light MOD functional module to implement the V key to switch the cypress mode: Elytra Utilities.

I am a developer, how do you use it in the module I made?

You only need to add the following content to your module's built.gradle file:

 repositories {maven {url = "https://maven.theillusivec4.top/"}} dender ly fg.deobf ("Top.Theillusivec4.caelus: Caelus: $ {Version} ") Compileonly fg.deobf (" Top.Theillusivec4.caelus: Caelus: $ {Version} ")}