Skip to content

Instantly share code, notes, and snippets.

@fkaa
Forked from zombiepigcreeper/gist:1570397
Created January 6, 2012 12:34
Show Gist options
  • Save fkaa/1570398 to your computer and use it in GitHub Desktop.
Save fkaa/1570398 to your computer and use it in GitHub Desktop.
public boolean OnTickInGame(float f, Minecraft minecraft) {
if(ModLoader.getMinecraftInstance().gameSettings.thirdPersonView != 1)
{
if(ModLoader.getMinecraftInstance().thePlayer.inventory.armorItemInSlot(3).itemID == mod_sunglasses.isunglasses.shiftedIndex)
{
overlay(ModLoader.getMinecraftInstance(), "%blur%/Sunglasses/Ironoverlay.png");
}
}
return true;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment