is there a way to retest a procedure.

Started by pottassination on

Topic category: Help with modding (Java Edition)

Last seen on 23:38, 6. Aug 2024
Joined May 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
is there a way to retest a procedure.
Fri, 07/26/2024 - 02:47 (edited)

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.

 

I got the attack speed issue fixed, if anyone's interested, I created an effect that changed the attack speed attribute whenever the player attacked that lasted just over the attack cooldown for the weapon.

 

Edited by pottassination on Fri, 07/26/2024 - 02:47
Last seen on 21:32, 15. Oct 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 23:38, 6. Aug 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