Jump to content

Recommended Posts

Posted

Hi guys, I just want to know how to make a lightning strike on the place you are looking when you right-click an item. Can you help me? Just tell me what I have to do. (Forge 1.7.2)

Posted

i dont know about the player ,for i haven't done much whit it but, you would go about doing it by a line of code similar to this.

EntityArrow entityarrow = new EntityArrow(par2World, par3EntityPlayer, f * 2.5F);

only

EntityLightningBolt el = new EntityLightningBolt(World par1World, double par2, double par4, double par6);

 

hope that helped

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.