Weapon mod

Started by MrFlomix on

Topic category: Help with Minecraft modding (Java Edition)

Active 2 years ago
Joined May 2022
Points:
366

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 0
Weapon mod

Good day, I'm making a weapon mod on version 1.12.2, I ran into such a problem - the weapon shoots normally and all that, but when reloading the weapon, 5 rounds are inserted into it, but even if I have 1 round in my inventory, the weapon is still shoots 5 rounds, how to solve it?

Active 2 years ago
Joined Mar 2021
Points:
659

User statistics:

  • Modifications: 0
  • Forum topics: 4
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 190
do you know how to use NBT…
Tue, 05/31/2022 - 15:35

do you know how to use NBT values for how much it holds or the reload can only reload 5 rounds and will otherwise fail