I can't remove the item from the inventory

Started by playextreme on

Topic category: Help with modding (Java Edition)

Last seen on 10:55, 9. Jul 2023
Joined May 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I can't remove the item from the inventory

I created a Lootbox, which could be opened using a key 

I wanted that when I opened the box, the key and the box would disappear from my inventory, however, only the key will disappear, and the box will be replaced in the same slot.

Can anyone help me with this?