asMinecraftRandom

fun Random.asMinecraftRandom(): RandomSource

Returns a Minecraft RandomSource wrapped this Kotlin Random.

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