Jump to content

Variable names none intuitive etc.


Recommended Posts

Hey guys, after taking a break from modding for a while, I returned to the scene, and I am currently operating on forge version 3.3.7

 

Perhaps it is my inexperience, but I have become confused with the variable name changing.

I will give an example.

 

Within block flower, the name of a function reads:

public boolean canPlaceBlockAt(World par1World, int par2, int par3, int par4)

 

Now can anybody tell me why this is better than:

 

public boolean canPlaceBlockAt(World World, int x, int y, int z)

 

Code is hard enough to read as it is, without none intuitive names of variables.

Link to comment
Share on other sites

Go complain to the mcp team to enable the mapings of parameter names.

Its setup to allow it but the database backend isnt setup.

So ya... just got to live with it.

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


×
×
  • Create New...

Important Information

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