public static interface CommandUtil.ReplacementMessageGenerator
Modifier and Type | Method and Description |
---|---|
static CommandUtil.ReplacementMessageGenerator |
forNewCommand(CommandUtil.NewCommandGenerator generator)
Generate text that says "Please use [cmd] instead." and allows clicking to dump
the command to the text box.
|
com.sk89q.worldedit.util.formatting.text.Component |
getReplacement(org.enginehub.piston.Command oldCommand,
org.enginehub.piston.CommandParameters oldParameters) |
static CommandUtil.ReplacementMessageGenerator forNewCommand(CommandUtil.NewCommandGenerator generator)
com.sk89q.worldedit.util.formatting.text.Component getReplacement(org.enginehub.piston.Command oldCommand, org.enginehub.piston.CommandParameters oldParameters)