getValue

fun <T> Registry<T>.getValue(key: String?): T?
fun <T> Registry<T>.getValue(key: Key?): T?
fun <T> DefaultedRegistry<T>.getValue(key: String?): T
fun <T> DefaultedRegistry<T>.getValue(key: Key?): T
fun <T> ResourceKey<Registry<T>>.getValue(id: ResourceLocation): T?
fun <T> ResourceKey<Registry<T>>.getValue(key: String): T?
fun <T : Any> RegistryAccess.getValue(key: ResourceKey<T>): T?