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

Started by Necromancer14 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Dec 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
how to do a procedure that gets the item that was previously in your hand?

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.