CommandAPI 9.7.0
An API for the command UI introduced in Minecraft 1.13
|
A simple representation of Minecraft's CommandListenerWrapper, in the form of Bukkit's ProxiedCommandSender. More...
Public Member Functions | |
Location | getLocation () |
Returns the location that this native command sender represents. More... | |
World | getWorld () |
Returns the world that this native command sender represents. More... | |
Static Public Member Functions | |
static NativeProxyCommandSender | from (CommandSender caller, CommandSender callee, Location location, World world) |
Constructs a NativeProxyCommandSender, which is basically Minecraft's CommandListenerWrapper. More... | |
A simple representation of Minecraft's CommandListenerWrapper, in the form of Bukkit's ProxiedCommandSender.
|
static |
Constructs a NativeProxyCommandSender, which is basically Minecraft's CommandListenerWrapper.
caller | the command sender that actually sent the command |
callee | the command sender that will be executing the command |
location | the proxied location that the command will be run at |
world | the proxied world that the command will be run in |
Location dev.jorel.commandapi.wrappers.NativeProxyCommandSender.getLocation | ( | ) |
Returns the location that this native command sender represents.
World dev.jorel.commandapi.wrappers.NativeProxyCommandSender.getWorld | ( | ) |
Returns the world that this native command sender represents.