public class SpongeInventory 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 |
---|
SpongeInventory(org.spongepowered.api.item.inventory.Container container) |
SpongeInventory(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 SpongeInventory(org.spongepowered.api.item.inventory.Container container)
public SpongeInventory(String inventoryName, int size, NegativityHolder holder)
public InventoryType getType()
public String getInventoryName()
getInventoryName
in class Inventory
public @Nullable PlatformHolder getHolder()
public Object getDefault()