All Downloads are FREE. Search and download functionalities are using the official Maven repository.

dev.jorel.commandapi.arguments.PreviewInfo Maven / Gradle / Ivy

There is a newer version: 9.5.3
Show newest version
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) {

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy