client
Client related functions
Encrypt your scripts! https://www.youtube.com/watch?v=MBbXxJQaSxI
addEnemy
Adds a player to the enemy list.
addFriend
Adds a player to the friends list.
allowFlying
Returns whether you are able to fly or not.
async
Allows for concurrent execution, meaning this code runs independently of the main thread, enabling tasks to be processed in parallel without pausing the main thread.
attack
Attacks an entity.
chat
Sends a message in chat.
closeScreen
Closes the current screen.
dropItem
Drops your current held item.
getDirection
Returns the direction the local player is moving based on input.
getDisplaySize
Returns the size of the minecraft window.
property | index |
---|---|
width | 0 |
height | 1 |
getForward
Returns the local player's forward.
getFps
Returns the client's current FPS.
getFreeMemory
Returns the client's current free memory.
getMotion
Returns the local player's motion.
getPlayer
Returns the local player entity.
getUID
Returns your raven id.
getUser
Returns your raven username.
getRenderArmPitch
Returns the local player's arm pitch.
getRotations
Returns the yaw and pitch to aim at a specified position.
property | index | type |
---|---|---|
yaw | 0 | float |
pitch | 1 | float |
getRotationsToBlock
Returns the yaw and pitch to aim at a specified block. Providing a block face to aim at is optional.
property | index | type |
---|---|---|
yaw | 0 | float |
pitch | 1 | float |
getRotationsToEntity
Returns the yaw and pitch to aim at a specified entity.
property | index | type |
---|---|---|
yaw | 0 | float |
pitch | 1 | float |
getScreen
Returns the client's current screen.
getServerIP
Returns the current server's IP address.
getStrafe
Returns the local player's strafe.
getTotalMemory
Returns the client's current total memory.
getWorld
Returns the local player's current world.
worldisCreative
Returns whether you are in creative mode or not.
isDiagonal
Returns whether you are diagonal or not.
isEnemy
Returns whether the given specified is an enemy or not.
isFacingDiagonal
Returns whether you are facing diagonal or not.
isFlying
Returns whether you are flying or not.
isFriend
Returns whether the specified entity is a friend or not.
isJump
Checks whether the local player is jumping or not.
isMoving
Checks whether the local player is moving or not.
isSingleplayer
Returns whether the local world is singleplayer or not.
jump
Makes the local player jump.
log
Prints a message in latest.log
.
ping
Plays a ping noise.
placeBlock
Places a block on the target with the specified hit vector.
playSound
Plays a specified sound.
print
Prints a message in chat.
removeEnemy
Removes a player from the enemy list.
removeFriend
Removes a player from the friends list.
sendPacket
Sends a packet to the server.
sendPacketNoEvent
Sends a packet to the server with no event.
setFlying
Sets local player's fly state.
setForward
Sets the local player's forward.
setJump
Sets the local player's jumping.
setRenderArmPitch
Sets the local player's arm pitch.
setMotion
Sets the local player's motion.
setSneak
Sets the local player's sneaking.
setSprinting
Sets the local player's sprinting.
setSpeed
Sets the local player's speed.
setStrafe
Sets the local player's strafe.
setTimer
Sets a gamespeed multiplier.
sleep
Delays the execution of the current thread for a specified duration.
swing
Swings the local player's arm.
time
Returns the current time in milliseconds.
Last updated