Posted September 2, 201411 yr https://github.com/caramba2654/Inventory-Rules Okay. I tried, but I just can't wrap my head around adding a GUI. I know that I have to add a block. Then add a Tile Entity to it. Then create a GUI for the block. Then connect those two with a container. I tried following Pahimar's Equivalent Exchange 3 source code (because I like his coding style), but I can't figure out what I'm doing wrong. I then tried looking for other tutorials, but they did little to help me. So I ask you: what did I do wrong? I got it almost right most of the times. I could place the block, but I couldn't move it with a piston, so it was a Tile Entity. I just couldn't open the GUI. So I think it's something in that part of the code. Well, I dunno. Right now when I right click the block it crashes, so I need to figure that out too. Well, I'll be glad if you pointed me what I did wrong and what I can do to fix it. Here are some links to the most important files that I probably screwed up: https://github.com/caramba2654/Inventory-Rules/blob/master/src/main/java/com/caramba2654/inventoryrules/block/BlockRuleCreator.java https://github.com/caramba2654/Inventory-Rules/blob/master/src/main/java/com/caramba2654/inventoryrules/tileentity/TileEntityRuleCreator.java https://github.com/caramba2654/Inventory-Rules/blob/master/src/main/java/com/caramba2654/inventoryrules/inventory/ContainerInventoryRules.java
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.