cn.nukkit.command.CommandMap Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of powernukkit Show documentation
Show all versions of powernukkit Show documentation
A Minecraft Bedrock Edition server software implementation made in Java from scratch which supports all new features.
package cn.nukkit.command;
import java.util.List;
/**
* @author MagicDroidX (Nukkit Project)
*/
public interface CommandMap {
void registerAll(String fallbackPrefix, List extends Command> commands);
boolean register(String fallbackPrefix, Command command);
boolean register(String fallbackPrefix, Command command, String label);
void registerSimpleCommands(Object object);
boolean dispatch(CommandSender sender, String cmdLine);
void clearCommands();
Command getCommand(String name);
}