public class LocatableBlockSender extends Object implements LocatableCommandSender
| Constructor and Description |
|---|
LocatableBlockSender(org.bukkit.command.BlockCommandSender blockSender)
Constructs a new
LocatableBlock with an internal command sender of blockSender |
| Modifier and Type | Method and Description |
|---|---|
@NotNull org.bukkit.Location |
getLocation()
Gets the location of this object
|
@NotNull org.bukkit.command.CommandSender |
getSender()
Gets the sender of the command that got executed
|
@NotNull org.bukkit.World |
getWorld()
Gets which world this object is located in
|
public LocatableBlockSender(org.bukkit.command.BlockCommandSender blockSender)
LocatableBlock with an internal command sender of blockSenderblockSender - The internal blockSender to use@NotNull public @NotNull org.bukkit.Location getLocation()
LocatableCommandSendergetLocation in interface LocatableCommandSender@NotNull public @NotNull org.bukkit.World getWorld()
LocatableCommandSendergetWorld in interface LocatableCommandSender@NotNull public @NotNull org.bukkit.command.CommandSender getSender()
LocatableCommandSendergetSender in interface LocatableCommandSenderCopyright © 2024. All rights reserved.