how to do a procedure that gets the item that was previously in your hand?

Started by Necromancer14 on Tue, 05/03/2022 - 17:43

Topic category: Help with modding (Java Edition)

Last seen on 20:06, 7. Jun 2022
Joined Dec 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
how to do a procedure that gets the item that was previously in your hand?
Tue, 05/03/2022 - 17:43

I know how to get the item that is in your main hand, but is there any way to do the one that was previously in your main hand? I want something to happen to the item the moment it is no longer in your main hand.