The ICommandSender interface is used the base of each Entity and also some other types in CraftTweaker.
Each IEntity and IPlayer implements this!

Импорт пакета

Link to импорт-пакета

It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import.
import crafttweaker.command.ICommandSender;

ZenGetterВозвращаемый тип
ZenGetter
displayName
Возвращаемый тип
string
ZenGetter
position
Возвращаемый тип
IBlockPos
ZenGetter
world
Возвращаемый тип
IWorld
ZenGetter
server
Возвращаемый тип
IServer

Takes a String Returns void (nothing).

ZenScript
Copy
sender.sendMessage(String text);

Send Rich Text Message

Link to send-rich-text-message

Takes an ITextComponent Returns void (nothing).

ZenScript
Copy
sender.sendRichTextMessage(ITextComponent textComponent);