Protects access to the given value by wrapping it in this class and only exposing it via the access function, which will only be executed in a context where the internal Mutex is locked.
Returns a kotlin.time.Duration for the time the given amount of ticks would take in an ideal scenario.
Returns a Kotlin Random wrapping this RandomSource. This gives you access to the much more polished Kotlin random API.
Returns a Minecraft RandomSource wrapped this Kotlin Random.