Shoot Arrow Event Problems

Started by DutchTristan on

Topic category: Help with Minecraft modding (Java Edition)

Joined Apr 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Shoot Arrow Event Problems

Hey everyone!!!

 

I have a little problem with the Shoot Arrow Event... I am trying to make a Harry Potter Mod using commands to do the spells. I have Avada Kadavra (The killing curse), And I try to Shoot an arrow with power 100. I just have the problem that when it shoots the arrow, after it shoots like 1 block, and then it disapears. If you know how to fix this problem, please react to this topic. If you know a better alternative to the Avada Kadavra curse than an arrow, Also please let me know... I'd love to know.

 

Thanks alot!!!

Joined Jul 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
This is so coincidental! I
Tue, 03/07/2017 - 00:26

This is so coincidental! I also am working on Harry Potter mod.  As for the Arrow problem I am not too sure since my projectiles are all custom coded.  But, it could be lag, try to look in gun code for how it shoots the arrow.  Also, try reducing the number and see if it works.  If not it could be a bug. 

Joined Dec 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
The reason the arrow
Tue, 03/07/2017 - 00:45

The reason the arrow "disapears" is because it is going forward at power 100. The power level also controls how far and fast it goes. For example, power 0.5 would pretty much fall down 2 blocks in front of you, while power 100 is gone the moment you shoot it.

Joined Apr 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
RE:The reason the arrow
Tue, 03/07/2017 - 08:05

@#2 So what do I do?? How do I make sure that the arrow does so much damage that it's a instant kill, and flies far enough?

Joined Dec 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
RE:RE:The reason the arrow
Tue, 03/07/2017 - 20:49

@#2.1 Without codeing you could make a gun element and change the bullet damage to be very high. Rather then using summon arrow event. That way you could have custom models and even animated textures for your spells.

Joined Apr 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
RE:RE:RE:The reason the arrow
Wed, 03/08/2017 - 14:28

@#2.1.1 But then I would need ammo, right?

 

Joined Dec 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
RE:RE:RE:RE:The reason the arrow
Wed, 03/08/2017 - 22:04

@#2.1.1.1 simple set the wand durability to 0 in code editor. Then in the elemant editor set the ammo to the gun itself. Than back in the code editor delete the method that removes the ammo (in this case the gun) from your inventory

Joined Apr 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
RE:RE:RE:RE:RE:The reason the arrow
Sun, 03/12/2017 - 08:50

@#2.1.1.1.1 uh... How?? I'm really bad at coding...