MCPcopy Create free account
hub / github.com/Teneted/Tenet / setDirection

Method setDirection

src/main/java/org/bukkit/map/MapCursor.java:164–169  ·  view source on GitHub ↗

Set the direction of this cursor. @param direction The facing of the cursor, from 0 to 15.

(byte direction)

Source from the content-addressed store, hash-verified

162 * @param direction The facing of the cursor, from 0 to 15.
163 */
164 public void setDirection(byte direction) {
165 if (direction < 0 || direction > 15) {
166 throw new IllegalArgumentException("Direction must be in the range 0-15");
167 }
168 this.direction = direction;
169 }
170
171 /**
172 * Set the type of this cursor.

Callers 1

MapCursorMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected