Posted May 31, 20187 yr Im making a 1.12.2 mod but i have 1 problem I don’t know how to make a crafting table block. I will also need to custom gui with multiple slots. pls help me
May 31, 20187 yr I have a tutorial for blocks with GUIs here: http://jabelarminecraft.blogspot.com/p/minecraft-modding-blocks-with-guis.html A crafting block has instaneous processing (opposed to something like a furnace that takes time), so you should look specifically at the link to "Block with immediate GUI result" link near the bottom of that page. Note that the tutorial was created for 1.8. I will look at updating it but all the principles should be the same, although there might be some small differences in some method names. I have another similar example with source code for 1.12.2 here: Block class: https://github.com/jabelar/ExampleMod-1.12/blob/master/src/main/java/com/blogspot/jabelarminecraft/examplemod/blocks/BlockCompactor.java Container class: https://github.com/jabelar/ExampleMod-1.12/blob/master/src/main/java/com/blogspot/jabelarminecraft/examplemod/containers/ContainerCompactor.java TileEntity class: https://github.com/jabelar/ExampleMod-1.12/blob/master/src/main/java/com/blogspot/jabelarminecraft/examplemod/tileentities/TileEntityCompactor.java Edited May 31, 20187 yr by jabelar Check out my tutorials here: http://jabelarminecraft.blogspot.com/
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.