Level.executeCommand(par1String, par2boolean);
執行指令
Level.executeCommand("time set day", 0); //设置时间为白天 Level.executeCommand("me HelloWorld", 0); //聊天栏输出“ * 服务器 HelloWorld”
Template:ModPE