Bullet has cooldown instead of gun

Started by BryAstro on

Topic category: Help with Minecraft modding (Java Edition)

Joined Mar 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Bullet has cooldown instead of gun

2023.4 (1.20.1 Forge)

When I fire my custom weapon, it is the shells that have the cooldown, not the gun.

https://imgur.com/a/sFM2dEc Procedure

Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Just change 'provided…
Sat, 01/27/2024 - 12:51

Just change 'provided itemstack' to 'item in main hand of entity.' If you want to be extra thorough, you can check if the main hand or the off hand contain your projectile weapon, and cooldown one or both of them.