Gun mod idea help

Started by gugus_000 on

Topic category: Help with Minecraft modding (Java Edition)

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
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

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...

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

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?????

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 

Joined May 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I think you use the math…
Sat, 05/11/2024 - 19:28

I think you use the math blocks for the nbt