public class SpigotInventory extends Inventory
ADMIN_MENU, BAN_MANAGER_MENU, CHEAT_MANAGER, DYE_GRAY, DYE_GREEN, EMPTY, EMPTY_RED, NAME_ACTIVED_CHEAT_MENU, NAME_CHECK_MENU, NAME_FORGE_MOD_MENU, NAME_FREEZE_MENU, NAME_MOD_MENU, SPECIAL_MANAGER
Constructor and Description |
---|
SpigotInventory(org.bukkit.inventory.Inventory inv) |
SpigotInventory(String inventoryName,
int size,
NegativityHolder holder) |
Modifier and Type | Method and Description |
---|---|
void |
addItem(ItemStack build) |
void |
clear() |
boolean |
contains(Material type) |
ItemStack |
get(int slot) |
Object |
getDefault() |
@Nullable PlatformHolder |
getHolder() |
String |
getInventoryName() |
int |
getSize() |
InventoryType |
getType() |
void |
remove(int slot) |
void |
set(int slot,
ItemStack item) |
createInventory, getBackItem, getCloseItem
public SpigotInventory(org.bukkit.inventory.Inventory inv)
public SpigotInventory(String inventoryName, int size, NegativityHolder holder)
public String getInventoryName()
getInventoryName
in class Inventory
public @Nullable PlatformHolder getHolder()
public Object getDefault()
public InventoryType getType()