Gun mod idea help

Started by gugus_000 on

Topic category: Help with modding (Java Edition)

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

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
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 17:17, 10. Jan 2024
Joined Aug 2013
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
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
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
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
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
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
Points:

User statistics:

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

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

Last seen on 17:17, 10. Jan 2024
Joined Aug 2013
Points:

User statistics:

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

@#1.1