C# Class BlockExtensions, Immersion

Datei anzeigen Open project: copygirl/Immersion Class Usage Examples

Public Methods

Method Description
Neighbor ( this block, BlockFacing face ) : IBlock

Returns a neighboring block from the same IBlockStorage.

Relative ( this block, int x, int y, int z ) : IBlock

Returns another block from the same IBlockStorage relative to this block.

Method Details

Neighbor() public static method

Returns a neighboring block from the same IBlockStorage.
public static Neighbor ( this block, BlockFacing face ) : IBlock
block this
face BlockFacing
return IBlock

Relative() public static method

Returns another block from the same IBlockStorage relative to this block.
public static Relative ( this block, int x, int y, int z ) : IBlock
block this
x int
y int
z int
return IBlock