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

25 lines
565 B
Java
Raw Normal View History

package appeng.core.localization;
import net.minecraft.util.ChatMessageComponent;
import appeng.core.AELog;
public enum PlayerMessages
{
2014-01-20 17:41:37 +01:00
ChestCannotReadStorageCell, InvalidMachine, LoadedSettings, SavedSettings, MachineNotPowered, isNowLocked, isNowUnlocked, AmmoDepleted;
private PlayerMessages() {
AELog.localization( "chat", getName() );
}
String getName()
{
return "chat.appliedenergistics2." + toString();
}
public ChatMessageComponent get()
{
return ChatMessageComponent.createFromTranslationKey( getName() );
}
}