How to remove exactly one item from mainhand

Started by Sasya14 on

Topic category: Help with Minecraft modding (Java Edition)

Active 2 years ago
Joined Feb 2021
Points:
604

User statistics:

  • Modifications: 0
  • Forum topics: 3
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 12
How to remove exactly one item from mainhand

Sorry if this has been already asked but all the methods I have found so far can only remove from the whole inventory or remove the entire stack from the mainhand. I have spent ages looking and couldn't find anything.

Active 2 years ago
Joined Feb 2021
Points:
604

User statistics:

  • Modifications: 0
  • Forum topics: 3
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 12
Thank you so much  
Tue, 06/14/2022 - 19:09

Thank you so much

 

Active 3 weeks ago
Joined Aug 2025
Points:
4

User statistics:

  • Modifications: 0
  • Forum topics: 0
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 1
Thanks a lot!!!
Fri, 08/15/2025 - 16:36

Thanks a lot!!!