Jump to content

Recommended Posts

Posted

Basically the whole of Minecraft is open to you.  What is your goal?

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.

Posted

Well, basically know "everything" we have available to use. Let's say I want to make a block that has to check if other specific block is above it. (Or below, or close, and so on)

 

I'm almost sure there is some function to check for neighbors blocks. But instead of learning all that from Tutorials, where can I look at those... Or it's just by digging around the Minecraft code?

Posted

That's all vanilla.  When a block gets an update, it's given a world object and it's location. 

world.getBlock(x, y+1, z);//block above

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.

Posted

I think I should have done/ask this time time ago.

 

Is there a place where I can get information about all the functions that we have available and how to implement them?

 

Thanks.

 

Yes there is! It is a relatively new site called www.google.com. This site can answer almost any question you put into it!

Posted

Unfortunately, as you've probably already discovered, the documentation for Forge is a bit patchy and of "highly variable" quality.

 

There are a number of tutorial sites around which help.  The Tutorials section on this board has some good ones.

 

You might also find this one useful :)

http://greyminecraftcoder.blogspot.com.au/p/list-of-topics.html

and the accompanying sample project

https://github.com/TheGreyGhost/MinecraftByExample

 

But most of the time it comes down to trial and error, reverse-engineering the vanilla code, and good debugging skills...

 

-TGG

 

Posted

Unfortunately, as you've probably already discovered, the documentation for Forge is a bit patchy and of "highly variable" quality.

 

Because it's a right pain in the arse to update them.

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.

Posted

There are javadocs available for Forge at files.minecraftforge.net, that should give you enough information.

 

Yes thanks Charsmud, I found the Java docs and it helps a lot, at least to know everything there is available to use (Or most I guess)

 

Unfortunately, as you've probably already discovered, the documentation for Forge is a bit patchy and of "highly variable" quality.

 

There are a number of tutorial sites around which help.  The Tutorials section on this board has some good ones.

 

You might also find this one useful :)

http://greyminecraftcoder.blogspot.com.au/p/list-of-topics.html

and the accompanying sample project

https://github.com/TheGreyGhost/MinecraftByExample

 

But most of the time it comes down to trial and error, reverse-engineering the vanilla code, and good debugging skills...

 

-TGG

 

Thanks TheGreyGhost. Yes, I saw some of the tutorials are really helpful, and yes trial and error or finding a tutorial that explain exactly what we are looking for are the best alternatives apparently.

 

I have done easy things mostly when doing a mod, but I'm trying to learn more to go forward more advanced stuff.

 

Thanks for all the answers ;)

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.