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:
@@ -75,7 +75,13 @@ public class Tree extends MaterialData {
|
||||
/**
|
||||
* Get direction of the log
|
||||
*
|
||||
* @return BlockFace.TOP for upright (default), BlockFace.NORTH (east-west), BlockFace.WEST (north-sout), BlockFace.SELF (directionless)
|
||||
* @return one of:
|
||||
* <ul>
|
||||
* <li>BlockFace.TOP for upright (default)
|
||||
* <li>BlockFace.NORTH (east-west)
|
||||
* <li>BlockFace.WEST (north-south)
|
||||
* <li>BlockFace.SELF (directionless)
|
||||
* </ul>
|
||||
*/
|
||||
public BlockFace getDirection() {
|
||||
switch ((getData() >> 2) & 0x3) {
|
||||
|
||||
Reference in New Issue
Block a user