Weapon mod

Started by MrFlomix on

Topic category: Help with Minecraft modding (Java Edition)

Joined May 2022
Points:

User statistics:

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

Joined Mar 2021
Points:

User statistics:

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