getOrNull

fun <T> Registry<T>.getOrNull(key: String): Holder.Reference<T>?
fun <T> Registry<T>.getOrNull(id: ResourceLocation): Holder.Reference<T>?
fun <T> Registry<T>.getOrNull(key: Key): Holder.Reference<T>?