本文整理汇总了Java中net.minecraft.command.CommandTime类的典型用法代码示例。如果您正苦于以下问题:Java CommandTime类的具体用法?Java CommandTime怎么用?Java CommandTime使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
CommandTime类属于net.minecraft.command包,在下文中一共展示了CommandTime类的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。
示例1: ServerCommandManager
import net.minecraft.command.CommandTime; //导入依赖的package包/类
public ServerCommandManager() {
this.func_71560_a(new CommandTime());
this.func_71560_a(new CommandGameMode());
this.func_71560_a(new CommandDifficulty());
this.func_71560_a(new CommandDefaultGameMode());
this.func_71560_a(new CommandKill());
this.func_71560_a(new CommandToggleDownfall());
this.func_71560_a(new CommandWeather());
this.func_71560_a(new CommandXP());
this.func_71560_a(new CommandServerTp());
this.func_71560_a(new CommandGive());
this.func_71560_a(new CommandEffect());
this.func_71560_a(new CommandEnchant());
this.func_71560_a(new CommandServerEmote());
this.func_71560_a(new CommandShowSeed());
this.func_71560_a(new CommandHelp());
this.func_71560_a(new CommandDebug());
this.func_71560_a(new CommandServerMessage());
this.func_71560_a(new CommandServerSay());
this.func_71560_a(new CommandSetSpawnpoint());
this.func_71560_a(new CommandGameRule());
this.func_71560_a(new CommandClearInventory());
this.func_71560_a(new ServerCommandTestFor());
this.func_71560_a(new CommandSpreadPlayers());
this.func_71560_a(new CommandPlaySound());
this.func_71560_a(new ServerCommandScoreboard());
if(MinecraftServer.func_71276_C().func_71262_S()) {
this.func_71560_a(new CommandServerOp());
this.func_71560_a(new CommandServerDeop());
this.func_71560_a(new CommandServerStop());
this.func_71560_a(new CommandServerSaveAll());
this.func_71560_a(new CommandServerSaveOff());
this.func_71560_a(new CommandServerSaveOn());
this.func_71560_a(new CommandServerBanIp());
this.func_71560_a(new CommandServerPardonIp());
this.func_71560_a(new CommandServerBan());
this.func_71560_a(new CommandServerBanlist());
this.func_71560_a(new CommandServerPardon());
this.func_71560_a(new CommandServerKick());
this.func_71560_a(new CommandServerList());
this.func_71560_a(new CommandServerWhitelist());
this.func_71560_a(new CommandSetPlayerTimeout());
} else {
this.func_71560_a(new CommandServerPublishLocal());
}
CommandBase.func_71529_a(this);
}
开发者ID:HATB0T,项目名称:RuneCraftery,代码行数:49,代码来源:ServerCommandManager.java
注:本文中的net.minecraft.command.CommandTime类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论