Posted October 6, 201212 yr Hello! I am making a mod with a block that has a GUI(I've done this before) and the GUI opens but then fastly closes. Here is the relevant code: Block: https://github.com/zyngawow/NuclearCraft/blob/master/nuclearcraft/common/block/BlockSolarGenerator.java TileEntity: https://github.com/zyngawow/NuclearCraft/blob/master/nuclearcraft/common/tile/TileSolarGenerator.java IGuiHandler: https://github.com/zyngawow/NuclearCraft/blob/master/nuclearcraft/common/core/CommonProxy.java Gui: https://github.com/zyngawow/NuclearCraft/blob/master/nuclearcraft/client/gui/GuiSolarGenerator.java Container: https://github.com/zyngawow/NuclearCraft/blob/master/nuclearcraft/common/container/ContainerSolarGenerator.java Main mod file: https://github.com/zyngawow/NuclearCraft/blob/master/nuclearcraft/common/NuclearCraft.java Thank you for your help.
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.