Jump to content

[1.7.10] How do I create a gui-less crafting block?


H41V0R

Recommended Posts

Hey guys I'm working on a mod that includes decomposing items.

To use the block you have to add a hopper on top of it. You put items in the hopper and it disposes other items is a chest or hopper below

 

The thing is, I don't have any idea where to start. Thanks for reading through my topic.

Link to comment
Share on other sites

Since noone will be looking into, you don't need Container nor GuiContainer.

 

Only thing you need is a TileEntity and IInventory (implemented by that TE).

 

As I am not sure about 1.7 anymore (too ancient), you need to find methods responsible for receiving hopper transfers (I thin there were in IInventory) and use them to destroy stacks (simply consume them without saving them anywhere).

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

Link to comment
Share on other sites

This is pretty much all you need.  The associated block has no GUI and items go in/out based on TEs (note: the TE setup for it is weird) or by right-clicking.

 

http://reasonable-realism.wikia.com/wiki/Tanning_Rack

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

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.