is there a way to retest a procedure.

Started by pottassination on

Topic category: Help with modding (Java Edition)

Last seen on 00:54, 25. Apr 2024
Joined May 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
is there a way to retest a procedure.

I'm trying to make a weapon with an attack speed that increases with each attack and gets its attack speed reset when it stops attacking (a set amount of time after its attack cooldown is over). however, it's attack speed is currently reset before the player has a chance of attacking again.

Last seen on 14:00, 24. Apr 2024
Joined Feb 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Can you show us a Screenshot…
Sat, 05/27/2023 - 17:43

Can you show us a Screenshot of your Procedure?

Last seen on 00:54, 25. Apr 2024
Joined May 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
the procedure that resets…
Sat, 05/27/2023 - 18:02

the procedure that resets the attack speed

package net.mcreator.goodderweapons.procedures;


public class FlailStopProcedure {
public static float execute() {
return 0.8f;
}
}

I have no idea where to start on the mechanic