I'm currently trying to make a container that will only accept two items as valid items which can be put into the container, but I'm a little confused at how to make it correctly work. I've successfully made it so shift-clicking the items into the container will only accept the two items, however I don't know how to implement it for the drag and drop options (picking up item from inventory and placing it manually into the container). One old post I found here suggested making a helper class which you could call to check if the item was valid, however it didn't explain how to implement it actually being put into the container and removed from the players inventory. If anyone could help me out here that would be great.