Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

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?

 

Thanks.

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

  • Author

Mostly I can figure out, but these with a lot of parameters are a little hard, depending of the context.

 

But well, isn't there a any? Everyone I see has this working, it's really annoying to see lot of Arg0, Arg1....  :-\

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.

Hi

 

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

http://mcp.ocean-labs.de/page.php?4

 

They have a tool you can use to browse mappings with

http://mcp.ocean-labs.de/news.php?item.13.1

 

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

http://mcpold.ocean-labs.de/index.php/MCPBot_Reborn

It is clunky but better than nothing.

 

-TGG

 

 

 

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...

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.