| Modifier and Type | Field and Description |
|---|---|
static Random |
RAND
A simple
Random instance, should only be used on Bukkit's main
thread |
static SecureRandom |
SECURE_RAND
Represents a
SecureRandom with a new, randomly generated seed of
a pseudo-random bitlength every 10 minutes. |
| Modifier and Type | Method and Description |
|---|---|
static ThreadLocalRandom |
THREAD_LOCAL()
Returns the
ThreadLocalRandom specific to the calling thread |
public static final Random RAND
Random instance, should only be used on Bukkit's main
threadpublic static final SecureRandom SECURE_RAND
SecureRandom with a new, randomly generated seed of
a pseudo-random bitlength every 10 minutes.public static final ThreadLocalRandom THREAD_LOCAL()
ThreadLocalRandom specific to the calling threadThreadLocalRandom for the current thread contextCopyright © 2015. All rights reserved.