2013-12-27 23:59:59 +01:00
|
|
|
package appeng.core.localization;
|
|
|
|
|
2014-02-09 02:34:52 +01:00
|
|
|
import net.minecraft.util.ChatComponentTranslation;
|
|
|
|
import net.minecraft.util.IChatComponent;
|
2013-12-27 23:59:59 +01:00
|
|
|
|
|
|
|
public enum PlayerMessages
|
|
|
|
{
|
2014-02-03 06:02:54 +01:00
|
|
|
ChestCannotReadStorageCell, InvalidMachine, LoadedSettings, SavedSettings, MachineNotPowered,
|
|
|
|
|
|
|
|
isNowLocked, isNowUnlocked, AmmoDepleted, CommunicationError, OutOfRange, DeviceNotPowered;
|
2013-12-27 23:59:59 +01:00
|
|
|
|
|
|
|
String getName()
|
|
|
|
{
|
|
|
|
return "chat.appliedenergistics2." + toString();
|
|
|
|
}
|
|
|
|
|
2014-02-09 02:34:52 +01:00
|
|
|
public IChatComponent get()
|
2013-12-27 23:59:59 +01:00
|
|
|
{
|
2014-02-09 02:34:52 +01:00
|
|
|
return new ChatComponentTranslation( getName() );
|
2013-12-27 23:59:59 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|