Class TreeCommandBuilder<S,CT extends TreeCommandBuilder<S,CT>>

java.lang.Object
de.placeblock.commandapi.core.tree.builder.TreeCommandBuilder<S,CT>
Direct Known Subclasses:
LiteralTreeCommandBuilder, ParameterTreeCommandBuilder

public abstract class TreeCommandBuilder<S,CT extends TreeCommandBuilder<S,CT>> extends Object
Author: Placeblock
  • Constructor Details

    • TreeCommandBuilder

      public TreeCommandBuilder()
  • Method Details

    • getThis

      protected abstract CT getThis()
    • then

      public CT then(TreeCommandBuilder<S,?> builder)
    • run

      public CT run(CommandExecutor<S> callback)
    • withDescription

      public CT withDescription(net.kyori.adventure.text.TextComponent description)
    • withPermission

      public CT withPermission(String permission)
    • build

      public abstract TreeCommand<S> build(Command<S> command)