public abstract class MixinServerCommandManager extends net.minecraft.command.CommandHandler implements IMixinServerCommandManager
Constructor and Description |
---|
MixinServerCommandManager() |
Modifier and Type | Method and Description |
---|---|
int |
executeCommand(net.minecraft.command.ICommandSender sender,
String command) |
List |
getTabCompletionOptions(net.minecraft.command.ICommandSender sender,
String input,
net.minecraft.util.BlockPos pos) |
net.minecraft.command.ICommand |
registerCommand(net.minecraft.command.ICommand command) |
void |
registerEarlyCommands(org.spongepowered.api.Game game) |
void |
registerLowPriorityCommands(org.spongepowered.api.Game game) |
MinecraftCommandWrapper |
wrapCommand(net.minecraft.command.ICommand command) |
public int executeCommand(net.minecraft.command.ICommandSender sender, String command)
executeCommand
in interface net.minecraft.command.ICommandManager
executeCommand
in class net.minecraft.command.CommandHandler
public net.minecraft.command.ICommand registerCommand(net.minecraft.command.ICommand command)
registerCommand
in class net.minecraft.command.CommandHandler
public MinecraftCommandWrapper wrapCommand(net.minecraft.command.ICommand command)
wrapCommand
in interface IMixinServerCommandManager
public void registerLowPriorityCommands(org.spongepowered.api.Game game)
registerLowPriorityCommands
in interface IMixinServerCommandManager
public void registerEarlyCommands(org.spongepowered.api.Game game)
registerEarlyCommands
in interface IMixinServerCommandManager
public List getTabCompletionOptions(net.minecraft.command.ICommandSender sender, String input, net.minecraft.util.BlockPos pos)
getTabCompletionOptions
in interface net.minecraft.command.ICommandManager
getTabCompletionOptions
in class net.minecraft.command.CommandHandler