Jump to content

Gui Assets


Caseofgames

Recommended Posts

11 hours ago, Caseofgames said:

I mean like how do you make minecraft like guis, like your inventory?

You just draw them, and then they are referenced from your gui code. You will need a Container, GuiContainer, GuiHandler, and I suppose a Block & TileEntity or maybe an ItemStack Capability depending on if you have a block or item providing the inventory.

If you use a Block & TileEntity, the TileEntity needs to be registered, GuiHandlers need to be registered in the NetworkRegistry.

Link to comment
Share on other sites

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.