public interface Database
| Modifier and Type | Method and Description |
|---|---|
int |
findStackWithHash(java.lang.String hash)
Get an item stack with the specified hash stored in this database.
|
net.minecraft.item.ItemStack |
getStackInSlot(int slot)
Get an item stack stored in the specified slot of this database.
|
void |
setStackInSlot(int slot,
net.minecraft.item.ItemStack stack)
Set the contents of a slot in the database upgrade.
|
int |
size()
The number of slots in this database.
|
int size()
net.minecraft.item.ItemStack getStackInSlot(int slot)
slot - the slot of the item stack.void setStackInSlot(int slot,
net.minecraft.item.ItemStack stack)
slot - the slot to configure.stack - the stack to configure the slot to, null to clear.int findStackWithHash(java.lang.String hash)
hash - the hash of the item stack.