@@ -63,31 +63,14 @@ public static boolean isWallSign(Material type) {
6363 return Tag .WALL_SIGNS .isTagged (type );
6464 }
6565
66- /**
67- * Get the back of the sign, the block that it is attached to.
68- *
69- * @param sign treated as sign post if it is such, or else assumed to be a wall sign (i.e.,
70- * if you ask about a stone block, it's considered a wall
71- * sign).
72- * @return the direction a player would be facing when reading the sign; i.e. the face that is
73- * actually the back
74- * side of the sign.
75- * @deprecated confusing, should use getBack or getFront explicitly
76- */
77- @ Deprecated
78- public static BlockFace getFacing (Block sign ) {
79- return getBack (sign );
80- }
81-
8266 /**
8367 * Get the front face of the sign.
8468 *
8569 * @param sign treated as sign post if it is such, or else assumed to be a wall sign (i.e.,
8670 * if you ask about a stone block, it's considered a wall
8771 * sign).
8872 * @return the side of the sign containing the text (in other words, when a player places a new
89- * sign,
90- * while facing north, this will return south).
73+ * sign, while facing north, this will return south).
9174 */
9275 public static BlockFace getFront (Block sign ) {
9376 BlockData blockData = sign .getBlockData ();
@@ -112,9 +95,7 @@ public static Block getFrontBlock(Block sign) {
11295 * sign).
11396 * @return the blank side of the sign opposite the text. In the case of a wall sign,
11497 * the block in this direction is the block to which the sign is
115- * attached. This is also the direction a player would be facing when reading the sign; see
116- * {@link
117- * #getFacing(Block)}.
98+ * attached. This is also the direction a player would be facing when reading the sign.
11899 */
119100 public static BlockFace getBack (Block sign ) {
120101 return getFront (sign ).getOppositeFace ();
0 commit comments