Class CommandLoadAllBackups

java.lang.Object
com.minecolonies.core.commands.colonycommands.CommandLoadAllBackups
All Implemented Interfaces:
IMCCommand, IMCOPCommand

public class CommandLoadAllBackups extends Object implements IMCOPCommand
  • Constructor Details

    • CommandLoadAllBackups

      public CommandLoadAllBackups()
  • Method Details

    • onExecute

      public int onExecute(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandSourceStack> context)
      What happens when the command is executed after preConditions are successful.
      Specified by:
      onExecute in interface IMCCommand
      Parameters:
      context - the context of the command execution
      Returns:
      1 if successful and 0 if incomplete.
    • getName

      public String getName()
      Name string of the command.
      Specified by:
      getName in interface IMCCommand
      Returns:
      the name.