asMinecraftRandom

fun Random.asMinecraftRandom(): RandomSource(source)

Returns a Minecraft RandomSource wrapped this Kotlin Random.

This should only be used in very simple cases, for example when calling Registry::getRandom.