Skip to content

Explicitely document methods as to whether they deal with chunk or block coordinates. #17

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 3 commits into from

Conversation

cybertiger
Copy link
Contributor

Some methods in World and Chunk are confusing as to whether they deal in terms of chunks or blocks, this should be documented.

@SagaciousZed
Copy link
Contributor

This is more descriptive and a step in the right direction, but the changes need to be grammatically correct. You should also incorporate the note into the description.

@cybertiger
Copy link
Contributor Author

The notes are only in the descriptions (though they could do with a

tag so they are in a separate line).

The changes are grammatically correct, if a little jarring. In the context of Minecraft blocks and chunks are valid units. I'd welcome some less negative criticism with actual suggestions on how to improve it.

@cybertiger
Copy link
Contributor Author

Parhaps you can answer this one for me.

Javadoc's short description is split out by finding the end of the first sentence, why in the javadoc are there a whole load of missing periods at the end of the first sentence. Also why do you use <p /> instead of <p>. Oracle's Javadocs notes state you you should <p> here: http://www.oracle.com/technetwork/java/javase/documentation/index-137868.html#format

@SagaciousZed
Copy link
Contributor

Missing periods is only one of the many reasons that the JavaDoc are in need of improvement. As for the convention that we currently use, it is merely the status quo ante. That having been said, under the html specification, the use of the self closing paragraph tag makes no sense. It makes sense to revisit the issue.

EDIT: we will now use the proper html syntax when denoting paragraphs. In html 4.01 the closing tag is optional and we are keeping it at such.

* @param x X-coordinate of the chunk
* @param z Z-coordinate of the chunk
* @param x X-coordinate in chunks of the chunk
* @param z Z-coordinate in chunks of the chunk
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

chunks of the chunk??

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeh, I know, I hate it too, please, suggest a better alternative, which conveys the unit and doesn't make me want to blow chunks. I guess "?-Coordinate in chunks, of the chunk" is a slight improvement, I still hate it.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

....in unit of chunks....

@Wolvereness
Copy link
Contributor

This is going to need to be rebased for all of the <p> tag changes.

@cybertiger
Copy link
Contributor Author

sure, no issues rebasing and squashing as/when necessary.

@SagaciousZed
Copy link
Contributor

Do you plan on updating this @cybertiger ?

@cybertiger
Copy link
Contributor Author

Not a productive use of my time, sorry, I'll close it.

@cybertiger cybertiger closed this Apr 19, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants