mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-25 14:34:28 +00:00
extracting items from network via inventory panel GUI
This commit is contained in:
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;
|
||||
|
||||
Reference in new issue
Block a user