Features

Describes Feature object and its sub-objects.

The Feature object is used to represent a Client Feature (module). A Feature object can be obtained by creating a Feature (calling client.features.register, or client.features.getByName). With its methods you can perform various operations on all Features.

Object Properties

TypeNameDescriptionSignature

field

name

Feature Name

string

field

description

Feature Description

string

field

category

Feature Category

string

function

toggle

Toggles the Feature's state

void()

function

setEnabled

Sets the Feature's state

void(boolean)

function

isEnabled

Returns the Feature's state

boolean()

function

getSuffix

Returns the Feature's suffix (displayed in ArrayList in parentheses)

string()

function

setSuffix

Sets the Feature's suffix

void(string)

function

setKeyBind

Sets the Feature's key bind

void(int)

function

getKeyBind

Returns the Feature's key bind code

int()

function

getSetting

Returns a Setting, assigned to the Feature, looked up by name

subtype of FeatureSetting(string)

Up-casts

You can cast a Feature object if the object is of the correct type, for example: feature.as('KillauraFeature'), and receive properties of that object.

KillauraFeature

Maps the Killaura feature.

TypeNameDescriptionSignature

function

getTarget

Returns the current Killaura Target, if not attacking - null.

Entity()

function

isAutoBlocked

Whether the block state is currently active.

boolean()

function

getRotYaw

Returns the current yaw rotation to target.

decimal()

function

getRotPitch

Returns the current pitch rotation to target.

decimal()

AntibotFeature

Maps the Antibot feature.

TypeNameDescriptionSignature

function

isPlayerBot

Whether the supplied player is a bot.

boolean(EntityLivingBase)

Last updated