Gun reloading procedure 2024.2

Started by cricket919 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Oct 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Gun reloading procedure 2024.2

Does anybody know how to make a gun reloading procedure in mcreator 2024.2?

Joined Oct 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
If that's where it's empty…
Thu, 10/31/2024 - 15:43

If that's where it's empty and to reload. have a variable that goes down every time the gun is shot (provided it has ammo) and when at zero and either a certain key pressed make it set the variable back to the highest amount till reaching gun ammo max or no ammo in player's inventory anymore.