Jump to content

[1.7.10] Javadoc Issue


Recommended Posts

Well, I set up Forge 1.7.10 on Eclipse by yesterday, and so, most of methods are misunderstood, example:


public void onBlockAdded(World p_onBlockAdded_1_, int p_onBlockAdded_2_,
		int p_onBlockAdded_3_, int p_onBlockAdded_4_) 


Which means I need Javadoc, sure? Well, I downloaded from the site, put, but it still doesn't changes. Or is there another Javadoc folder I need to download? Or anything else to do after set a Javadoc directory?



Link to comment
Share on other sites

I don't see what the problem is. You can just change the names of the parameters. If the problems is that you can't tell what each parameter is supposed to be, it shouldn't be too hard to figure it out from the context, the parameters in the onBlockAdded method you provided are the world, x, y, and z coordinates.

Don't make mods if you don't know Java.

Check out my website: http://shadowfacts.net

Developer of many mods

Link to comment
Share on other sites

Almost none of the parameter names are converted to human-readable and left in SRG format.


It bugs me, but I can deal most of the time.

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



In case you didn't know - the reason the parameters have unhelpful names is because the source code has been automatically generated from the minecraft compiled code.  Helpful humans have renamed many of the classes and methods, but not all of them, because they tend to change every time a new version of minecraft comes out.


The project is MCP and its homepage is here



They have a tool you can use to browse mappings with



and also a chatbot which you can use to add new mappings yourself


It is clunky but better than nothing.






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.

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.