Jump to content

HOw do i make a Gui


_mac___

Recommended Posts

i know i should be able to do this but i am new to this, i really only know the basics but i am trying my best.

i want to create multiple things:

 

a bookshelf : (aka a chest that looks like a bookshelf)

and a bag : (a portable item, that when you click it, it will open a sort of chest like storage space)

 

i really hope someone can help me!

thanks in advance!

 

 

(btw i am new to this so i dont understand everything sorry)

Link to comment
Share on other sites

You need multiple things:

1. A Gui Handler that allows you to open Guis on Clientside and Containers server side

2. A TileEntity for your bookshelf (depends on how similar it should be to a chest maybe you can simply extend BlockChest) 

3. A capability attached to your itemstack that stores the inventory for your itemstack

4. A class that extends some Gui class

5. A class that extends some Container class 

This is a whole lot but should give you a basic overview of what you need to do. 

Edited by ArmamentHaki
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.



×
×
  • Create New...

Important Information

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