Block GUI item insertion based on tags

Started by false_chicken on

Topic category: Help with MCreator software

Joined Dec 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Block GUI item insertion based on tags
Fri, 12/03/2021 - 21:44 (edited)

Hello. I am trying to create a storage GUI that will not allow the player to insert other copies of the same storage item in it. I notice that the slot has a property to allow only one type of block/item but I am looking for an exclude filter to block only specific items. In this case all these items share the same tag so filtering by tag would be ideal. Thanks!

EDIT: I know that I could remove the item after it is inserted and spawn it back into the players inventory but I would be afraid of destroying the contents of the storage of that item. Since I would assume that would create a new item and spawn it into the players inventory and thus would not be linked to the old storage of that item.

Edited by false_chicken on Fri, 12/03/2021 - 21:44