getRandom

open fun getRandom(filter: Predicate<World>): Optional<World>

Gets a random world that matches the specified filter

Return

a random world matching the specified filter

Parameters

filter

the world filter


open fun getRandom(worldNumber: Array<Int>): Optional<World>

Gets a random world with one of the specified world numbers

Return

a random world with one of the specified world numbers

Parameters

worldNumber

the world numbers