Help with cooldowns

Started by saltmemes on

Topic category: Help with modding (Java Edition)

Last seen on 02:31, 4. Jan 2022
Joined Dec 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Help with cooldowns
Tue, 12/28/2021 - 08:20 (edited)

Im trying to make a sword that heals you on use and its working perfectly (as well as the cooldown) but when i right-click other items they also get a cooldown

Edited by saltmemes on Tue, 12/28/2021 - 08:20
Last seen on 09:42, 5. Sep 2023
Joined May 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
When making a procedure…
Tue, 12/28/2021 - 09:43

When making a procedure. Type "cooldown" in the search at the top. 

Last seen on 02:31, 4. Jan 2022
Joined Dec 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I have already made this It…
Tue, 12/28/2021 - 10:10

I have already made this

It functions perfectly except that any other item (ex. raw chicken) also have a cooldown now

Last seen on 02:31, 4. Jan 2022
Joined Dec 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
seems that i cant actually…
Tue, 12/28/2021 - 10:11

seems that i cant actually upload images from pasting/files so here it isimage

Last seen on 02:31, 4. Jan 2022
Joined Dec 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
apparently the effects also…
Tue, 12/28/2021 - 10:15

apparently the effects also work on every single item, and everything now does what the sword was intended to do

Last seen on 02:31, 4. Jan 2022
Joined Dec 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
wait no, they only apply to…
Tue, 12/28/2021 - 10:17

wait no, they only apply to items that can be actually used with right-click e.g. food

Last seen on 02:31, 4. Jan 2022
Joined Dec 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
OH GOD I FIXED IT, I JUST…
Tue, 12/28/2021 - 10:41

OH GOD I FIXED IT, I JUST HAD TO GET RID OF THE GLOBAL TRIGGER

Last seen on 09:42, 5. Sep 2023
Joined May 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You need to put the…
Tue, 12/28/2021 - 10:45

You need to put the procedure in the item settings/triggers. Not in the "when player uses item". That would be for any item. Click your item and look for triggers at the bottom. Try placing it in the "When entity swings item".

Chew