Record Class MockCommandSource

java.lang.Object
java.lang.Record
dev.jorel.commandapi.MockCommandSource
Record Components:
bukkitSender - The Bukkit CommandSender this source represents.
location - The Location where this source is running the command from.
entity - The Entity this source is running the command as.

public record MockCommandSource(org.bukkit.command.CommandSender bukkitSender, org.bukkit.Location location, org.bukkit.entity.Entity entity) extends Record
An NMS independent implementation of CommandSourceStack. Used by Brigadier when parsing and executing commands.