How to remove arrow shooting from your GUN!

Started by iXags on Tue, 08/11/2015 - 14:41
Last seen on 16:37, 27. Jun 2016
Joined Jun 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
How to remove arrow shooting from your GUN!
Wed, 08/12/2015 - 10:13 (edited)

If you wanted to make a weapon pack but when you make your gun, it shoots arrow..I can help you with that!

https://www.youtube.com/watch?v=Kqt4n9HiGZM

Reason why I made video..There are a lot of beginners so it's not problem to write a tutorial but it's too long and someone will make a mistake somewhere and then fail!
Thanks. :)

Edited by iXags on Wed, 08/12/2015 - 10:13
Last seen on 20:03, 24. Oct 2015
Joined Aug 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
You cant change it because
Wed, 08/12/2015 - 09:44

You cant change it because its working in progress they will be changing it soon, well i hope. To make it seem different maybe you should add an explosion when it hits the mob.

 

Last seen on 16:37, 27. Jun 2016
Joined Jun 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Yes I can, just need a little
Wed, 08/12/2015 - 10:11

Yes I can, just need a little bit editing on textures and arrows won't be able to see.

Last seen on 08:41, 28. Nov 2015
Joined Sep 2014
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
You can actually change the
Fri, 11/27/2015 - 13:15

You can actually change the entity the gun  shoots if you use "Veiw source"

Find this and replace with your own code:

EntityArrow entityarrow = new EntityArrow(par2World, par3EntityPlayer, f * 2.0F)
            {

                public void onCollideWithPlayer(EntityPlayer entity){
                    super.onCollideWithPlayer(entity);
                    int i = MathHelper.floor_double(this.getEntityBoundingBox().minX + 0.001D);
                    int j = MathHelper.floor_double(this.getEntityBoundingBox().minY + 0.001D);
                    int k = MathHelper.floor_double(this.getEntityBoundingBox().minZ + 0.001D);
                    World world = this.worldObj;

Last seen on 08:41, 28. Nov 2015
Joined Sep 2014
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Although i have not tested it
Fri, 11/27/2015 - 13:15

Although i have not tested it myself "it was mainly an assumption it may not actually work"

Last seen on 08:41, 28. Nov 2015
Joined Sep 2014
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
After some testing i can
Fri, 11/27/2015 - 13:25

After some testing i can confirm this does NOT work my bad sorry guys.