extracting items from network via inventory panel GUI

This commit is contained in:
Matthias Mann committed 2015-04-20 02:47:55 +02:00
1 parent b2684cd757
commit c28dc83c79
10 files changed
+242 -22

No files matched your search

@@ -275,10 +275,6 @@ public class InventoryDatabaseClient extends InventoryDatabase<InventoryDatabase
return filteredItems.get(index);
}
public ItemStack getItemStack(int index) {
return getItemEntry(index).makeItemStack();
}
@Override
protected ItemEntry createItemEntry(int dbId, int hash, int itemID, int meta, NBTTagCompound nbt) {
return new ItemEntry(dbId, hash, itemID, meta, nbt);
@@ -298,10 +294,6 @@ public class InventoryDatabaseClient extends InventoryDatabase<InventoryDatabase
return count;
}
public Item getItem() {
return Item.getItemById(itemID);
}
public ItemStack makeItemStack() {
ItemStack stack = new ItemStack(getItem(), count, meta);
stack.stackTagCompound = nbt;