Simple add item to inventory procedure doesn't work

Started by crazester899 on

Topic category: Help with modding (Java Edition)

Last seen on 09:10, 18. Apr 2022
Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Simple add item to inventory procedure doesn't work

I made a procedure to an item when right clicked to remove the item from the inventory, give another 2 and say a phrase in chat to all players. Now this is very simple and it should work but ingame the item is removed but only 1 item is given and not the other. I have no idea why this is happening. It has no reason to happen. 

Last seen on 00:45, 16. Apr 2022
Joined Feb 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Do you have a screenshot?
Sun, 03/13/2022 - 19:04

Do you have a screenshot?

Last seen on 17:31, 12. Jul 2024
Joined Dec 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I have the same issue. There…
Sat, 02/03/2024 - 12:02

I have the same issue. There's no need for a screenshot. There are literally 2 instructions: Remove item from inventory and add item to inventory. No matter the trigger, when in survival mode, it removes the item, but doesn't add anything. And in creative mode is even worse, because sometimes it just adds back the same item. There are no conflicting procedures.