public class TextComponentHelper
extends java.lang.Object
修飾子とタイプ | メソッドと説明 |
---|---|
static TextComponent |
createComponentTranslation(ICommandSource source,
java.lang.String translation,
java.lang.Object... args)
Detects when sending to a vanilla client and falls back to sending english,
since they don't have the lang data necessary to translate on the client.
|
public static TextComponent createComponentTranslation(ICommandSource source, java.lang.String translation, java.lang.Object... args)