public class BukkitUtil extends Object
| Constructor and Description |
|---|
BukkitUtil() |
| Modifier and Type | Method and Description |
|---|---|
static Collection<? extends org.bukkit.entity.Player> |
getOnlinePlayers()
Get list of players.
|
static org.bukkit.inventory.ItemStack |
getPlayerHeadItem() |
static boolean |
isLeftHandClick(org.bukkit.event.player.PlayerInteractEvent e)
Check if the provided PlayerInteractEvent is caused by main hand.
|
public static Collection<? extends org.bukkit.entity.Player> getOnlinePlayers()
public static boolean isLeftHandClick(org.bukkit.event.player.PlayerInteractEvent e)
e - PlayerInteractEvent to checkpublic static org.bukkit.inventory.ItemStack getPlayerHeadItem()