How to get an effect on key bind pressed when a certain item is in my inventory? (Waiting for reply)

Started by WoLfPlaysStuff on Sat, 08/06/2022 - 15:52

Topic category: Help with modding (Java Edition)

Last seen on 14:59, 10. Aug 2022
Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How to get an effect on key bind pressed when a certain item is in my inventory? (Waiting for reply)
Mon, 08/08/2022 - 14:41 (edited)

I'm trying to make a mod where when you have a certain item in your inventory, upon clicking the space bar you get levitation for a couple seconds and then fall back down, kinda like a double jump. I don't really know how to make this though... 

Edited by WoLfPlaysStuff on Mon, 08/08/2022 - 14:41