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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user