Add 2 types of ammo?

Started by IjustWonLIFE24 on Thu, 07/26/2018 - 20:15

Topic category: Advanced modding

Last seen on 14:33, 3. Nov 2018
Joined Jun 2018
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Add 2 types of ammo?
Thu, 07/26/2018 - 20:22 (edited)

I need help trying to figure out how to get a "Blow Gun" to be able to fire two different types of ammo. I have a normal dart and a poison dart and I want to know if, or how I can create a Ranged Item that can fire two different types of ammo. Not at the same time, but you could choose instead. And, if I can, how would I make it so that when it hits an entity, it gives them poison. I'm looking for any answer, so if it involves looking into the "CODE" section, I could. I have 3 years experience of java, just not so much in Minecraft java.

 

Thanks! 

-IjustWonLIFE24

Edited by IjustWonLIFE24 on Thu, 07/26/2018 - 20:22
Last seen on 19:16, 19. May 2019
Joined May 2019
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
I was also searching for…
Sat, 05/18/2019 - 19:02

I was also searching for something like this

Last seen on 10:41, 6. Oct 2019
Joined Nov 2018
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Just use an item, and make a…
Sat, 06/08/2019 - 13:50

Just use an item, and make a procedure to shoot an arrow from that item.

Then lock the code for that item and change the EntityArrow to Mcreator"(your ranged items name").entityArrowCustom. You can also change your bullet/darts damage and knockback from here. Since you've got some Java experience I will leave you here. That and I've got something to do so good luck!! I hope I helped a bit.