mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-28 07:20:24 +01:00
Changed BlockFace to match enum standards
By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
parent
7669ccd206
commit
965b8731e1
1 changed files with 11 additions and 11 deletions
|
@ -4,17 +4,17 @@ package org.bukkit;
|
|||
* Represents the face of a block
|
||||
*/
|
||||
public enum BlockFace {
|
||||
North(-1, 0, 0),
|
||||
East(0, 0, -1),
|
||||
South(1, 0, 0),
|
||||
West(0, 0, 1),
|
||||
Up(0, 1, 0),
|
||||
Down(0, -1, 0),
|
||||
NorthEast(North, East),
|
||||
NorthWest(North, West),
|
||||
SouthEast(South, East),
|
||||
SouthWest(South, West),
|
||||
Self(0, 0, 0);
|
||||
NORTH(-1, 0, 0),
|
||||
EAST(0, 0, -1),
|
||||
SOUTH(1, 0, 0),
|
||||
WEST(0, 0, 1),
|
||||
UP(0, 1, 0),
|
||||
DOWN(0, -1, 0),
|
||||
NORTH_EAST(NORTH, EAST),
|
||||
NORTH_WEST(NORTH, WEST),
|
||||
SOUTH_EAST(SOUTH, EAST),
|
||||
SOUTH_WEST(SOUTH, WEST),
|
||||
SELF(0, 0, 0);
|
||||
|
||||
private final int modX;
|
||||
private final int modY;
|
||||
|
|
Loading…
Reference in a new issue