Skip to content

Instantly share code, notes, and snippets.

@BlockAfterBlock
Created June 3, 2011 00:22
Show Gist options
  • Save BlockAfterBlock/1005630 to your computer and use it in GitHub Desktop.
Save BlockAfterBlock/1005630 to your computer and use it in GitHub Desktop.
public void onStruckByLightning(EntityLightningBolt entitylightningbolt)
{
setEntityDead();
ModLoader.getMinecraftInstance().thePlayer.triggerAchievement(mod_Family.LightingStrike);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment