Jump to content

Recommended Posts

Posted

So I have played Hack / mine a lot and I'm making a mod which adds a lot of cool features to minecraft, One of the features being wands.

I have already created some wands;

Rocket Wand which shoots mobs in the air then they die of fall damage,

KnockBack Wand which knock backs the mobs away from the player,

Time Warping Wand which turns night into day in a slow fast forward way.

But I would like to create a Fire Bolt wand and an Ice bolt wand.

I need help on how I would go about making a Wand which creates the Fire Bolt / Ice Bolt Entity projectile, as I would really like to add these into my mod.

Please can anyone help me, or link me to a tutorial video which can help me on creating a Fire Bolt wand which when right clicked Shoots a Fire Bolt projectile and hurts the mob when hit.

Thanks I hope anyone could help me with this, you don't have to spoon feed me the code if you don't want to but could someone help me on figuring out how I would create the entityProjectileFireBolt and the fire bolt wand which spawns the fire bolt projectile into the world.

  • Moderators
Posted

Doesn't vanilla minecraft use a fire entity for both ghasts and that Fire charge when it's shot from a dispenser?

Couldn't the code you are looking for be found in vanilla MC?

Posted

True , I could you the fire ball and then change the texture and also take away the code of the explosion and fire around the entity but I would still like to know how to spawn the fire ball entity when I right click with the Fire Bolt wand. its about the public Itemstack onItemRightClick but I would like to know how to make it spawn in the world then shoot through the air :D

Posted

True , I could you the fire ball and then change the texture and also take away the code of the explosion and fire around the entity but I would still like to know how to spawn the fire ball entity when I right click with the Fire Bolt wand. its about the public Itemstack onItemRightClick but I would like to know how to make it spawn in the world then shoot through the air :D

look at the code for the ghast fireball. He wasn't saying just make the wand fling a ghast fireball, he was saying you can find the code for this in Vanilla MC.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  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.

×
×
  • Create New...