Jump to content

Help with custom GUI's and Tile Entities [SOLVED]


Vitro Static

Recommended Posts

Okay so I haven't done any coding since 1.2.5, that was with modloader and now I am trying forge, and I am trying to read through and watch tutorials to learn everything I am needing to learn but I have a problem:

 

Every tutorial I watch on anything advanced, or any tutorial I read, just shows me how to make what they are making, no explination. Its always "follow this right here, put this here, add these here" I have never found one that actually steps me through explaining "this number here determines this" or "this line makes this happen" so I was just wondering if anyone knew a really good and in-depth tutorial that they would recommend for making a GUI/Tile entities (more specifically, I was wanting to make a crafting table of sorts for my mod, it would function like a crafting table with a custom GUI and custom recipes specifically to it)

Link to comment
Share on other sites

Custom recipe stuff is pretty advanced, as you have to do matching of multiple items (in a specific placement!) to a single output.

 

I suggest starting off (especially considering you haven't been modding for both a long time, or with Forge at all) with simple blocks and items.  They aren't exactly trivial to create properly right now.

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

For a crafting table, you don't need a tile entity, as you do not need to save any information, rather just see if what you put in is valid...

But I don't know any good tutorials, I would recommend basically copying the vanilla class, tweak some things to see what they do, and search for where it gets the recipes, modify it so it gets your own list

Classes: 94

Lines of code: 12173

Other files: 206

Github repo: https://github.com/KokkieBeer/DeGeweldigeMod

Link to comment
Share on other sites

A place for pretty good tutorials is http://modwiki.temporal-reality.com/mw/index.php/Main_Page, it could be really helpful to get you started. It gives a basic tutorial on how to make a basic tile entity and one that holds inventory with a GUI. You could change around where the slots are placed and make it work like a crafting table if you wanted.

My IGN is TheUnderTaker11, but when I tried to sign up for this site it would not send the email... So yea now I have to use this account.

Link to comment
Share on other sites

CoolAlias's tutorial has some pretty decent commentary:

 

https://github.com/coolAlias/Forge_Tutorials/blob/master/InventoryItemTutorial.java

 

Bedrock Miner is usually good at explaining stuff, too:

 

https://bedrockminer.jimdo.com/modding-tutorials/#advanced

 

Both of those are for 1.8.9 or earlier. Shadowfacts tutorials are usually good at explaining this as well and are for 1.10 and later:

 

https://shadowfacts.net/tutorials/forge-modding-1102/

Link to comment
Share on other sites

CoolAlias's tutorial has some pretty decent commentary:

 

https://github.com/coolAlias/Forge_Tutorials/blob/master/InventoryItemTutorial.java

 

Bedrock Miner is usually good at explaining stuff, too:

 

https://bedrockminer.jimdo.com/modding-tutorials/#advanced

 

Both of those are for 1.8.9 or earlier. Shadowfacts tutorials are usually good at explaining this as well and are for 1.10 and later:

 

https://shadowfacts.net/tutorials/forge-modding-1102/

 

Thanks, you guys are awesome! Man the modding support community back in 1.2.5 was dead compared to you guys!

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.