Class SpectateCommand

java.lang.Object
com.pixelmonmod.pixelmon.command.PixelCommand
com.pixelmonmod.pixelmon.command.impl.SpectateCommand

public class SpectateCommand extends PixelCommand
Spectates a battle between other players.
  • Constructor Details

    • SpectateCommand

      public SpectateCommand(com.mojang.brigadier.CommandDispatcher<net.minecraft.commands.CommandSourceStack> dispatcher)
  • Method Details

    • getName

      public String getName()
      Overrides:
      getName in class PixelCommand
    • getUsage

      public String getUsage(net.minecraft.commands.CommandSourceStack sender)
      Overrides:
      getUsage in class PixelCommand
    • execute

      public void execute(net.minecraft.commands.CommandSourceStack sender, String[] args) throws net.minecraft.commands.CommandRuntimeException
      Overrides:
      execute in class PixelCommand
      Throws:
      net.minecraft.commands.CommandRuntimeException
    • getTabCompletions

      public List<String> getTabCompletions(net.minecraft.server.MinecraftServer server, net.minecraft.commands.CommandSourceStack sender, String[] args, net.minecraft.core.BlockPos pos)
      Overrides:
      getTabCompletions in class PixelCommand