Interface CommandUtil.ReplacementMessageGenerator
- Enclosing class:
- CommandUtil
public static interface CommandUtil.ReplacementMessageGenerator
-
Method Summary
Modifier and TypeMethodDescriptionforNewCommand
(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)
-
Method Details
-
forNewCommand
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. -
getReplacement
com.sk89q.worldedit.util.formatting.text.Component getReplacement(org.enginehub.piston.Command oldCommand, org.enginehub.piston.CommandParameters oldParameters)
-