dev.jorel.commandapi.arguments.PreviewInfo Maven / Gradle / Ivy
package dev.jorel.commandapi.arguments;
import dev.jorel.commandapi.commandsenders.AbstractPlayer;
public record PreviewInfo (
/** @param player the Player typing this command */
AbstractPlayer> player,
/**
* @param input the current partially typed argument. For example "/mycmd tes"
* will return "tes"
*/
String input,
/**
* @param fullInput a string representing the full current input (including /)
*/
String fullInput,
/**
* @param parsedInput the parsed input as a BaseComponent[] (spigot) or
* Component (paper)
*/
T parsedInput) {
}