public interface ICommandManager
Modifier and Type | Method and Description |
---|---|
boolean |
execute(java.lang.String string) |
boolean |
execute(net.minecraft.util.Tuple<java.lang.String,java.util.List<ICommandArgument>> expanded) |
IBaritone |
getBaritone() |
ICommand |
getCommand(java.lang.String name) |
Registry<ICommand> |
getRegistry() |
java.util.stream.Stream<java.lang.String> |
tabComplete(java.lang.String prefix) |
java.util.stream.Stream<java.lang.String> |
tabComplete(net.minecraft.util.Tuple<java.lang.String,java.util.List<ICommandArgument>> expanded) |
IBaritone getBaritone()
Registry<ICommand> getRegistry()
ICommand getCommand(java.lang.String name)
name
- The command name to search for.boolean execute(java.lang.String string)
boolean execute(net.minecraft.util.Tuple<java.lang.String,java.util.List<ICommandArgument>> expanded)
java.util.stream.Stream<java.lang.String> tabComplete(net.minecraft.util.Tuple<java.lang.String,java.util.List<ICommandArgument>> expanded)
java.util.stream.Stream<java.lang.String> tabComplete(java.lang.String prefix)