Tribot SDK
Toggle table of contents
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
Tribot SDK
script-sdk
/
org.tribot.script.sdk.antiban
/
PlayerPreferences
/
Generator
Generator
open
class
Generator
Class to assist with generating unique player-specific preferences
Members
Functions
get
Random
Link copied to clipboard
open
fun
getRandom
(
)
:
Random
Creates a new
Random
seeded with this seed
normal
Link copied to clipboard
open
fun
normal
(
min
:
Double
,
max
:
Double
,
mean
:
Double
,
sd
:
Double
)
:
Double
open
fun
normal
(
min
:
Int
,
max
:
Int
,
mean
:
Int
,
sd
:
Int
)
:
Int
open
fun
normal
(
min
:
Long
,
max
:
Long
,
mean
:
Long
,
sd
:
Long
)
:
Long
Randomly generates a value normally distributed in the range of [min, max] with the specified mean and standard deviation
uniform
Link copied to clipboard
open
fun
uniform
(
min
:
Double
,
max
:
Double
)
:
Double
open
fun
uniform
(
min
:
Int
,
max
:
Int
)
:
Int
open
fun
uniform
(
min
:
Long
,
max
:
Long
)
:
Long
Randomly generates a value uniformly distributed in the range of [min, max]