net.minecraft.command.CommandHandler Java Examples
The following examples show how to use
net.minecraft.command.CommandHandler.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: EnderStorage.java From EnderStorage with MIT License | 4 votes |
@EventHandler public void serverStart(FMLServerStartingEvent event) { CommandHandler commandManager = (CommandHandler) event.getServer().getCommandManager(); commandManager.registerCommand(new CommandEnderStorage()); }
Example #2
Source File: ChunkLoaderProxy.java From ChickenChunks with MIT License | 4 votes |
public void registerCommands(FMLServerStartingEvent event) { CommandHandler commandManager = (CommandHandler)event.getServer().getCommandManager(); commandManager.registerCommand(new CommandChunkLoaders()); commandManager.registerCommand(new CommandDebugInfo()); }
Example #3
Source File: WirelessRedstoneCore.java From WirelessRedstone with MIT License | 4 votes |
@EventHandler public void serverStarting(FMLServerStartingEvent event) { CommandHandler commandManager = (CommandHandler) event.getServer().getCommandManager(); commandManager.registerCommand(new CommandFreq()); }