Posted May 2, 201411 yr Hi, I am working on my own forge mod and i don't know how to make a Block with 'funktions'(I didn't know how to say it better because my english is not so good). I mean Blocks Like the crafting table or the Enchantment table. I wantet to make a Block with a 6x6 crafting field It would be really nice if you can help me Ps.: sry for my bad english i'm only 14 years old and i'm from germany
May 2, 201411 yr You can look at the code for the BlockWorkbench (net.minecraft.block), and InventoryWorkbench (net.minecraft.inventory). You can learn how those work and learn from that code. if (user.hasKnowledgeOfJava) { if (user.question.hasCode) { return interpetHelpfulResponse(user.getQuestion()); } else { return "Could you post your code please?"; } } else { return "Learn some freaking Java!"; }
May 2, 201411 yr Blaueseichoern posted some great GUI tutorials a while back with a custom Crafting Table, Furnace, and even GUIs with tabs in them. It's a little outdated, but not by much. There ya go: http://www.minecraftforum.net/topic/1412300-147forgeblaueseichoerns-gui-tutorial/ Hope this helps.
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.