[SOLVED!] Remove item from main inventory only removes when exact amount is met

Started by ignDante on

Topic category: Help with Minecraft modding (Java Edition)

Joined Oct 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
[SOLVED!] Remove item from main inventory only removes when exact amount is met
Fri, 03/31/2023 - 15:26 (edited)

The part of the procedure I need help in: https://imgur.com/a/yAC9nlJ

I am trying to make it take only 20 diamond blocks in that case, when I hold exactly 20 blocks it works, but if I hold more than 21 it doesn't take any and acts like it did, any assistance?

Edited by ignDante on Fri, 03/31/2023 - 15:26
Joined Aug 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Do it for everynumber after…
Fri, 03/31/2023 - 11:21

Do it for everynumber after 20 up to 64, just make it give you back however many diamond blocks you had. Remember to make 40 & 60 also take them away.