Bukkit-API  1.7.9-R0.2
The inofficial Bukkit-API
org.bukkit.block.BlockFace Enum Reference

Public Member Functions

int getModX ()
 
int getModY ()
 
int getModZ ()
 
BlockFace getOppositeFace ()
 

Public Attributes

 NORTH =(0, 0, -1)
 
 EAST =(1, 0, 0)
 
 SOUTH =(0, 0, 1)
 
 WEST =(-1, 0, 0)
 
 UP =(0, 1, 0)
 
 DOWN =(0, -1, 0)
 
 NORTH_EAST =(NORTH, EAST)
 
 NORTH_WEST =(NORTH, WEST)
 
 SOUTH_EAST =(SOUTH, EAST)
 
 SOUTH_WEST =(SOUTH, WEST)
 
 WEST_NORTH_WEST =(WEST, NORTH_WEST)
 
 NORTH_NORTH_WEST =(NORTH, NORTH_WEST)
 
 NORTH_NORTH_EAST =(NORTH, NORTH_EAST)
 
 EAST_NORTH_EAST =(EAST, NORTH_EAST)
 
 EAST_SOUTH_EAST =(EAST, SOUTH_EAST)
 
 SOUTH_SOUTH_EAST =(SOUTH, SOUTH_EAST)
 
 SOUTH_SOUTH_WEST =(SOUTH, SOUTH_WEST)
 
 WEST_SOUTH_WEST =(WEST, SOUTH_WEST)
 
 SELF =(0, 0, 0)
 

Detailed Description

Represents the face of a block

Definition at line 6 of file BlockFace.java.

Member Function Documentation

int org.bukkit.block.BlockFace.getModX ( )

Get the amount of X-coordinates to modify to get the represented block

Returns
Amount of X-coordinates to modify

Definition at line 48 of file BlockFace.java.

48  {
49  return modX;
50  }
int org.bukkit.block.BlockFace.getModY ( )

Get the amount of Y-coordinates to modify to get the represented block

Returns
Amount of Y-coordinates to modify

Definition at line 57 of file BlockFace.java.

57  {
58  return modY;
59  }
int org.bukkit.block.BlockFace.getModZ ( )

Get the amount of Z-coordinates to modify to get the represented block

Returns
Amount of Z-coordinates to modify

Definition at line 66 of file BlockFace.java.

66  {
67  return modZ;
68  }

The documentation for this enum was generated from the following file: