C# Class BlockExtensions, Immersion

Afficher le fichier Open project: copygirl/Immersion Class Usage Examples

Méthodes publiques

Méthode 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 méthode

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

Relative() public static méthode

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
Résultat IBlock