Class CommandContext

java.lang.Object
net.minestom.server.command.builder.CommandContext

public class CommandContext extends Object
Class used to retrieve argument data in a CommandExecutor.

All id are the one specified in the Argument constructor.

All methods are @NotNull in the sense that you should not have to verify their validity since if the syntax is called, it means that all of its arguments are correct. Be aware that trying to retrieve an argument not present in the syntax will result in a NullPointerException.