Rise 6 Scripting API
  • Introduction
  • Examples
    • Simple vanilla hop
    • Simple collide fly bypass
    • Events example
    • Example settings
    • Exempted value speed bypass
    • Packet nofall
    • Killaura
    • Arraylist
  • API Documentation
    • Scripting metadata
    • Objects
      • FontRenderer
      • Vector
        • Vector3
        • Vector2
      • ItemStack
      • BlockPos
      • Block
      • Inventory
      • Command
      • Module
      • EntityLiving
      • Entity
    • Global namespaces
      • render
      • input
      • world
      • rise
      • player
      • mc
      • network
      • packet
    • Events
      • Load event
      • Unload event
      • Module events
        • Attack event
        • World Change Event
        • Module Toggle Event
        • Server Kick event
        • Game event
        • Chat input event
        • Click event
        • Entity render event
        • Hit slow down event
        • Jump event
        • Keyboard Input event
        • Kill event
        • Move input event
        • Post motion event
        • Pre motion event
        • Strafe event
        • Pre update event
        • Render 2D event
        • Render 3D event
        • Water event
        • Tick event
        • Slow down event
      • onExecute event
Powered by GitBook
On this page
  • registerModule(name, description): Module
  • setName(name): Undefined
  • getModules(): Module[]
  • getModule(name): Module
  • registerCommand(name, description): Command
  • getCommands(): Command[]
  • getCommand(String name): Command
  • displayChat(String message): Undefined
  • getRiseName(): String
  • getRiseVersion(): String
  • getSystemMillis(): Number
  • newVec2(x, y): Vector2
  • newVec3(x, y, z): Vector3
  • displayInfoNotification(title, message, time?): Undefined
  • pingspoof(delay, normal?, teleport?, velocity?, entity?): Undefined
  • blink(): Undefined
  • dispatch(): Undefined
  • pingspoof(Number amount): Undefined
  • getFPS(): Number
  • getPing(): Number
  • isBot(Number entityID): Boolean
  • isFriend(String entityName): Boolean
  • getRotations(Vector3 positionToRotate): Number[]
  • getRotations(Number entityID): Number[]
  • threadPool(Function function): Undefined
  • thread(Function function): Undefined
  1. API Documentation
  2. Global namespaces

rise

This page will go over the Rise API namespace.

registerModule(name, description): Module

Argument
Type
Description

name

String

Name of the module.

description

String

Description of the module.

Returns and registers a new Module with custom name and description.

setName(name): Undefined

Argument
Type
Description

name

String

New name of the client.

Renames the client to the new name.

getModules(): Module[]

Returns an array of every module.

getModule(name): Module

Argument
Type
Description

name

String

The name of the module.

Returns a module by name.

registerCommand(name, description): Command

Argument
Type
Description

name

String

Name of the command

description

String

Description of the command.

Returns and registers a new Command with custom name and description.

getCommands(): Command[]

Returns an array of every command.

getCommand(String name): Command

Argument
Type
Description

name

String

The name of the command.

Returns a command by name.

displayChat(String message): Undefined

Argument
Type
Description

message

String

Message to display.

Displays a message in chat.

getRiseName(): String

Returns the client name.

getRiseVersion(): String

Returns the client version.

getSystemMillis(): Number

Returns System.currentTimeMillis().

newVec2(x, y): Vector2

Argument
Type
Description

x

Number

X position

y

Number

Y position

Returns a new Vector2 with X and Y as points.

newVec3(x, y, z): Vector3

Argument
Type
Description

x

Number

X position

y

Number

Y position

z

Number

Z position

Returns a new Vector3 with X, Y, Z as points.

displayInfoNotification(title, message, time?): Undefined

Argument
Type
Description

title

String

Title of the notification.

message

String

Body/message of the notification.

time

Number | undefined

The amount of time to diplsay the notification for. This parameter is optional.

Displays a new Information notification.

pingspoof(delay, normal?, teleport?, velocity?, entity?): Undefined

Argument
Type
Description

delay

Number

The ping delay to use/spoof.

normal

Boolean | undefined

The ping spoof type to use. This parameter is optional.

teleport

Boolean | undefined

The ping spoof type to use. This parameter is optional.

velocity

Boolean | undefined

The ping spoof type to use. This parameter is optional.

entity

Boolean | undefined

The ping spoof type to use. This parameter is optional.

Spoofs the ping. The default mode is normal.

blink(): Undefined

Blinks the player.

dispatch(): Undefined

Sends all delayed/blinked packets.

pingspoof(Number amount): Undefined

Delays packets for the amount (in ms).

getFPS(): Number

Gets FPS.

getPing(): Number

Gets ping to the current server.

isBot(Number entityID): Boolean

Returns true if the entity is detected by the antibot.

isFriend(String entityName): Boolean

Returns true if the entity is a friend.

getRotations(Vector3 positionToRotate): Number[]

Returns an array with the first result being the yaw, and the second being the pitch

getRotations(Number entityID): Number[]

Returns an array with the first result being the yaw, and the second being the pitch

threadPool(Function function): Undefined

Runs a function on the shared Rise ThreadPool, may interfere with other parts of the client if the code you run on it is slow.

thread(Function function): Undefined

Runs code on a new thread.

PreviousworldNextplayer

Last updated 1 year ago