Renamed items, added back waila.
This commit is contained in:
@@ -20,6 +20,8 @@ package appeng.core.localization;
|
||||
|
||||
|
||||
import net.minecraft.client.resources.I18n;
|
||||
import net.minecraft.util.text.ITextComponent;
|
||||
import net.minecraft.util.text.TranslationTextComponent;
|
||||
|
||||
|
||||
public enum WailaText
|
||||
@@ -64,4 +66,14 @@ public enum WailaText
|
||||
return this.root + '.' + this.toString();
|
||||
}
|
||||
|
||||
public ITextComponent textComponent()
|
||||
{
|
||||
return new TranslationTextComponent(this.root + '.' + this.toString());
|
||||
}
|
||||
|
||||
public ITextComponent textComponent(Object... args)
|
||||
{
|
||||
return new TranslationTextComponent(this.root + '.' + this.toString(), args);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user