b57804be06
Added Logging Option. Logging of Exceptions is now done via AELogger
21 lines
513 B
Java
21 lines
513 B
Java
package appeng.core.localization;
|
|
|
|
import net.minecraft.util.ChatMessageComponent;
|
|
|
|
public enum PlayerMessages
|
|
{
|
|
ChestCannotReadStorageCell, InvalidMachine, LoadedSettings, SavedSettings, MachineNotPowered,
|
|
|
|
isNowLocked, isNowUnlocked, AmmoDepleted, CommunicationError, OutOfRange, DeviceNotPowered;
|
|
|
|
String getName()
|
|
{
|
|
return "chat.appliedenergistics2." + toString();
|
|
}
|
|
|
|
public ChatMessageComponent get()
|
|
{
|
|
return ChatMessageComponent.createFromTranslationKey( getName() );
|
|
}
|
|
|
|
}
|