YATS/Forge Documentation
 All Classes Namespaces Files Functions Variables Enumerator Pages
net.minecraft.util.EnumFacing Enum Reference

Public Member Functions

int getFrontOffsetX ()
 
int getFrontOffsetY ()
 
int getFrontOffsetZ ()
 

Static Public Member Functions

static EnumFacing getFront (int par0)
 
 [static initializer]
 

Public Attributes

 DOWN =(0, 1, 0, -1, 0)
 
 UP =(1, 0, 0, 1, 0)
 
 NORTH =(2, 3, 0, 0, -1)
 
 SOUTH =(3, 2, 0, 0, 1)
 
 EAST =(4, 5, -1, 0, 0)
 
 WEST =(5, 4, 1, 0, 0)
 

Member Function Documentation

net.minecraft.util.EnumFacing.[static initializer] ( )
static
static EnumFacing net.minecraft.util.EnumFacing.getFront ( int  par0)
static

Returns the facing that represents the block in front of it.

int net.minecraft.util.EnumFacing.getFrontOffsetX ( )

Returns a offset that addresses the block in front of this facing.

int net.minecraft.util.EnumFacing.getFrontOffsetY ( )
int net.minecraft.util.EnumFacing.getFrontOffsetZ ( )

Returns a offset that addresses the block in front of this facing.

Member Data Documentation

net.minecraft.util.EnumFacing.DOWN =(0, 1, 0, -1, 0)
net.minecraft.util.EnumFacing.EAST =(4, 5, -1, 0, 0)
net.minecraft.util.EnumFacing.NORTH =(2, 3, 0, 0, -1)
net.minecraft.util.EnumFacing.SOUTH =(3, 2, 0, 0, 1)
net.minecraft.util.EnumFacing.UP =(1, 0, 0, 1, 0)
net.minecraft.util.EnumFacing.WEST =(5, 4, 1, 0, 0)

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