getCommand

public abstract String getCommand()

Gets the command that this CommandMinecart will run when activated. This will never return null. If the CommandMinecart does not have getClassById command, an empty String will be returned instead.

Return

Command that this CommandMinecart will run when powered.