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

dev.jorel.commandapi.executors.BukkitExecutionInfo Maven / Gradle / Ivy

There is a newer version: 9.5.3
Show newest version
package dev.jorel.commandapi.executors;

import dev.jorel.commandapi.commandsenders.BukkitCommandSender;

/**
 * This record represents a BukkitExecutionInfo for a command. It provides the sender of a command, as well as it's arguments
 *
 * @param  The type of the sender of a command this BukkitExecutionInfo belongs to
 */
public record BukkitExecutionInfo(

	/**
	 * @return The sender of this command
	 */
	Sender sender,

	/**
	 * This is not intended for public use and is only used internally. The {@link BukkitExecutionInfo#sender()} method should be used instead!
	 *
	 * @return The wrapper type of this command
	 */
	BukkitCommandSender senderWrapper,

	/**
	 * @return The arguments of this command
	 */
	CommandArguments args

) implements ExecutionInfo> {
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy