Skip to content

Instantly share code, notes, and snippets.

@thislooksfun
Created January 4, 2015 02:01
Show Gist options
  • Save thislooksfun/f74ed701856f32a5710a to your computer and use it in GitHub Desktop.
Save thislooksfun/f74ed701856f32a5710a to your computer and use it in GitHub Desktop.
public void updateEntity()
{
if (this.worldObj.isRemote && this.getStackInSlot(0) != null) {
ItemStack slot1 = this.getStackInSlot(0);
if(Item.getIdFromItem(slot1.getItem()) == 351)
GUIinfoPane.renderSquare1(slot1.getItemDamage());
return;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment