public class TimerHack
extends java.lang.Object
| Modifier and Type | Field | Description |
|---|---|---|
static boolean |
ENABLED |
Set this to false (Before using the NoteBlockLib API) to disable the timer hack (Useful if you have your own way of enabling high resolution timers)
|
| Constructor | Description |
|---|---|
TimerHack() |
| Modifier and Type | Method | Description |
|---|---|---|
static void |
ensureRunning() |
Starts a thread which indefinitely sleeps to force the JVM to enable high resolution timers on Windows.
|