Custom GUI slots have no memory of what I put in them.

Started by s_crowe31 on

Topic category: Help with modding (Java Edition)

Last seen on 21:14, 11. Oct 2024
Joined Jan 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Custom GUI slots have no memory of what I put in them.

https://www.dropbox.com/scl/fi/m2m4yrg4b3j8wqe5tz95o/Screenshot-2024-10-11-170954.png?rlkey=poe68d5hgrtuwqo360xlpqv66&st=zcuie1q7&dl=0

That's my custom GUI, I'm trying to make each slot only accept items with the tag or variable accirding to the slot type, but firts things first, when I put items in the slots, close my inventory, they just get erased from existnec and arent there upon reopening. Please help! If you have the time also explain how I can set a slot to only receive items with the Gear variable or tag, thank you for your brain power!!!

Last seen on 21:23, 11. Oct 2024
Joined Dec 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
iirc GUIs have to be bound…
Fri, 10/11/2024 - 21:20

iirc GUIs have to be bound to not erase all items when closed

Last seen on 21:28, 11. Oct 2024
Joined Dec 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
This should make sure you…
Fri, 10/11/2024 - 21:28

This should make sure you can only place items that are tagged with "minecraft:logs" in the slot.