java.lang.Object
com.github.darksoulq.abyssallib.server.command.CommandBus

public class CommandBus extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static com.mojang.brigadier.CommandDispatcher<io.papermc.paper.command.brigadier.CommandSourceStack>
     
    static void
    init(com.mojang.brigadier.CommandDispatcher<io.papermc.paper.command.brigadier.CommandSourceStack> dispatcher)
     
    static void
    register(String pluginId, BaseCommand command)
     
    static void
    register(String pluginId, Object handler)
    Deprecated, for removal: This API element is subject to removal in a future version.
    static void
     
    static void
     
    static void
     

    Methods inherited from class java.lang.Object

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

    • CommandBus

      public CommandBus()
  • Method Details

    • init

      public static void init(com.mojang.brigadier.CommandDispatcher<io.papermc.paper.command.brigadier.CommandSourceStack> dispatcher)
    • register

      @Deprecated(forRemoval=true) public static void register(String pluginId, Object handler)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • register

      public static void register(String pluginId, BaseCommand command)
    • reloadAll

      public static void reloadAll()
    • remove

      public static void remove(BaseCommand command)
    • resync

      public static void resync()
    • getDispatcher

      public static com.mojang.brigadier.CommandDispatcher<io.papermc.paper.command.brigadier.CommandSourceStack> getDispatcher()