client.addEnemy(String username);
Adds the specified player to your enemies list.
client.addFriend(String username);
Adds the specified player to your friends list.
boolean allowEditing = client.allowEditing();
Returns true if the player can edit the world.
boolean allowFlying = client.allowFlying();
Returns true if the player has the ability to fly.
client.async(() -> {});
Executes a task asynchronously, allowing it to run independently of the main thread.
Performs an attack on the specified entity.
Sends the specified message in chat.
Closes the currently open screen.
Performs a debug action using the specified key.
Drops the currently held item, optionally dropping the entire stack.
enableMovementFix
Enables movement correction for the current tick. Call on the getRotations event when returning a custom yaw.
Returns the direction the player is moving based on input.
Returns the dimensions of the Minecraft window as an array [width, height, size].
Returns the forward movement value of the player.
Returns the current frames per second (FPS) of the client.
Returns the amount of free memory available to the client.
Returns the maximum memory allocated to the client.
Returns the motion vector of the local player.
Returns the Entity object of the local player.
getRecordPlaying
Returns the record string above the hotbar.
getRenderArmPitch
Returns the arm pitch of the player.
getRenderArmYaw
Returns the arm yaw of the player.
getResourcePacks
Returns a list of resource packs as an array [name, description].
Returns the yaw and pitch to aim at the specified position as an array [yaw, pitch].
getRotationsToBlock
Returns the yaw and pitch to aim at the specified block and face as an array [yaw, pitch].
getRotationsToEntity
Returns the yaw and pitch to aim at the specified entity as an array [yaw, pitch].
Returns the name of the currently open screen.
getServerDirection
Returns the server yaw of the player.
Returns the IP address of the connected server.
Returns the strafe movement value of the player.
Returns the current subtitle on screen.
Returns the footer in the tablist.
Returns the header in the tablist.
Returns the current title on screen.
Returns the total memory currently in use by the client.
Returns the Raven client unique identifier.
Returns the Raven client username.
Returns true if the minecraft instance is in focus.
Returns true if the player is in creative mode.
Returns true if the player is moving diagonally.
Returns true if the specified username is on the enemy list.
isFacingDiagonal
Returns true if the player is facing diagonally.
Returns true if the player is currently flying.
Returns true if the specified username is on the friends list.
Returns true if the player is currently jumping.
Returns true if the player is actively moving.
Returns true if the player is riding another entity.
Returns true if the player is in a single-player world.
Returns true if the player is crouched.
Returns true if the player is in gamemode spectator.
Makes the player perform a jump.
Writes the specified message to latest.log.
Plays a ping sound.
Places a block at the specified target with a defined hit vector.
Plays the specified sound with the given volume and pitch.
Prints the specified message to the chat.
Sends a serverside packet to yourself.
processPacketNoEvent
Sends a serverside packet to yourself without triggering events.
Performs a raycast and returns the position, offset, and face of the hit block.
Performs a raycast and returns the hit entity, offset, and squared distance.
Removes the specified username from the enemy list.
Removes the specified player from the friends list.
removePotionEffect
Removes a potion effect by its ID client-side.
Sends the specified packet to the server.
sendPacketNoEvent
Sends the specified packet to the server without triggering events.
Sets the flying state of the player
Sets the forward movement value of the player.
Activates the using animation on the held item of the player.
Sets the jumping state of the player.
Sets the motion vector of the player.
setRenderArmPitch
Sets the arm pitch of the player.
setRenderArmYaw
Sets the arm yaw of the player.
Sets the sneaking state of the player.
Sets the movement speed of the player.
Sets the sprinting state of the player.
setSpeedForward
Sets the forward speed of the player.
Sets the strafe movement value of the player.
Sets the speed multiplier of the player.
Pauses execution on the current thread for the specified duration in milliseconds.
Performs an arm swing for the player.
Returns the current system time in milliseconds.