public class SleepCallback
extends java.lang.Object
Constructor and Description |
---|
SleepCallback() |
Modifier and Type | Method and Description |
---|---|
static void |
fatigueHook(int fatigue)
Fatigue hook which is called by the patched jar whenever the client receives an update on
fatigue.
|
static void |
onGameTick() |
static void |
setOCRType(OCRType type) |
static void |
sleepHook(byte[] packet,
int length)
Sleep hook which is called by the patched jar whenever the client goes to sleep.
|
public static void sleepHook(byte[] packet, int length)
packet
- -- the raw packet data which contains the sleep imagelength
- -- the length of the raw packet datapublic static void fatigueHook(int fatigue)
fatigue
- -- the current fatiguepublic static void onGameTick()
public static void setOCRType(OCRType type)