Changed BlockFace to match enum standards

By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
Bukkit/Spigot 2011-01-15 20:16:51 +00:00
parent 7669ccd206
commit 965b8731e1

View File

@ -4,17 +4,17 @@ package org.bukkit;
* Represents the face of a block * Represents the face of a block
*/ */
public enum BlockFace { public enum BlockFace {
North(-1, 0, 0), NORTH(-1, 0, 0),
East(0, 0, -1), EAST(0, 0, -1),
South(1, 0, 0), SOUTH(1, 0, 0),
West(0, 0, 1), WEST(0, 0, 1),
Up(0, 1, 0), UP(0, 1, 0),
Down(0, -1, 0), DOWN(0, -1, 0),
NorthEast(North, East), NORTH_EAST(NORTH, EAST),
NorthWest(North, West), NORTH_WEST(NORTH, WEST),
SouthEast(South, East), SOUTH_EAST(SOUTH, EAST),
SouthWest(South, West), SOUTH_WEST(SOUTH, WEST),
Self(0, 0, 0); SELF(0, 0, 0);
private final int modX; private final int modX;
private final int modY; private final int modY;