Posted February 26, 201312 yr Hello! I was wondering if it was possible to make a GUI with no container(inventory). I've looked around for awhile, but all the tutorials are for chests, furnaces(with inventory).
February 26, 201312 yr only if you want to make a Gui screen. otherwise you cant add slots into your gui. and thats the wole point of a guiContainer http://www.minecraftforum.net/topic/1937703-162smpforge-pet-mastery-hatch-level-battle/
February 26, 201312 yr It is possible, you just implement a class extending GuiScreen and then show it (on a client-side) by FMLCommonHandler.instance().showGuiScreen(new YourGui()); . (As usual you have to use custom packets to synchronize stuff between client and server). here's working example: gui - https://github.com/mnn/jaffas/blob/master/src/minecraft/monnef/jaffas/food/client/GuiSpawnStone.java opening - https://github.com/mnn/jaffas/blob/master/src/minecraft/monnef/jaffas/food/client/ClientProxy.java#L69 mnn.getNativeLang() != English If I helped you please click on the "thank you" button.
February 27, 201312 yr Author How do you make packets? Ive seen the packet handling tutorial on the minecraft forge wiki page but idk how to use it
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.