How to make a simple gun reload?

Started by Cookie51 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Aug 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make a simple gun reload?

Hello, so im trying to make a mod with shotguns or just rifles and i wanna make it so if you run out of ammo or just press a button like "r" that it reloads.Of course for example for a semi-auto gun where you just need to test if a player has the bullet item in the inventory its easy but for a fully auto gun or something idk how to make it.I`ve been trying to make a realistic mod with guns for a very long time so if anyone knows a tutorial or could explain it to me I would be really happy.