Class TextComponentHelper
java.lang.Object
net.minecraftforge.server.command.TextComponentHelper
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic MutableComponentcreateComponentTranslation(CommandSource source, String translation, 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.private static booleanisVanillaClient(CommandSource sender) 
- 
Constructor Details- 
TextComponentHelperprivate TextComponentHelper()
 
- 
- 
Method Details- 
createComponentTranslationpublic static MutableComponent createComponentTranslation(CommandSource source, String translation, 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.
- 
isVanillaClient
 
-