C# Class BlockFacingExtensions, Immersion

Show file Open project: copygirl/Immersion

Public Methods

Method Description
GetOpposite ( this facing ) : BlockFacing
IsValid ( this facing ) : bool
MoveRelative ( this facing, BlockPos, pos ) : BlockPos,
MoveRelative ( this facing, int &x, int &y, int &z ) : void
ToVector ( this facing ) : Vector3

Method Details

GetOpposite() public static method

public static GetOpposite ( this facing ) : BlockFacing
facing this
return BlockFacing

IsValid() public static method

public static IsValid ( this facing ) : bool
facing this
return bool

MoveRelative() public static method

public static MoveRelative ( this facing, BlockPos, pos ) : BlockPos,
facing this
pos BlockPos,
return BlockPos,

MoveRelative() public static method

public static MoveRelative ( this facing, int &x, int &y, int &z ) : void
facing this
x int
y int
z int
return void

ToVector() public static method

public static ToVector ( this facing ) : Vector3
facing this
return Vector3