public class Utils1_9
extends java.lang.Object
Constructor and Description |
---|
Utils1_9() |
Modifier and Type | Method and Description |
---|---|
static org.bukkit.inventory.ItemStack[] |
getInventoryContents(org.bukkit.inventory.PlayerInventory inventory) |
static org.bukkit.inventory.ItemStack |
getItemInHand(org.bukkit.inventory.PlayerInventory inventory)
Get a player's item in hand.
|
org.bukkit.Location |
getLocation(org.bukkit.inventory.Inventory inventory)
Get the location of an inventory.
|
static void |
sendTitle(org.bukkit.entity.Player player,
java.lang.String string,
java.lang.String subTitle) |
static void |
setItemInHand(org.bukkit.inventory.PlayerInventory inventory,
org.bukkit.inventory.ItemStack item)
Set a player's item in hand.
|
public org.bukkit.Location getLocation(org.bukkit.inventory.Inventory inventory)
inventory
- public static void setItemInHand(org.bukkit.inventory.PlayerInventory inventory, org.bukkit.inventory.ItemStack item)
inventory
- item
- public static org.bukkit.inventory.ItemStack getItemInHand(org.bukkit.inventory.PlayerInventory inventory)
inventory
- public static org.bukkit.inventory.ItemStack[] getInventoryContents(org.bukkit.inventory.PlayerInventory inventory)
public static void sendTitle(org.bukkit.entity.Player player, java.lang.String string, java.lang.String subTitle)