Gun mod idea help

Started by gugus_000 on Fri, 01/29/2016 - 20:55
Last seen on 21:54, 24. Feb 2016
Joined Jan 2016
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Gun mod idea help
Fri, 01/29/2016 - 21:03 (edited)

Hey guys,

So I'm trying to make a gun mod, where you can combine bullets in a crafting table and make a magazine. The only problem is that I have no idea how to make the magazine be used up slowly. Thanks for answering!

Edited by gugus_000 on Fri, 01/29/2016 - 21:03
Last seen on 14:11, 15. Aug 2018
Joined Aug 2013
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
  • wiki contributor
  • moderator
Try make in your magazine
Sun, 01/31/2016 - 09:57

Try make in your magazine item NBT integer called "Capacity" and another called "Ammo".
On craft your magazine with bullets add to the nbt "Ammo" same value as how much player used bullets. when you shot and your magazine "Ammo" is > 0 , decrease "Ammo" by 1

Last seen on 11:52, 3. Jun 2018
Joined Nov 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
You need to make a bullet and
Sun, 01/31/2016 - 12:54

You need to make a bullet and if the gun shoots, then "consume item from inventory".

G00D LUCK!

You'll need it...

Last seen on 03:56, 14. Aug 2016
Joined Sep 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
RE:You need to make a bullet and
Sun, 01/31/2016 - 13:09

He need combine its into a magazine

Last seen on 21:54, 24. Feb 2016
Joined Jan 2016
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
RE:Try make in your magazine
Sat, 02/06/2016 - 19:01

@#1 How exacly do you add an nbt integer?????

Last seen on 14:11, 15. Aug 2018
Joined Aug 2013
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
  • wiki contributor
  • moderator
RE:RE:Try make in your magazine
Sat, 02/06/2016 - 21:23

@#1.1