You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is also another error on this very same page, in the TestContainer code snippet. In the transferStackInSlot method, there are several return null; statements, which should be return ItemStack.EMPTY;.
https://wiki.mcjty.eu/modding/index.php?title=GUI-1.12
In the TestContainerBlock class, the onBlockActivated method doesn't(or no longer?) need the parameter ItemStack heldItem .
Edit: After looking some more, the wiki is also missing the entire drawScreen method.
The code in the repo has the correct version.
The text was updated successfully, but these errors were encountered: