public class MCCommandManager
extends java.lang.Object
implements crafttweaker.api.command.ICommandManager
| Constructor and Description |
|---|
MCCommandManager(net.minecraft.command.ICommandManager commandManager) |
| Modifier and Type | Method and Description |
|---|---|
int |
executeCommand(crafttweaker.api.command.ICommandSender sender,
java.lang.String rawCommand) |
java.util.Map<java.lang.String,crafttweaker.api.command.ICommand> |
getCommands() |
java.util.List<crafttweaker.api.command.ICommand> |
getPossibleCommands(crafttweaker.api.command.ICommandSender sender) |
java.util.List<java.lang.String> |
getTabCompletions(crafttweaker.api.command.ICommandSender sender,
java.lang.String input,
crafttweaker.api.world.IBlockPos pos) |
public MCCommandManager(net.minecraft.command.ICommandManager commandManager)
public int executeCommand(crafttweaker.api.command.ICommandSender sender,
java.lang.String rawCommand)
executeCommand in interface crafttweaker.api.command.ICommandManagerpublic java.util.List<java.lang.String> getTabCompletions(crafttweaker.api.command.ICommandSender sender,
java.lang.String input,
crafttweaker.api.world.IBlockPos pos)
getTabCompletions in interface crafttweaker.api.command.ICommandManagerpublic java.util.List<crafttweaker.api.command.ICommand> getPossibleCommands(crafttweaker.api.command.ICommandSender sender)
getPossibleCommands in interface crafttweaker.api.command.ICommandManagerpublic java.util.Map<java.lang.String,crafttweaker.api.command.ICommand> getCommands()
getCommands in interface crafttweaker.api.command.ICommandManager