getOrThrow

fun getOrThrow(id: String): T
fun getOrThrow(id: ResourceLocation): T