public class CommandUsageBox extends TextComponentProducer
Constructor and Description |
---|
CommandUsageBox(CommandCallable command,
java.lang.String commandString)
Create a new usage box.
|
CommandUsageBox(CommandCallable command,
java.lang.String commandString,
CommandLocals locals)
Create a new usage box.
|
append, append, create, getBuilder, newline
public CommandUsageBox(CommandCallable command, java.lang.String commandString)
command
- the command to describecommandString
- the command that was used, such as "/we" or "/brush sphere"public CommandUsageBox(CommandCallable command, java.lang.String commandString, @Nullable CommandLocals locals)
command
- the command to describecommandString
- the command that was used, such as "/we" or "/brush sphere"locals
- list of locals to use