Posted February 22, 20178 yr I am just wondering if we need a container class for a gui since we can mc.getRenderItem().renderItemAndEffectIntoGUI(new ItemStack(ModItems.copperSwordTutorial), centerX, centerY); if yes why? and does a gui container have to extend a block or another class can extend to it that is extended to block
February 22, 20178 yr Author 4 minutes ago, diesieben07 said: A Container manages the connection between client and server when in an item Gui. It manages your interaction with the inventory and resolves conflicts if two people click the same thing at the same time, things like that. GuiContainer is just a GuiScreen with a Container attached that manages all the slot drawing for you. So with gui container, there is no need for container?(with the use of block with a tile entity that has item handler capability?)
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.