Companion

object Companion

Functions

Link copied to clipboard

Creates a command that does nothing.

Link copied to clipboard

Creates a BasicCommand out of the provided runnable.

Link copied to clipboard
fun select(vararg requirements: Component, command: Supplier<Command>): SelectCommand

Creates a SelectCommand out of the provided command. Note that requirements must be explicitly specified, as the SelectCommand is uncertain of what requirements it will have before being scheduled.