I have created a mod that includes coffee and tea. I made a procedure to give back the mug when the tea/coffee has been finished. It is simply the event trigger block then the add 1 "item" to player inventory block. It was working for tea, but then I tried to add it to coffee and it didn't work. I made a separate one for coffee that has the same blocks, but now it's not working for coffee or tea.
MCreator issue tracker has been migrated to GitHub.
Existing tickets have been migrated to GitHub. Please open new tickets on the GitHub tracker instead. If you do not have a GitHub account, all feature requests and bug reports from forums are still considered and checked by the maintainers.