Posts 1–4 of 4 · Page 1 of 1
Soup counter
Code:
int soop = 0;
for(ItemStack e : mc.thePlayer.inventory.mainInventory) {
if(e == null) {
continue;
} else {
if(e.getItem() instanceof ItemSoup) {
soop += e.stackSize;
}
}
}
this.mc.fontRenderer.drawString("Soop:" + soop, 10, 10, 0xffffff, true);

Originally Posted by
godshawk
Code:
int soop = 0;
for(ItemStack e : mc.thePlayer.inventory.mainInventory) {
if(e == null) {
continue;
} else {
if(e.getItem() instanceof ItemSoup) {
soop += e.stackSize;
}
}
}
this.mc.fontRenderer.drawString("Soop:" + soop, 10, 10, 0xffffff, true);
Totally belongs in GuiIngame lulz

Originally Posted by
zrbteam
Totally belongs in GuiIngame lulz
Well, that's where I threw it together to test it... :3

Originally Posted by
godshawk
Well, that's where I threw it together to test it... :3
You do realize It keeps add more than enough soup for you :/
Posts 1–4 of 4 · Page 1 of 1
This thread is closed for replies.