Package logisticspipes.commands.commands

Source Code of logisticspipes.commands.commands.WrapperCommand

package logisticspipes.commands.commands;

import logisticspipes.commands.abstracts.SubCommandHandler;
import logisticspipes.commands.commands.wrapper.EnableCommand;
import logisticspipes.commands.commands.wrapper.ListCommand;
import logisticspipes.commands.commands.wrapper.ShowCommand;
import net.minecraft.command.ICommandSender;

public class WrapperCommand extends SubCommandHandler {
 
  @Override
  public String[] getNames() {
    return new String[]{"wrapper"};
  }

  @Override
  public boolean isCommandUsableBy(ICommandSender sender) {
    return true;
  }

  @Override
  public String[] getDescription() {
    return new String[]{"wrapper controll commands"};
  }

  @Override
  public void registerSubCommands() {
    this.registerSubCommand(new ListCommand());
    this.registerSubCommand(new EnableCommand());
    this.registerSubCommand(new ShowCommand());
  }
}
TOP

Related Classes of logisticspipes.commands.commands.WrapperCommand

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.