public class CommandUsageBox extends TextComponentProducer
Constructor and Description |
---|
CommandUsageBox(java.util.List<org.enginehub.piston.Command> commands,
java.lang.String commandString)
Create a new usage box.
|
CommandUsageBox(java.util.List<org.enginehub.piston.Command> commands,
java.lang.String commandString,
org.enginehub.piston.CommandParameters parameters)
Create a new usage box.
|
append, append, create, getBuilder, newline, reset
public CommandUsageBox(java.util.List<org.enginehub.piston.Command> commands, java.lang.String commandString) throws InvalidComponentException
commands
- the commands to describecommandString
- the commands that were used, such as "/we" or "/brush sphere"InvalidComponentException
public CommandUsageBox(java.util.List<org.enginehub.piston.Command> commands, java.lang.String commandString, @Nullable org.enginehub.piston.CommandParameters parameters) throws InvalidComponentException
commands
- the commands to describecommandString
- the commands that were used, such as "/we" or "/brush sphere"parameters
- list of parameters to useInvalidComponentException