This commit is contained in:
@ -6,4 +6,23 @@ public class Messages {
|
||||
public static final String QUIT_MESSAGE = "§8[§c-§8] §7%s";
|
||||
|
||||
public static final String CHAT_FORMAT = "§7%s§8:§f %s";
|
||||
|
||||
public static final String OVERWORLD_PREFIX = "§8[§aOverworld§8] ";
|
||||
public static final String NETHER_PREFIX = "§8[§cNether§8] ";
|
||||
public static final String END_PREFIX = "§8[§dEnd§8] ";
|
||||
public static final String SPECTATOR_PREFIX = "§8[§eSpectator§8] ";
|
||||
public static final String UNKNOWN_PREFIX = "§8[§7Unknown§8] ";
|
||||
|
||||
public static String getDimensionFormatted(String translationKey) {
|
||||
switch(translationKey) {
|
||||
case "minecraft.overworld":
|
||||
return "Overworld";
|
||||
case "minecraft.the_nether":
|
||||
return "Nether";
|
||||
case "minecraft.the_end":
|
||||
return "End";
|
||||
default:
|
||||
return "Unknown";
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user