RotationModule

Extends the Module Object

This Object extends Module, this means you can use all the functions the Module object has.

Creating your own RotationModule

To create your own HudModule you can use breeze.registerRotationModule(String name, String description, int priority, Object obj): RotationModule

Priority

Each rotation module has a priority, the modules with the highest priority value will have the option to rotate as first. If it doesn't make use of the priority it will be passed on to the next highest module on the list. A priority value below 0 is totally possible.

ModulePriority

FireballJump

25

Scaffold

12

Bridger

10

Clutch

5

BedNuker

2

KillAura

0

RotationModule functions

For a RotationModuleyou can provide a function for doing the rotations here we will explain how this works.

breeze.registerRotationModule("RotationModule", "Rotates", 7, {
    'rotate': function(rotation) {

    },
    'updateNoRotate': function() {
    
    },
})

rotate

Gets called whenever the module is enabled and has the rotation priority over all other modules. To rotate the actual player you can use the given Rotation. If you do not rotate at all the priority will be passed on the the next module.

updateNoRotate

Gets called instead of rotate whenever another module has priority over your own module.

Last updated