How to add a kick cooldown for a mod item in MCreator 2020.2

Started by Dontbesilent12 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jan 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to add a kick cooldown for a mod item in MCreator 2020.2

Hello everyone I'm creating a map in minecraft on version 1.12.2. I needed to develop a mod for the map. I decided to use MCreator 2020.2. Well, I needed to create a mod for a bat that, when hit, imposes various effects on the player who was hit, which I have already added and done. And so I need to add a cooldown to a hit with this bat. I was thinking of using the Cooldown current item block for 200 ticks for provided. But as it turned out, provided is an entity in (my situation, the player) that did not hit, but which was hit. That is, the player will hit with the bat, but the cooldown will not be given to him, but to the player he hit. And I need to somehow replace it with provide, replace it with source, or something like that. Someone can suggest a specific plugin, or someone has other ideas on how to organize this cooldown, please write to me.

Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Aren't you able to just swap…
Mon, 08/11/2025 - 12:04

Aren't you able to just swap out the event/target entity procedure block in the cooldown procedure block for the source entity procedure block?

Joined Jan 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Maybe I'm stupid or blind,…
Mon, 08/11/2025 - 12:16

Maybe I'm stupid or blind, but I don't understand how to change it. Catnip