Class TestCommand

java.lang.Object
io.github.icrazyblaze.twitchmod.command.TestCommand
All Implemented Interfaces:
com.mojang.brigadier.Command<net.minecraft.commands.CommandSourceStack>

public class TestCommand extends Object implements com.mojang.brigadier.Command<net.minecraft.commands.CommandSourceStack>
  • Field Summary

    Fields inherited from interface com.mojang.brigadier.Command

    SINGLE_SUCCESS
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static com.mojang.brigadier.builder.ArgumentBuilder<net.minecraft.commands.CommandSourceStack,​?>
     
    int
    run​(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandSourceStack> context)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • TestCommand

      public TestCommand()
  • Method Details

    • register

      public static com.mojang.brigadier.builder.ArgumentBuilder<net.minecraft.commands.CommandSourceStack,​?> register()
    • run

      public int run(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandSourceStack> context) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Specified by:
      run in interface com.mojang.brigadier.Command<net.minecraft.commands.CommandSourceStack>
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException