Removing a specific item from enderchest

Started by greyifer on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jan 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Removing a specific item from enderchest
Fri, 01/10/2025 - 17:14 (edited)

So basically I have a procedure here that is supposed to check every slot of the enderchest for this specific item, if there is then it deletes it.
Doesn't seem to work. I've tried a bunch of things and it just doesn't want to work. I could use some help ngl.

https://imgur.com/a/FWJkGYx

Edited by greyifer on Fri, 01/10/2025 - 17:14
Joined Mar 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
you can use "clear slot …
Fri, 01/10/2025 - 19:38

you can use "clear slot <number> of the current open GUI" instead of "remove 1 item...> and "get item from slot <number> of the current open GUI" instead of "get a copy of item from slot..."