Class ScrowCommands<C extends BukkitCommandContext<C>>

java.lang.Object
site.lab0x13.scrow.commands.bukkit.ScrowCommands<C>
All Implemented Interfaces:
site.lab0x13.scrow.commands.IScrowCommands<C>

public class ScrowCommands<C extends BukkitCommandContext<C>> extends Object implements site.lab0x13.scrow.commands.IScrowCommands<C>
  • Constructor Details

    • ScrowCommands

      public ScrowCommands(org.bukkit.plugin.Plugin plugin, CommandContextFactory<C> commandContextFactory)
  • Method Details

    • register

      public void register(site.lab0x13.scrow.commands.model.literal.RootLiteral<C> rootLiteral)
      Specified by:
      register in interface site.lab0x13.scrow.commands.IScrowCommands<C extends BukkitCommandContext<C>>
    • getRootLiteral

      @Nullable public @Nullable site.lab0x13.scrow.commands.model.literal.RootLiteral<C> getRootLiteral(String name)
      Specified by:
      getRootLiteral in interface site.lab0x13.scrow.commands.IScrowCommands<C extends BukkitCommandContext<C>>