Posted November 16, 201410 yr I have a GUI and I want it to render Blocks and Items on it. It doesn't matter if the render 3D or 2D
November 16, 201410 yr The GuiContainer class had a private method called drawItemStack(ItemStack,x,y,String) which you can copy and make a new method from and use that. Don't PM me with questions. They will be ignored! Make a thread on the appropriate board for support. 1.12 -> 1.13 primer by williewillus. 1.7.10 and older versions of Minecraft are no longer supported due to it's age! Update to the latest version for support. http://www.howoldisminecraft1710.today/
November 16, 201410 yr Author The GuiContainer class had a private method called drawItemStack(ItemStack,x,y,String) which you can copy and make a new method from and use that. Cool, it works thanks
November 16, 201410 yr Author The GuiContainer class had a private method called drawItemStack(ItemStack,x,y,String) which you can copy and make a new method from and use that. But what about rendering blocks?
November 16, 201410 yr You can put blocks in ItemStacks too. Just use Item.getItemFromBlock() and Block.getBlockFromItem
November 16, 201410 yr Author You can put blocks in ItemStacks too. Just use Item.getItemFromBlock() and Block.getBlockFromItem omg, that is so freakin cool! I always wondered what that method was for!
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.