package de.cowtipper.cowlection.command; import net.minecraft.client.Minecraft; import net.minecraft.command.CommandBase; import net.minecraft.command.CommandException; import net.minecraft.command.ICommandSender; public class ReplyCommand extends CommandBase { public ReplyCommand() { } @Override public String getCommandName() { return "rr"; } @Override public String getCommandUsage(ICommandSender sender) { return "/rr "; } @Override public void processCommand(ICommandSender sender, String[] args) throws CommandException { Minecraft.getMinecraft().thePlayer.sendChatMessage("/r " + CommandBase.buildString(args, 0)); } @Override public int getRequiredPermissionLevel() { return 0; } }