Started by
Cayman20
on
Topic category: Help with Minecraft modding (Java Edition)
Hello! I have a problem.
I made a "Ranged Item" and checked the box that says "Shoot Constantly".
The question is: where in the code does the firing rate value appear? (with procedures I can't modify that) So I want to change it from the code to make the gun fire faster but I don't know how to find this value.
I'm using MCreator 1.12.2 and I know that everything can be changed by code, but I don't know how to find the value I'm looking for to modify it.
Thanks in advance!
Edited by Cayman20 on Tue, 02/08/2022 - 09:13
It's probably tied to the tps.
Hello, sorry for the delay, I was a few days without using the computer.
I looked at the code of the weapon and searched for the word "Tick" but to no avail, I saw some variables indicating the power, the knockback and others, but the rate of fire I still do not find it.