toMap

fun <T> Registry<T>.toMap(): Map<ResourceLocation, T>