Applied-Energistics-2-tiler.../core/localization/PlayerMessages.java
2014-02-02 20:30:52 -06:00

24 lines
585 B
Java

package appeng.core.localization;
import net.minecraft.util.ChatMessageComponent;
import appeng.core.AELog;
public enum PlayerMessages
{
ChestCannotReadStorageCell, InvalidMachine, LoadedSettings, SavedSettings, MachineNotPowered, isNowLocked, isNowUnlocked, AmmoDepleted, CommunicationError;
private PlayerMessages() {
AELog.localization( "chat", getName() );
}
String getName()
{
return "chat.appliedenergistics2." + toString();
}
public ChatMessageComponent get()
{
return ChatMessageComponent.createFromTranslationKey( getName() );
}
}