Pulling all pending Bukkit-JavaDoc changes

A special thanks goes to @aerouk for almost all of the changes found here.

By: Wesley Wolfe <weswolf@aol.com>
This commit is contained in:
Bukkit/Spigot
2013-12-15 01:07:43 -05:00
parent 800679913f
commit bb50f1a774
310 changed files with 4218 additions and 2904 deletions

View File

@@ -90,11 +90,13 @@ public class Mushroom extends MaterialData {
}
/**
* Set a face of the block to be painted or not. Note that due to the nature of how the data is stored,
* setting a face painted or not is not guaranteed to leave the other faces unchanged.
* Set a face of the block to be painted or not. Note that due to the
* nature of how the data is stored, setting a face painted or not is not
* guaranteed to leave the other faces unchanged.
*
* @param face The face to paint or unpaint.
* @param painted True if you want to paint it, false if you want the pores to show.
* @param painted True if you want to paint it, false if you want the
* pores to show.
*/
public void setFacePainted(BlockFace face, boolean painted) {
if (painted == isFacePainted(face)) {
@@ -154,7 +156,8 @@ public class Mushroom extends MaterialData {
}
/**
* @return A set of all faces that are currently painted (an empty set if it is a stem)
* @return A set of all faces that are currently painted (an empty set if
* it is a stem)
*/
public Set<BlockFace> getPaintedFaces() {
EnumSet<BlockFace> faces = EnumSet.noneOf(BlockFace.class);