How can I make an item that takes time before using a trigger?

Started by liarbag on

Topic category: Help with modding (Java Edition)

Last seen on 04:04, 16. Oct 2024
Joined Oct 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How can I make an item that takes time before using a trigger?

Is it possible to make an item that requires right click to be held for, let's say, 30 ticks before it sends the 'right clicked item' trigger? I want the same kind of functionality as a food but I just don't want it to make the chewing sound. So I guess there could be a few ways to solve this, I'm just not sure how to do any of them. My model would be the crossbow where it takes a sec to load up before converting into the loaded version. Is this possible?

Thanks!

 

Last seen on 04:04, 16. Oct 2024
Joined Oct 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Never mind. Found the…
Wed, 10/16/2024 - 04:06

Never mind. Found the cooldown block