I can't remove the item from the inventory

Started by playextreme on

Topic category: Help with Minecraft modding (Java Edition)

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?