Applied-Energistics-2-tiler.../core/localization/PlayerMessages.java

23 lines
537 B
Java
Raw Normal View History

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