2013-12-27 23:59:59 +01:00
|
|
|
package appeng.core.localization;
|
|
|
|
|
|
|
|
import net.minecraft.util.ChatMessageComponent;
|
|
|
|
import appeng.core.AELog;
|
|
|
|
|
|
|
|
public enum PlayerMessages
|
|
|
|
{
|
2014-02-03 03:30:52 +01:00
|
|
|
ChestCannotReadStorageCell, InvalidMachine, LoadedSettings, SavedSettings, MachineNotPowered, isNowLocked, isNowUnlocked, AmmoDepleted, CommunicationError;
|
2013-12-27 23:59:59 +01:00
|
|
|
|
|
|
|
private PlayerMessages() {
|
|
|
|
AELog.localization( "chat", getName() );
|
|
|
|
}
|
|
|
|
|
|
|
|
String getName()
|
|
|
|
{
|
|
|
|
return "chat.appliedenergistics2." + toString();
|
|
|
|
}
|
|
|
|
|
|
|
|
public ChatMessageComponent get()
|
|
|
|
{
|
|
|
|
return ChatMessageComponent.createFromTranslationKey( getName() );
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|