EmptyTranslationsException .java

net.minecraft.client.resources.language.EmptyTranslationsException (class, 18 lines): members: getLanguageCode, languageCode. imports: EnvType.

net.minecraft.client.resources.languageclass18 linesclientextends RuntimeException412 B

API Surface (1)

String getLanguageCode()

Fields & Constants (1)

languageCode

Full Source

EmptyTranslationsException.java18 lines · Minecraft 26.3 · verbatim
1
package net.minecraft.client.resources.language;
2
3
import net.fabricmc.api.EnvType;
4
import net.fabricmc.api.Environment;
5
6
@Environment(EnvType.CLIENT)
7
class EmptyTranslationsException extends RuntimeException {
8
	private final String languageCode;
9
10
	EmptyTranslationsException(final String languageCode) {
11
		this.languageCode = languageCode;
12
	}
13
14
	public String getLanguageCode() {
15
		return this.languageCode;
16
	}
17
}
18

Decompiled Minecraft 26.3 source of EmptyTranslationsException (net/minecraft/client/resources/language/EmptyTranslationsException.java) with Mojang official mappings, stored verbatim on the site.