Jump to content

Recommended Posts

Posted

Hey there,

 

Would anyone happen to know where I could learn about how to make crafting tables which store items in the crafting grid? I'm attempting to make a 5*5 one of these, and have had a little bit of success, but plenty of bugs and issues.

 

Thanks in advance ;)

Posted

You could search around for creating containers with multiple slots, and then create a crafting matrix with a result, but as for direct tutorials, I have no idea.

If you read this, I'm hot.

Posted

You need:

- Block - table that opens Container/GuiContainer when clicked.

- TileEntity + IInventory - assigned to Block, stores Inventory (grid) and saves it to disk (read/write to NBT).

- Container - created when someone accesses inventory in TileEntity, represents your inventory (on both client and server).

- GuiContainer - displays a Container opened on client side.

- IGuiHanlder - handles guis/containers, used to open them on block click.

Additionally IMessage and SimpleNetworkWrapper for advanced gui updates.

 

That should give you head start (google stuff above). If you are looking for a copy-paste tutorial, have fun not learning anything :D

 

have had a little bit of success, but plenty of bugs and issues.

 

Show what you tried.

1.7.10 is no longer supported by forge, you are on your own.

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.