Started by
BryAstro
on
Topic category: Help with Minecraft modding (Java Edition)
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
Topic category: Help with Minecraft modding (Java Edition)
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
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.