ICommandManager .java

net.minecraft.command.ICommandManager (interface): members: getTabCompletionOptions, getPossibleCommands, executeCommand, getCommands. imports: BlockPos.

net.minecraft.commandinterface26 linescommon955 B

API Surface (0)

No public/protected methods detected (fields or constants only).

Code Graph: Dependencies (3)

Edges (calls / imports / inherits / references) resolved by graphify from the AST. Every chip opens the class source.

Full Source

ICommandManager.java26 lines · MCP 1.8.9 · verbatimOriginal ↗
1
package net.minecraft.command;
2
3
import java.util.List;
4
import java.util.Map;
5
import net.minecraft.util.BlockPos;
6
7
public interface ICommandManager
8
{
9
    /**
10
     * Attempt to execute a command. This method should return the number of times that the command was executed. If the
11
     * command does not exist or if the player does not have permission, 0 will be returned. A number greater than 1 can
12
     * be returned if a player selector is used.
13
     *  
14
     * @param sender The person who executed the command. This could be an EntityPlayer, RCon Source, Command Block,
15
     * etc.
16
     * @param rawCommand The raw arguments that were passed. This includes the command name.
17
     */
18
    int executeCommand(ICommandSender sender, String rawCommand);
19
20
    List<String> getTabCompletionOptions(ICommandSender sender, String input, BlockPos pos);
21
22
    List<ICommand> getPossibleCommands(ICommandSender sender);
23
24
    Map<String, ICommand> getCommands();
25
}
26

Deobfuscated MCP 1.8.9 source of ICommandManager from Marcelektro/MavenMCP-1.8.9 (net/minecraft/command/ICommandManager.java), stored verbatim.