ICommandSender
Link to icommandsender
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
Link to zengetter
ZenGetter | 반환 타입 |
---|---|
ZenGetter displayName | 반환 타입 string |
ZenGetter position | 반환 타입 IBlockPos |
ZenGetter world | 반환 타입 IWorld |
ZenGetter server | 반환 타입 IServer |
ZenMethods
Link to zenmethods
Send Message
Link to send-message
Takes a String Returns void (nothing).
ZenScript Copysender.sendMessage(String text);
Send Rich Text Message
Link to send-rich-text-message
Takes an ITextComponent Returns void (nothing).
ZenScript Copysender.sendRichTextMessage(ITextComponent textComponent);